Administrator
|
This post was updated on .
Hello Lulu.
It is not possible to change the sample-rate while playing, even if you try with uos.pas, it will not work.
Of course you may change the sample-rate before play but once it is done it is not possible, you need a DSP method to do it.
SoundTouch is a DSP that does it very well.
If you dont want to use SoundTouch or a DSP, a possible workaround would be, when you want to change the rate, catch the position of the player1, stop it, create a other player2 of the same file, go to position of closed first player, change the rate and play that new player2 from that position.
And do a kind of "ping-pong" between those 2 players each time a change rate is needed.
But you can imagine that this could not perfectly be synchro between the 2 players.
Yes, I know, something that seems very easy with analogic sound is not so easy in digital samples.
Fre;D
|