Monitoring record sound level whilst recording with Pulseaudio.

Moderator: Forum moderators

Post Reply
User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Monitoring record sound level whilst recording with Pulseaudio.

Post by wiak »

Well it used to be the case with Puppy Linux that you couldn't monitor the recording sound level via, say, arecord --vv /dev/null, command at the same time as running a program like Precord. That's was because only one app could access alsa, including the recording program arecord at the same time. Some apps, such as mhwaveedit, tapped into alsa more directly (via compiled C) so could provide VU level meter, but was not possible with simple scripts such as Precord using underlying commandline utilities. However... if you have pulseaudio, that is no longer an issue. So you can, for example, record audio using the likes of Precord, whilst in another terminal running command:

arecord -vv /dev/null

Or if you want more sophistication you might like to use a wee oscilloscope program like xoscope, which works very nicely indeed:

http://xoscope.sourceforge.net/

which I'm currently playing with in WDL_Arch64 as well as trying out more sophisticated "WaveForms" by diligent:

https://digilent.com/shop/software/digilent-waveforms/
https://digilent.com/reference/software ... ms-3/start

WaveForms is free download and works (free to use it seems) with SoundCard simply by selecting that as input, but much heftier (slow) program than xoscope since Waveforms using Qt5 and more... WaveForms is interesting though since it provides many tools in addition to oscilloscope, including Function Generator (and also a SDK for software development with the likes of Python).

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
amethyst
Posts: 2418
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 57 times
Been thanked: 506 times

Re: Monitoring record sound level whilst recording

Post by amethyst »

As a matter of interest - My laptop does not have a line-in but only a mic input. Recording from an external source sounds crap even when you turn the recording level way down. Nowhere near the quality I can achieve with my desktop line-in. :( A cheap usb soundcard may do the trick.

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: Monitoring record sound level whilst recording

Post by don570 »

When I wrote baconrecorder I wanted to monitor the input level.
Here was the command.....

Code: Select all

rxvt -e arecord -vv /tmp/vu_tmp & { sleep 1; rm -f /tmp/vu_tmp; }

https://oldforum.puppylinux.com/viewtop ... 59#p964559
____________________________________

pulseaudio
Posts: 5
Joined: Thu Mar 31, 2022 3:11 pm
Has thanked: 3 times

Re: Monitoring record sound level whilst recording with Pulseaudio.

Post by pulseaudio »

Trust me, I have spent hours to try and make work pulseaudio for recodings in XenialPup 6.4 but in vain. Extensive help from the community could do no good and the final solution seemed to be shifting to a different distro with pulseaudio on the main image. Just DON'T even try to swap ALSA for PULSEAUDIO on PuppyLinux. May there be peace in the OS. Cheers to the creators of this brilliant OS.

Post Reply

Return to “Sounds”