Vertical waveform~?

Dominik Dudek's icon

Hello,
i would love to have my waveform~ object in vertical orientation. Is it possible? I have zeroskill in javascript (which was suggested in other topic).

greetings

Florent Ghys's icon

hey, I stole this patch from someone here. It's a circle, so not exactly what you're looking for, but could be a starting point!

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon


right, we had those threads about circular waveform displays. search for those.

Dominik Dudek's icon

Thank You Florent very much, I get this patch to something like this:

Max Patch
Copy patch and select New From Clipboard in Max.

It's working very good, but there's one problem. I don't know how to make it scalable like in waveform. Is it possible to resize lcd object window along with it's content?

Roman Thilenius's icon


lcd takes a "size" message, the anxious maxer follows it by a redraw message to thispatcher. you could sync the size to the sfinfo-driven stuff easily as long as the size of the lcd object is changed programmatically.

one could also make it better than waveform and use the max or the average instead of every nth sample.

Dominik Dudek's icon

Thanks Roman, it was easier than i thought.
I used "getsize" message triggered by mousestate. Then i get size message from right outlet of lcd and send it to the subpatcher, where i scale x and y. The only thing thats not working is when you press ctrl+z/y you have to click anywhere in patch to get lcd updated.

Max Patch
Copy patch and select New From Clipboard in Max.

Pedro Santos's icon

Hi Diminik. It's even easier than that. You don't need mousestate.
Use getattr instead and every time the parameter changes, you get notified.

Max Patch
Copy patch and select New From Clipboard in Max.

Dominik Dudek's icon

Whoa, thanks Pedro! I was sure, that there's a better solution to solve this.