I still cannot figure this out, and I apologize if this is covered somewhere -- it must be such a common question!
How does one specify operating directly on samples themselves?
I have a function I would like to *specify*, call it f(t). How to access the sound array values directly, and the time or sample number index?
All I see in the tutorials and documentation are various predefined APIs for various standard operations (many of which start with "snd-"), I have yet to find instructions on how to implement ideas apart from these functions. Is there not some way of doing, e.g...
(for i = 0 to [end of array]
snd = [whatever I want it to be]
end do)
...?
Thank in advance for your help!
P.S.- Having been on forum sites before, here is a quick FAQ for this post:
1. Q: Why are you trying to do this?
A: For lots of reasons. I have functions I would like to "hear"; I have DSP ideas I'd like to implement.
2. Q: What are you *really* trying to do?
A: Precisely what I said above. Specify a function of time directly, or operate on specific samples directly.
3. Q: You know this is going to be super-slow; this is why we wrote these APIs for optimized routines.
A: Yes but I cannot find the APIs to implement what I want, yet. Slow is better than nothing.
4. Q: Have you read this other forum post where this issue was addressed? (link)
A: No, but thank you, I will!
5. Q: What version of Audacity are you using, and what platform?
A: Audacity 2.0.4 for Mac.