Visualizing Waveforms
I am attempting to create a visualization of waveforms. I have use [jit.catch~] and [jit.graph], but I am having trouble getting multiple audio files to be represented in the same [jit.pwindow]. Ideally each waveform would be a different color and show up in a specific part of the scree (see my scribbles below). I would also love to have them be displayed in a separate display, so that I could view the patch on my laptop and project the waveform visualization on a projector.
I am very new to jitter. Any help would be much appreciated!
Hi, I'm going to suggest a couple of resources to make a first version of what you want: Jitter "What is a Matrix", Jitter tutorial 14, or for a quick and dirty way, [jit.glue]'s help file.
When you have spent more time with Jitter, you will be interested in Open GL and GPU-based processing, but do a first couple of versions, use "traditional" (non-gl) Jitter programming.
Forum tip: if you insert "Copy-Compressed" short excerpt of code in your post instead of a maxpat file, more people are going to have a look at your code.
[jit.glue] and [jit.window] are the objects you need
Thank you so much for the comments. I will take a look at all those objects and resources!
I think I have a better understanding of a matrix now and the [jit.glue] worked really well!
I am wondering why the lines are blinking in the jit.window and not in the individual pwindows... see video. Any ideas?
Not sure it will solve your problem, still here are a couple of idea: use just one [qmetro] instead of 3. That way, you know what you are updating when.
You could replace [if $1>0 then 0 else 1] with a more Max-idiomatic [<= 0.]
Jean-Francois, thank you for those ideas. That is really helpful!