Two ESS Questions
in
Contributed Library Questions
•
2 years ago
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!
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!
1