Sound synthesis problem
I spent the last month packing and moving, but I'm now back online (at last!).
Why doesn't this code work?
Here's what works:
Here's what doesn't work:
I'm not sure how to fix this. The code seems to be working as intended. The flaw seems to be in how I'm using Flex/Flash's sound architecture -- that is, my tactics are correct, but my strategy's wrong.
Comments welcome. :-)
Why doesn't this code work?
Here's what works:
- Click either "Play" button; a note will sound, and the button's name will change to "Stop".
- Click the same button again to silence the note; the button's name will change back to "Play."
- Click the other "Play" button; a different note will sound (an octave higher than the first note); click it again to silence it.
Here's what doesn't work:
- Click on either "Play" button, sounding a first note.
- Click on the other "Play" button, sounding a second note while the first button is still sounding.
I'm not sure how to fix this. The code seems to be working as intended. The flaw seems to be in how I'm using Flex/Flash's sound architecture -- that is, my tactics are correct, but my strategy's wrong.
Comments welcome. :-)
Labels: Flash, Flex 4, SampleDataEvent


1 Comments:
Absolutely no problems on this end Jim, except for maybe a little unpleasantness in the octaves, maybe related to the high registers of both tones? They're both kind of annoying even on their own which could be due to some inharmonicity in the timbre, then explaining the octave dissonance, but why would the sounds you be using be inharmonic?
I'm not getting any more lag stopping the tones than starting them, and I'm on a terribly slow machine to start with xP
Good luck solving this!
John
Post a Comment
Links to this post:
Create a Link
<< Home