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 Wed 22 May 2013, 00:06
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Recording wav files from LPs
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Author Message
mcewanw

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

PostPosted: Wed 02 Dec 2009, 09:04    Post subject: uses intermediate files and no pause control  

Flash wrote:
I've used mhWaveEdit to record audio tapes in Puppy, I think from the Line in but it may have been the Mic input, I forget. I saved the recordings as mp3, but as you can see, mhWaveEdit can save them in just about any format you can think of.


Yes, I tried it and it works. However, it isn't recording straight to mp3. Rather it stores big temporary wav files in the directory ~/mhwaveedit, which is fine if you have a huge disk, but I don't. The beauty of the likes of arecord ... | lame ... is that you are recording mp3 files on the fly without resorting to temporary wav storage.

For recording mp3 voice clips it is also very useful to have a pause function... which mhwaveedit doesn't seem to provide. Nice program though if you have sufficient disc space for whatever you are recording.

_________________
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 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9846
Location: Arizona USA

PostPosted: Wed 02 Dec 2009, 09:41    Post subject:  

Actually I think mhWaveEdit creates the initial file as digitized voice, the equivalent of a Raw picture file, then converts it to whatever format you tell it to when you Save the file. But yes, you're right that the initial file is huge.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 4378

PostPosted: Wed 02 Dec 2009, 11:17    Post subject:  

Quote:
For recording mp3 voice clips it is also very useful to have a pause function

hmm good point...I'm not sure how a true pause function would be implemented though it is possible to pause and resume processes with kill...I did that for a simple cd player and it worked so one to try out. Otherwise I could have it create incremental files with each pause... eg blah_01.mp3 blah_02.mp3 etc.
More food for thought....

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

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

PostPosted: Wed 02 Dec 2009, 12:05    Post subject: pause  

yes, I once submitted a recording program called wiakrecord to the forum, which included a pause function. That used kill -SIGSTOP and kill -SIGCONT (that part of the program was written in C so that the pause worked virtually instantaneously, but from bash, kill -STOP and kill -CONT <process_id> work fine to pause/continue the arecord ... | lame ... process pipe.

A picture of wiakrecord from its home site is here:

http://wiak.org

I never published the C source code part of wiakrecord though, just the bash and gtkdialog frontend. The C was part of something much bigger I was writing - a control language/protocol for controlling pipelines of processes. I may get back to that some day and release it; family circumstances took me away from it back then. I do have a version of krecspk/wrecspk which includes a pause function written using kill, but it has a few bugs which I've still to iron out. The pause works fine on record, but is not so good on playback - usign madplay (I'll probably write a small C function version of kill just for the pause function). I'll upload the code to the forum in a day or two incase anyone is interested in it, but it would be worth adding pause to your wee record script as a simple solution, I'd say.

_________________
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 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9846
Location: Arizona USA

PostPosted: Wed 02 Dec 2009, 18:46    Post subject: Re: uses intermediate files and no pause control  

mcewanw wrote:
...For recording mp3 voice clips it is also very useful to have a pause function... which mhwaveedit doesn't seem to provide. ...

Guess what, mhWaveEdit can pause during a recording session. The Pause button doesn't show up until you click the Start recording button. Bad GUI design?

I can't see any way to set the mp3 parameters that mhWaveEdit will use when it saves an audio file as an mp3.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 4378

PostPosted: Wed 02 Dec 2009, 21:26    Post subject:  

Sometimes i think that between us loyal puppy users we cound come up with some neat applicatins. I'm a bit bogged down in truly unexiting business software but am looking forward to turning my attention towards more interesting subjects.

As far as mhWaveEdit is concerned it seemed to have a habit of leaving large temp files dumped everywhere...audacity is better house trained but I only get reliable performance out of the stable 0.2 series (pet needed).

from my experience bit of juicy scripting can produce wonders...a bit of polishing of my feeble attempt could be just the ticket .....linux runs on command line apps so connecting them with a gui world is worth the effort

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


Joined: 23 Nov 2006
Posts: 4378

PostPosted: Fri 04 Dec 2009, 18:42    Post subject:  

Quote:
A picture of wiakrecord from its home site is here:

http://wiak.org

looks neat Smile

Well I had a play on 4.12 with alsa 1.0.20 ...arecord gives the same version and still ok...odd...the command line you gave will fail as it is calling for a sample rate that the sound card may not support...the full line is ok....so still a mystery.

I did fiddle and add a pause function...seems to work ok...ignore the weird gtkdialog layout ...its the best I could get..I don't think it like markup too much Very Happy

mike

ps forum notifications are erratic ... I keep missing replys.
Simple Recorder with Pause Function.tar.gz
Description  More crude scripting :)
gz

 Download 
Filename  Simple Recorder with Pause Function.tar.gz 
Filesize  1.2 KB 
Downloaded  115 Time(s) 
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sat 05 Dec 2009, 00:10    Post subject:  

I was going to try wavrec but got this error:

Device or resource busy:
Opening audio device /dev/dsp

Interestingly, I could record with that simple "recorder' script. Anyone guess why wavrec doesn't work? (The machine is a Sony VGN-C140G)

I am a rank newb at this. I'm also wondering how to set the appropriate input levels, to get the highest volume without clipping.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 4378

PostPosted: Sat 05 Dec 2009, 08:06    Post subject:  

/dev/dsp will not work if anything else is using audio..a limitation of oss...alsa does not have this problem whivh is what the simple recorder uses.

As for levels...its trial and error unless you use an application with level meters.(or Spdif)

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [24 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0682s ][ Queries: 12 (0.0167s) ][ GZIP on ]