Forums > MaxMSP

rm.slice transients in buffer~ problem


hzd
October 16, 2013 | 5:17 am

Hello beautyiful people.

Here is a dropbox link to the project file. This is so, that you can have the same audio file I’m using as I’m working on this.

https://www.dropbox.com/sh/jg0hq2zjhinryno/wg65jkzoN5

<code>

– Pasted Max Patch, click to expand. –

</code>

And here is the compressed patcher, if you don’t feel like downloading the whole project, although it is very small.

Anyways, my problem.
My passion for the moment, is sampling live sounds and/or music and using one buffer~ to create whole landscapes of sound. Philosofy being, to make a whole performance from one sentence or one phrase. Granular and pads and stuff like that is sorted. Now I would like to quickly find the impulses or transients in this phrase. I’ve tried with rm.slice and descriptors but I can’t seem to get it to work.
Looks like rm.slice is goo at finding startpoints, if they are very clear, like drums, but with this guitar sample, it seems like it’s not doing so well.

What I’m imagening, is that I set a threshold level for transient to start and another lower threshold for it to stop. So a tone can ring out and still be in the same "chunk"
I would also like to be able to have a small pre-fade, for instance, if the attack is gentle, I could the "chunk" start a few ms before transient start threshold is reached.

Quite a tall order, I guess, but I’m sure, I’m not the only one who would like this feature.
I have searched maxobjects and this forum, FYI :)

And I would also like this to be done none realtime, as I’m using this live, and not sure what kind of sound I’m going to record, it is nice to set the threshold after the recording.


October 21, 2013 | 12:23 pm

The audio file and Maxpatch is missing from the project you have in your dropbox link.

If you upload again, I can take a look at your specific example. Your trouble is probably coming from the fact that rm.slice is doing onset detection vs a more sophisticated spectral transient detector (i.e. it is only detecting amplitude threshold crossings).

rm.slice working with some other objects may still do what you need (I need see the sound file and the patch to give any better advice than that).



hzd
October 21, 2013 | 1:31 pm

https://www.dropbox.com/sh/jg0hq2zjhinryno/wg65jkzoN5

Forgot to "consolidate project", sorry.
Should be good now.

Thx for your reply.

I’ll have a second look myself.


January 2, 2014 | 2:52 pm

Hey, I’m very sorry. My crazy nomadic life for the end of 2013 I guess distracted me from these forums. If you are still working on this and still need some assistance, let me know.



hzd
June 11, 2014 | 3:55 pm

Not just yet, but I might just pop up later :)

cheers.


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