Forums > MIRA

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

Jul 22 2013 | 7:40 am

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 :-)

-- Pasted Max Patch, click to expand. --


happy surfing


Jul 22 2013 | 8:14 am

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).

Jul 22 2013 | 8:35 am

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)?

Jul 22 2013 | 8:58 am

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 :-)

Jul 22 2013 | 9:45 am

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

Jul 22 2013 | 9:54 am

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.

Jul 22 2013 | 10:50 am

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.

Jul 22 2013 | 11:08 am

Same for the sonogram/spectrogram modes of spectroscope~.

Jul 24 2013 | 7:53 am

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.

Jul 24 2013 | 9:23 am

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

Jul 24 2013 | 11:05 am

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

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

Forums > MIRA