Hi, I've been having a frustrating time working with multichannel display in waveform~. As per the help file, I've been using the @name attribute to specify the different channels. I've attached a patch where I've described some of the odd behavior I've been experiencing.
For those who can't download the patch, here's what I've commented inside the patch:
Upon startup, I get this error message:
waveform~: channel 1 out of range (buffer~ #0_soundplayer has 0 channels)
waveform~ displaying channel 1
Check out the inspector on both of these waveform~ objects, looking at the channel number. The top one is set to channel 0, and the bottom is set to channel 1!
My "name" attribute should have set those to channels 1 and 2, correct?
Try loading a stereo file and see if the waveform displays correctly.
On my computer, only the top waveform~ object displays, showing channel number 2. Unlocking and relocking the patch (or clicking on the waveform~ object) causes the bottom waveform~ to refresh showing channel number 1.
Clicking on my two "name" attribute message boxes doesn't do anything.
Sometimes I can't change the channel assignment in the inspector. They're stuck on channels 0 and 1.
Finally, try loading a different stereo file. The bottom waveform~ retains the previous file's waveform until you unlock/relock or click around in the patch.
What's going on here?? I'd appreciate any explanation or help.