Are you sure you can’t create a buffersize that you know will be bigger, and work backwards until you get the to last “real” sample?
And by the way, is that library freeware? Where can I get it? I’m looking for the tempo function in particular. Thanks for any help you can give me, and I hope the above answers your problem.
The pitch change function should return you the same number of samples as you input it (so changing pitch withouth changing length).
You can do the speed change yourself using FSOUND_SetFrequency instead of your functions (so this is changing pitch and affecting length).
If you want speed change withouth pitch change, just use FSOUND_SetFrequency and your pitch change function together :
If you make the sound 10% slower with FSOUND_SetFrequency, it will also sound 10% lower, so when you then apply your function on it to make it sound 10% higher, the result should be a sound that is 10% slower withouth the pitch being affected.
- Adion answered 15 years ago
Thank you for your idea , and I go to test it. I have thought to use FSOUND_Stream_Create and read the file from callback, but that is complex.
With regard to the library for changing pitch, tempo and speed; it’s very good, free and is available from [url:6zffjmjq]http://www.sunpoint.net/~oparviai/pacemaker/[/url:6zffjmjq]
- Fabian answered 15 years ago
Please login first to submit.