LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can an ogg file be shown as in one oscilloscope.. but not staticly (http://www.linuxquestions.org/questions/linux-software-2/how-can-an-ogg-file-be-shown-as-in-one-oscilloscope-but-not-staticly-883636/)

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:
Code:

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

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

(connect "alsaplayer-[0-9]*:out_1" "jack\.scope-[0-9]*:in_1")
And of course the plumbing daemon has to be started:
Code:

jack.plumbing
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 05:27 AM.