Forums > MaxMSP

Showing multiple playheads in waveform-object

Aug 07 2009 | 7:18 pm

I’m building a sound-design-patch that will play multiple parts of one buffer with pingpong-loop randomly to create a soundscape (saw this kind of patch in Reaktor once and it was really cool).

I’d like to have all the loops I have in my patch to show their position as playhead cursor in one waveform so that I would see multiple playhead-cursors pingponging within the waveform-object (this is what the Reaktor-patch did).

However, I tried outputting multiple bufferpositions into waveform-object and of course it didn’t work, the cursor kept on hopping between the positions so fast that it couldn’t be seen enough.

Any ideas how to achieve this?

Aug 07 2009 | 7:31 pm

Perhaps, use several waveform objects, "superimpose" them, and put them all in transparency with background color attribute.

To edit the 3rd loop : "3" -> select 1 2 3 4 5 6 -> "script bringtofront waveform3"-> [thispatcher]

Aug 08 2009 | 5:58 pm

One solution you might consider would be adding a humble slider (or multislider) object whose background and borders have their alpha set to 0. and whose size is the same as the display area of the waveform~ object, then use an info~ object to derive the length of the loaded buffer and use that value to set the range of the slider/multislider. All you’d really need to do would be to make sure the slider/multislider was on the top layer.

Nov 13 2010 | 8:21 pm

how do you get one position showing in the waveform?

Nov 14 2010 | 3:29 pm

@lmnk: you can use the line message

Nov 14 2010 | 3:53 pm

yes, make a "line".

Dec 04 2010 | 1:19 am

cool! Thanks!

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

Forums > MaxMSP