sfplay~ wont reverse.

Aug 19, 2010 at 7:31pm

sfplay~ wont reverse.

im making a sample/drum machine and a neccessity is start/end/pitch controls of the samples, among other things. and in the online reference of sfplay~, it says that a speed input of -1 will reverse the sample, and its not doing this. so im using the groove~ object to do this, which it does. but im not sure if its possible to use groove and have an end point control on it. so 2 questions arise.
1. why wont sfplay~ play the sample in reverse when theres a negative value for the pitch input.
2. is there a way to control a samples end point in groove~ without turning on looping.

Aug 19, 2010 at 10:51pm
Aug 19, 2010 at 11:28pm

use buffer~ and play~

Aug 20, 2010 at 8:21am

sfplay~ can play backwards when a negative speed is used. But you need to preload the file with the bidirectionnal-flag set. Check the preload message in sfplay~ ‘s documentation for more information.

But for this kind of project, I’d use buffer~ too.



You must be logged in to reply to this topic.