Waveform~ bug?

roger.carruthers's icon

Here's an odd one. I have a patch which contains two waveform~s to display the same buffer. One displays the buffer contents as expected, the other doesn't. Even if I hit the 'set sample' button it will not display in the second waveform~.
But if I paste-replace the waveform~ with a new instance, it will display ok - until i save & re-open the patch, whereupon the problem re-appears.
Unfortunately, this does not happen if I copy/paste the relevant bits of the patch, as I have below, to Illustrate the problem, so you'll have to download the original to see the problem.
In fact when I copied the waveform~, which had been blank in the original patch, it pasted into the new patch displaying the buffer as it was supposed to.

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

Steps to re-produce:
1. Download the second of the two patches in this thread https://cycling74.com/forums/its-ok-to-share-twinpusher
2. Open the patch and click the 'load buffer' button; the waveform should appear in both waveform~s, but only appears in the top one.
3. Unlock patch, click the 'set sample' button for the empty waveform - nothing happens.
4. Create a new instance of waveform~ and past-replace the empty waveform~. Click 'set sample' - waveform displays OK.
5. Save and reopen patch. Waveform~ bollixed again.

cheers
Roger

darklow's icon

Hi roger, I had the same problem with 3 waveforms and 2 buffers, none would display properly! it only works if i delete the waveforms and create them again, which is a pain in the arse!

I've emailed the support about it, its probly a bug i think, so im waiting for them to get back to me about it. Il let ya know if they do!