Forums > MaxMSP

sfplay~ wont reverse.

Aug 19 2010 | 7:31 pm

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 | 11:28 pm

use buffer~ and play~

Aug 20 2010 | 8:21 am

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.


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP