Max 8 reverse effect ?

Cedric D's icon

Hi,
Is it possible to create a patch to listen recorded sounds in reverse effect ?
Thanks a lot

👽'tW∆s ∆lienz👽's icon

sure, you could try the groove~ object's helpfile, the message '-1' there shows how to interface it for reverse playback.

Cedric D's icon

Thanks, it looks nice !

Cedric D's icon

Ok, I understand, the groove object allows to play samples in reverse playback, but is it possible with audio files ?
Thanks a lot

Cedric D's icon

for exemple is it possible to listen a wav file in reverse effect ? I'm new to Max, I don't understand how to use grove and buffer objects...!
Thanks,
Regards

👽'tW∆s ∆lienz👽's icon

I'm new to Max, I don't understand how to use grove and buffer objects...!

ah, i understand, no worries then... in that case, i should point you first to the tutorials and docs:
https://docs.cycling74.com/max8
but if you want to get straight into sampling, no prob, just go to the MSP tutorials there, and check out sampling tutorial 1:
https://docs.cycling74.com/max8/tutorials/07_samplingchapter01

to summarize a bit: buffer~ is an object that allocates sample-memory for you, and if you want to play back files, you want to load the file into memory, and then use an object like groove~(or play~ or others) to play it back(there is also a simpler object called sfplay~, no buffer~ required, you could check out its helpfile, but seems reverse playback isn't the most straightforward for me to figure out there, haha... i don't use that object much).

to listen to a .wav file from the groove~ helpfile, you could just load the file into buffer~:
go into the helpfile, and edit it so that you simply add a message object attached to the buffer~ which reads, "replace"... when you click on that message to send it to buffer~, buffer~ will open up a file-dialog asking you which file to load into it. after that, because the groove~ object in that helpfile is named similarly to the buffer~ object, groove~ will be able to address the memory space that buffer~ is referring to, thus allowing it to read the samples in the file, and when you send groove~ the '-1' it will then play that file in reverse.

hope that makes sense and helps, if not, the tutorials linked above is the entry-point for most, but nowadays there are also youtube channels that can help, this dude's channel is one of the best:
https://www.youtube.com/user/dude837

Roman Thilenius's icon


no, you can not play files directly from disk reversed.

it would theoretically be possible to make a program doing that, but to my knowledge nobody ever did it.

playing it reversed after you loaded it into RAM (i.e. into the buffer~ object) is easy though, and there are different ways how to archive this.

one way is to use the index~ object, which is perfect if you dont need to change the pitch in addition.

backwards


slo ~|•'s icon

Or you can drag an audio file from the left toolbar "Audio" list, or directly from your desktop into an unlocked patcher. This will create a playlist~ object with your sound file loaded. Connect to an exdac~ object and turn on signal processing. Activate the timestretch attribute/capability. Set the speed value to -1.0.

👽'tW∆s ∆lienz👽's icon

👆there we go! that's the simplest one so far...(and it seems you don't even need the timestretch attribute at all)
i should've just given that answer to begin with 😊

slo ~|•'s icon

Ah, well, yes. You are correct. timestretching is not needed, nor, technically, looping. Just set the speed to -1. (or any negative value)

Cedric D's icon

Thank you very much everybody for these informations ! I try all this !
See you

Cedric D's icon

Marvelous ! It was so simple, but I just didn't know where to begin ! Thanks a lot !