Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 13:30
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Precord mp3,wav,ogg,aac,flac recorder/player. ver 8.1.4
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 12 [166 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 10, 11, 12 Next
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 08:32    Post subject: Version 2.0.3 uploaded  

# Changes:

# Version 2.0.3:
# No longer loses file entry content moving from MIN to Config GUI.
# Added sound card hardware selection (plughw:card,device)


no, I wanted

arecord -vvv (I prefer a small dynamic graph to a one line display), but I had already cut down the rxvt console as is in this 2.0.3 version. Note that the current VU meter is for setting up only. You can't use it whilst actually recording.

[EDIT] NOTE: When the VU meter is running you can freeze it with ctrl-s and scroll up to see lots of sound card statistics. Then restart it with ctrl-q

Been trying rxvt -e arecord -vvv etc... with wav files (since easier to arrange) but the pause controls won't work when starting arecord with rxvt -e (problems with parent/child processes not being able to find each other and so on). No way out of all the issues that I've found with that as yet (easier in C...!).

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 7220

PostPosted: Fri 18 Dec 2009, 08:58    Post subject:  

Personel taste eh....mini version with mini player perhaps Very Happy

I tried with my bash version and just killed the parent rxvt when going into record mode...
Quote:
kill `ps | grep arecord | grep rxvt | cut -f 2 -d ' '`


I also launched alsamixer and the vu meter from the one button...sort of made sense since it also gives an instant indication that the correct input has been selected so no blank failed recordings.

Fast with the update..nice one Smile
mike
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 09:37    Post subject:  

mikeb wrote:

I also launched alsamixer and the vu meter from the one button...sort of made sense since it also gives an instant indication that the correct input has been selected so no blank failed recordings.


That's a good point. It's true that more often than not I fire up both VU and alsamixer when setting up.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 09:46    Post subject:  

What I'd really like is to have the VU working when recording mp3 and/ogg, but I've not managed to split the audio from the VU noise when piping arecord into lame (for example). If you find out how, let me know.
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Fri 18 Dec 2009, 10:16    Post subject:  

Bonjour à tous,
Can i share with you my feelings on Precord.
I know nothing about audio, but i'm testing this Great little program.
But there are two things a little disturbing:
- I am obliged to adjust the microphone up and audio output too. It seems that the record level is fairly low. Or did it come from my microphone?
- I am forced to click the stop button at the end of listening to the recording. Could it be automatic?
Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 10:30    Post subject:  

esmourguit wrote:
It seems that the record level is fairly low.


Have you activated Mic Boost in Alsamixer and turned up PCM and Capture volumes to their maximum's. Until I discovered Mic Boost a year ago, I used to suffer from the low record level you describe, but I don't find that problem now. To activate Mic Boost in alsamixer you move along to it and press letter "M". It makes a very big difference to the recording level. Test it without recording by running the VU display whilst selecting MIc boost, and also turning up the Capture volume controls. Mono recording works particularly well (and loud) on my system.

If the recording levels are still too low, you'll need to find a more sensitive microphone or use a preamp with your Microphone I'm afraid. You should however find that Precord recording levels are just as loud as, for example, mhWaveEdit (also on Puppy 4.3.1 in Multimedia menu) or any other recording app.

As for having to press "stop", there was a reason for that that I can't remember. I'll look into it again, but I so remember deciding that it was the best compromise to another problem. In theory it shouldn't be necessary of course so perhaps I'll find a way of modifying that action in the future.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Fri 18 Dec 2009, 10:51    Post subject:  

Bonjour à tous,
Thank you for your reply.
Here is an overview of Alsamixer. I don't know how to enable Mic Boost in Alsamixer.
Cordialement. Wink
alsamixer.tar.gz
Description 
gz

 Download 
Filename  alsamixer.tar.gz 
Filesize  43.85 KB 
Downloaded  536 Time(s) 

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 11:15    Post subject:  

Regarding play and stop.

When the audio file ends playing the Linux process involved dies. Unfortunately, there is no way, that I know of, for that event to be signalled back to gtkdialog to re-enable the play button. Otherwise that would allow an automatic stop without human intervention.

Only one play process is, by core design, allowed to run in Precord at a time since it would be extremely difficult to control/keep track of more than one.

I could provide a version of Precord which does not disable the play buttons but instead simply allows the user to press Play at any time to restart the file playing. I'll upload a version that operates in that manner for testing to see what the general opinion is on these two ways of arranging things.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 11:24    Post subject:  

Have you tried moving the cursor further to the right hand side in Alsamixer. The Mic Boost control lies further to the right than is shown in your overview. If you can reach it, you then press key 'M' to activate it.

Also, I suggest you turn down the Mic volume when recording, since the mike you show in your overview may be for playback, which can interfere with your recording. Instead, I suggest using the TAB key to until the alsamixer heading moves to the Capture screen (rather than 'All') and see what you have available in there. You should see 'Capture' maybe, and Mic. You need the volume of 'Capture' turned right up, and the Mic control should be activated (using space bar). But different sound cards maybe show different screens. The Mic Boost control would be on alsamixer 'All' (to the right hand side, off the screen, as I said, of the alsamixer overview you uploaded).

In a few minutes you'll find an alternative version of Precord on the first thread post which doesn't disable the Play button (instead, pressing Play a second time simply restarts the playback from the beginning...)

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 11:30    Post subject:  

I have to go and sleep; it is very late (night turning to morning) here...
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
esmourguit


Joined: 17 Nov 2006
Posts: 1288
Location: Sur l'ile aux oiseaux.

PostPosted: Fri 18 Dec 2009, 12:03    Post subject:  

Bonjour à tous,
Thank you for your kindness. I finally found the Mic Boost and it's absolutely perfect.
Thank you again.
Have a good night (maybe short?).
Cordialement Wink

_________________
Toutou Linux - Pets francisés
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7220

PostPosted: Fri 18 Dec 2009, 12:06    Post subject:  

This was a crude way I detected the end of an mp3 track playing......basically madplay outputted blurb at the end and that was used to trigger notify to kill the player gui....perhaps ffmpeg might be obliging.

Code:
mkdir /var/lock/mad 2>/dev/null
madplay "$@" 2>&1 | grep decoded > /var/lock/mad/lock &
dnotify --modify --once --background /var/lock/mad --execute killall gxmessage


now hopefully you are having a good sleep

regards

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7220

PostPosted: Fri 18 Dec 2009, 15:09    Post subject:  

ooops should be
kill `ps | grep arecord | grep rxvt | awk '{ print $1}'`
that occasional leading space messes up cut

More blah....

on my machine at least
arecord -vvv /dev/null 2>/dev/null
has the undesirable habit of turning /dev/null into a file

arecord -vvv mono does not but gives thesame output.

mike
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 17:32    Post subject:  

mikeb wrote:

on my machine at least
arecord -vvv /dev/null 2>/dev/null
has the undesirable habit of turning /dev/null into a file


Oh... I'll check that out.

As for cut and awk, yes, I usually use awk for such constructs for that very reason, though I prefer keeping more direct track of the PIDs if I can.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2020
Location: New Zealand

PostPosted: Fri 18 Dec 2009, 17:47    Post subject:  

Well I've tried:

arecord -vvv mono 2>/dev/null

and

arecord -vvv mono /dev/null 2>/dev/null

But both of these constructs create a file called "mono"! :-)

If you check arecord --help, you should see that there is no parameter after -v (or -vv or -vvv) but mono or stereo can be used after -V (capital V), which gives a one line display.

arecord -vvv /dev/null 2>/dev/null

does not, I believe, actually create the file called "null" in /dev; rather the system may create it in response - but it is a tiny 8 byte file.

To prove that, I suggest you run the
arecord -vvv /dev/null 2>/dev/null command, then, for example, change dir to /dev and run the command rm -f null
That will temporarily rm the small 8 byte null file, as running LIST directory command
Code:
ls null
or
ls -al null
will show


but.... it you simply then run 'ls' for a second time the file "null" will automagically be created again... a system file. :-)

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 12 [166 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0834s ][ Queries: 12 (0.0104s) ][ GZIP on ]