Stopping waveform~ blinking?

Roald Baudoux's icon

Hello,

I am using a poke~ object to record into a (long) buffer~. I have a waveform~ object linked to that buffer~ and it is constantly blinking, both when recording and when not recording.

How can I stop that blinking?

Thank you in advance.

Mike S's icon

as i recall i think you have to gate~ one of the signals.

also i think someone posted a far simpler approach but i can't remember it.

Roald Baudoux's icon

Mhhh, do you mean using gate~ with begin~?

Maybe I should put everything in a poly~ and mute it...

antwan's icon

Hi there,

without seeing your patch my first guess would be this:

what is actually happening when you're "not recording"? Are you feeding poke's index inlet a -1 or something else? If it's receiving for example a 0 then you are constantly writing and re-writing the first sample of the buffer. Feeding it -1 doesn't write anything.

Hope that helps.

antwan

mattias petersson's icon

or use the buftime message to waveform~ and change it to something lower than the default (500 ms). usually 100 ms is enough for me.

Mike S's icon

Is there a solution to stop this that doesn't involve setting the buftime message lower than the default?

I find it takes quite a bit more CPU with smaller buftime values

Mike S's icon

bamp

Roald Baudoux's icon

Yes, bamp !

Mike S's icon

i had a dog and his name was

BAMP

edit, look at my dog BAMP

Mike S's icon
Samuel Freeman's icon

Ah yes, the blinking waveform~ problem...

I've yet to give much time to working on my solution to this problem, but (so far) it is based on the example given by Graham Wakefield at

showing the use of jit.gl.mesh to display waveforms

Mike S's icon

Hi Sam,

That looks a little beyond me, I've become quite reliant on the various functions of the waveform~ object, at least for this project.

After a little more testing and letting cycling 74 now about this problem (they can't reproduce) I've noted that it seems to be related to the poke~ object which is connected to the same buffer~ as waveform~. There's nothing actually going on with the signals, but if I remove all connections it seems to stop.

I'm going to try a gate~ and see how that works, I'd hate to have to script it all!

Mike S's icon

OK I have scripted it, remove all connections to poke~ and there's no more blinks!