Loading...
Logo
Processing Forum
I am implementing a sound granulating program using the Ess audio library, and I have a couple of questions:

1. I would like to use an envelope or filter to modify just the output buffer without damaging the original file's audio array.

What is the best way to go about this?  Is it built in somewhere I'm not seeing it, or do I need a workaround?

2. It is very important that I free up AudioChannels as quickly as possible, so that the maximum number of sound grains can play at once.

However, it seems that about a second or so must pass after the audio actually stops before AudioChannel.state is set to STOPPED.

Any ideas for a workaround so that my program can be made aware of when the actual audio stops?

Thanks in advance!

Replies(1)

Re: Two ESS Questions

2 years ago
bump.
Any ideas on how to use Ess to add effects/envelopes to outgoing sound without damaging the channel itself?  This seems like the obvious way to implement effects.  It's almost unheard of to manipulate the original channel in place, and then send the new audio out, which makes me suspect there might be an easy way to do this with Ess, even though it is a somewhat old library.

Thanks!