Archive: level trigger


2nd September 2002 06:40 UTC

level trigger
I don't know if you people have ever used a real oscilloscope, but they usually have a level trigger that will start the trace at a certain level and slope. This allows the waveform to synchronize and generally look a lot spiffier.

In WinAmp's visualizations, (at least for wa2) the 'scope wave looks like it's having a seizure, whereas on a real scope it would dance.

I've got a simple wa2 vis plugin that sorta does this to see the difference, but it could do better: http://www.technoirotica.com/~rabidcow/vis_test.dll

It works best with songs that have strong vocals or other midrange stuff, stuff with loud high freq or noise tend to confuse it.

So yeah, I think the AVS would be a *lot* nicer if it had a level trigger on the scope, so it actually worked.


4th September 2002 04:49 UTC

my guess is that your talking about making everything look smoother and nicer by offseting the start point of the osc? wouldn't you have to change that for every song though to get the right effect every time.

if you played around with superscope code you could probably emulate that, in fact you can do tons with superscopes if you cant make ssc do it then i'd be surprised. i guess you would have to use getosc and not use v...


16th September 2002 23:37 UTC

Yeah, that's the stuff. With a regular scope, you have to manually adjust the trigger level, so there you'd have to adjust it for each song. Since this is on a computer tho, it can be a little smarter and autodetect the trigger level.

The way this version works is to start the trace at the first point in a certain slope range that's at least 75% or so of the peak in the last trace (or some time in history, I don't remember exactly since I did this a while ago). It does a little filtering first to try to ignore the strong high frequencies, but could use more filtering.

I don't know if you could use ssc for this, honestly I haven't bothered trying, and I don't really have the time anymore myself.


16th September 2002 23:46 UTC

judging by the number of posts this topic has no-one else cares so it probably wont happen.


17th September 2002 02:10 UTC

To be honest I don't quite understand what you're talking about. A lo/hi-pass filter? A threshold? Can you express what you mean mathematically?

Your plug-in looks like a plain-vanilla line-scope to me, though with the higher frequencies filtered out. It looks very buggy over here too: the only 2 colors are blueish cyan and red, and the winamp window is partially updating through it.

Considering AVS processes all superscope points serially, you could emulate a real scope's behaviour quite easily.


17th September 2002 04:54 UTC

like on oscilloscopes that you get in physics labs.