Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
INTRODUCTION (Question follows)
I record using streamer (part of xawtv). Normally, I record Audio only, but sometime Audio and Video. The reason I use streamer is that it is controlled by Command Line parameters, so I can run it from a script – and it can record Audio and Video or just Audio. Once recording is complete, I split the Audio up into tracks to burn to an Audio CD. In order to know approximately where to split the recording, the script also starts another program which writes the elapsed time since it started running to a file each time I press a button (or the space bar). Since the two programs are started by the script, the times logged in the file are well synchronized with the recording.
The problem with using streamer is that it does not have a VU meter of any kind – so I don't know until the recording is complete if it is too loud or too quiet (or just right).
If I am recording just Audio, I could use Audacity which would be wonderful – but I would not be able to synchronize my timing program so well with the start of the recording, and I could not record Audio/Video.
QUESTION
Is there a way that I can send the same Audio feed into streamer and some other program which will give me a visual indication of the recording levels? I have seen reference to 'jack' – but that seems to want everything which works with it to be compiled to interface to it. If jack will do what I want, is there a guide to how I would use it?
If you use the spacebar, then why not use Audacity (a gui app, for audio only). But yes, Jack, the advanced sound framework for Linux and OSX does that really, really well. PulseAudio, the standard audio framework in Fedora 10+ is also capable of doing this, but it will requier more work to set it up as only few users use Pulse for that kind of thing. But it does handle multiple audio sources/destinations.
Having looked at Audacity, I am aware that I can select the input source I want to use. Similarly, with streamer, I can select the input source I want to use. So, if Jack can open the source that I would normally use for streamer and give me 2 'ports' then I could have my 2 applications use those 2 different ports and we would be happy.
Reading the documentation for Jack, it does not provide me with 2 ports, it gives me "an API that does several things". So I look at the simple_client.c which "demonstrates a complete (simple!) JACK application" - but it has 1 input port, 1 output port and a client. I am not sure what the client would do.
The write-up of Jack starts by suggesting that it can do what I want, but then seems to suggest that I am going to have to re-write Audacity to use an API - and I don't want to re-write things that work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.