-   Linux - Software (
-   -   How can an ogg file be shown as in one oscilloscope.. but not staticly (

eantoranz 05-30-2011 10:21 PM

Hi! I'd like to make a video of an ogg file going through an oscilloscope as it's playing. audacity (with enough zoom so that the wave can be seen as a wave and not a blur) could make it but it's too heavy and the screen capture software doesn't get the screen refreshes.... so I'd like to know if there's something that could provide more accuracy.

Thanks in advance.

----- post #2 -----
Is there a way to pipe information from applications into xoscope, maybe? That could make it, perhaps.

Mod edit: Posts merged to restore 0-reply status

neonsignal 06-02-2011 09:28 PM

The jack-tools package has a rudimentary oscilloscope style display.

First the jack daemon has to be running, and then the sound file played using an audio player that can plug into jack. For example, using the alsaplayer-jack plugin:

alsaplayer -o jack soundfile.ogg
Then run the jack scope program:

jack.scope -s line
The output of alsaplayer has to be connected to jack.scope. The connection manager qjackctl can do this, or use The following line is added to the configuration file:

(connect "alsaplayer-[0-9]*:out_1" "jack\.scope-[0-9]*:in_1")
And of course the plumbing daemon has to be started:
Alternatively, some sound cards allow the output pcm mixer to be used as an input instead of the microphone input (have a look at the mixer input controls), which allows a playing sound file to be shown in a package such as xoscope.

All times are GMT -5. The time now is 11:52 AM.