[sharing is surfing] waveform~ for Mira (kind of)

Jul 22, 2013 at 7:40am

[sharing is surfing] waveform~ for Mira (kind of)

Hi there

for those of us who don’t have the chance to surf real waves in the ocean this summer, here is a small waveform~ to surf with your fingertips on your iPad screen.
Waiting for a ‘real’ waveform~ support in Mira, here is an abstraction that display a buffer~ content (waveform) in a multislider.
Just like in waveform~, you can select display start and length.

up to you to to find something fun to do when multitouching a waveform :-)

<code>

– Pasted Max Patch, click to expand. –

</code>

happy surfing

Mathieu

#256730
Jul 22, 2013 at 8:14am

That looks pretty sweet.

I don’t know enough jitter to pull that off, but I think it would better looking if it was only half the waveform, fully shown or even better, half the waveform, fully shown, with an inverted multislider underneath it. So it would look like a ‘real’ waveform (even though it’d only be the top half of it).

#256736
Jul 22, 2013 at 8:35am

This is really really awesome. I’ve made a multislider-as-waveform~ abstraction before, but it didn’t include any kind of downsampling. As you can imagine, hilariously ill-defined drawing was the result. Would you mind if I included this in the example patches for mira (all due credit assigned, of course)?

#256743
Jul 22, 2013 at 8:58am

thanks !

yes Rodrigo, it would probably look better with only half of the waveform (displaying absolute value of peak amplitude of each segment) ; but when displaying very short waveform (for ex : tri.aif) this would would probably look wrong :-s

Sam : please feel free to use this patch wherever you want ; it’s my pleasure to contribute to Mira’s advancement !
(this code comes straight from defunct MMF-fantastick (RIP) ; it’s cool to see some part of it continue existing thru Mira :-)

#256750
Jul 22, 2013 at 9:45am

@Sam : does it mean your not planning to add support for waveform~ in near future ?…

#256760
Jul 22, 2013 at 9:54am

Not sure. It’s complicated by the fact that waveform~ is a very old and somewhat frowsy object, so it’s not totally clear how it should talk to Mira. All I know is that short term this is the best workaround I’ve seen.

#256761
Jul 22, 2013 at 10:50am

It’d be amazing if there was a waveform(sans tilde) object that was a purely display object (in Max). I don’t think I’ve seen a patch that uses waveform to select/edit a waveform in many many years. It’s always just a vizualizer and dropfile identifier.

#256775
Jul 22, 2013 at 11:08am

Same for the sonogram/spectrogram modes of spectroscope~.

#256776
Jul 24, 2013 at 7:53am

I just posted a new version of ejies which has a ej.buffer2l which get the samples out of buffer, with an example of use for Mira.

#257012
Jul 24, 2013 at 9:23am

wow, that’s really cool :) Emmanuel being epic again.

#257019
Jul 24, 2013 at 11:05am

wow +1 !
very nice, thanks Emmanuel :-)

#257027

You must be logged in to reply to this topic.