Search found 17 matches

by gjn1w07
Fri Sep 23, 2011 3:08 pm
Forum: Talking LiveCode
Topic: Low Pass Filters
Replies: 2
Views: 2470

Re: Low Pass Filters

Thanks for the reply. I had a look at that, but I it doesn't look like it does what I need.

Thanks anyway!

Greg
by gjn1w07
Fri Sep 23, 2011 2:15 pm
Forum: Talking LiveCode
Topic: Low Pass Filters
Replies: 2
Views: 2470

Low Pass Filters

Hi there, I was wondering does anyone know if LiveCode has the capability to apply a low pass filter to a sound file? I had a look in the documentation and couldn't see anything. Also, if it can do that, can it do it quickly on the fly? Just to give a bit of context, I'm going to be playing a word, ...
by gjn1w07
Tue Mar 08, 2011 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Waiting while sound is playing
Replies: 2
Views: 2624

Re: Waiting while sound is playing

Awesome - that's exactly what I needed. Thank you so much. I was starting to get into overly complicated ways to do it, like having a player object to put the sounds into and then put in a wait command based on the duration of the player.

Greg
by gjn1w07
Tue Mar 08, 2011 5:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Waiting while sound is playing
Replies: 2
Views: 2624

Waiting while sound is playing

Hi there, I'm writing a program that plays an audioclip, then waits for 2 seconds, then plays another audioclip, waits another 2 seconds, then plays a final audioclip. The audioclips themselves vary from 1.5 to around 3ish seconds. However, at the moment the code looks something like this: play audi...
by gjn1w07
Sat Aug 14, 2010 6:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Arrays
Replies: 6
Views: 4370

Re: Arrays

You got it spot on! Thanks very very much for this. I've had a look at your code and compared it to what I had already. Not only have you given me exactly the code I needed, but I can now see where in my code things are slowing down. At least I think I can assuming that both "repeat for each" and "r...
by gjn1w07
Fri Aug 13, 2010 4:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Arrays
Replies: 6
Views: 4370

Re: Arrays

Oh thank you so much - that's exactly what I needed. It's going to take me a while to update my program to work in the way you suggest, but I think that will help a lot. You make it all sound so simple! I have a related question that should get me to the point where I can run the simulation and see ...
by gjn1w07
Fri Aug 13, 2010 11:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Arrays
Replies: 6
Views: 4370

Arrays

Hi all, I'm trying to write a program that simulates a theory of memory and I've run into some problems. Up till now I've been able to get by with repeat loops and if statements, but the magnitude of the data I'm dealing with means that one run of my simulation would take 70 hours or so, which is wa...
by gjn1w07
Mon Feb 16, 2009 3:31 pm
Forum: Talking LiveCode
Topic: Can't find handler error
Replies: 9
Views: 8136

Kinda sorted

Thanks for the generous offer! However I've solved it by changing how it was programmed now - instead of having a count that goes up one by one I've used a repeat until command and that seems to have solved it. I will keep your advice in mind for next time though - I'm always running new experiments...
by gjn1w07
Wed Feb 11, 2009 12:39 pm
Forum: Talking LiveCode
Topic: Can't find handler error
Replies: 9
Views: 8136

Okay, below is the full script for that card. It's probably a bit clumsy since I haven't done too many of these yet! A little explanation... getwords simply loads a list of 80 words into the local variable sStudyWords. On opening the card, it sets up the file save path, runs getwords and then random...
by gjn1w07
Tue Feb 10, 2009 11:22 am
Forum: Talking LiveCode
Topic: Can't find handler error
Replies: 9
Views: 8136

I'll post the full script tomorrow - I dont have access to it today!
by gjn1w07
Sun Feb 08, 2009 4:44 pm
Forum: Talking LiveCode
Topic: Can't find handler error
Replies: 9
Views: 8136

It's defined above the routine that calls it. I know the handler itself is working as the script calls it around 360 times before that point. When it tries to call it the 360th time it bugs.
by gjn1w07
Wed Feb 04, 2009 12:23 pm
Forum: Talking LiveCode
Topic: Can't find handler error
Replies: 9
Views: 8136

Can't find handler error

Hi there, I've written a script to help me with my psychology experiments. Basically it takes a list of words held in a CSV file, randomises the order of them and then displays each word on screen for a short time. When it gets to the end of the list, it re-randomises them and then does it all over ...
by gjn1w07
Thu Apr 03, 2008 11:16 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Blocking a key for most uses
Replies: 9
Views: 6026

Thanks for all that. I now see how this is working. Cheers all!
by gjn1w07
Wed Apr 02, 2008 11:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Blocking a key for most uses
Replies: 9
Views: 6026

That was a slightly different question, hence the seperate thread. That did answer my original question, which was just "how do I use the space bar in the code" This question is how do I for instance, have the "g" key ONLY put 1 into the variable tGPressed, and not pass the fact that it has been pre...
by gjn1w07
Wed Apr 02, 2008 9:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Blocking a key for most uses
Replies: 9
Views: 6026

Blocking a key for most uses

I'm writing an application where there are effectively two tasks going on. One task involves writing answers to questions in various boxes. At the same time another task involves listening to numbers being read out and pressing a key when 3 odd numbers are heard in a row. My question is can I block ...