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 Mon 20 Oct 2014, 09:48
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Bacon Recorder - simple audio recorder
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 8 [119 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Thu 23 Jun 2011, 20:22    Post subject:  Bacon Recorder - simple audio recorder  

Bacon Recorder - simple audio recorder
Feb 18 2012 Italian and Portuguese translations added
to Spanish French Russian German translations


See more instructions and pics on page 4 of this thread
Help me translate into various languages
http://www.murga-linux.com/puppy/viewtopic.php?t=72855

version 2.5 supports recording to /mnt/home/ and
recording to the same partition as your pupsave file is stored.
It also uses a new folder selector.



Edit: Several recording events are possible simultaneously.
The user simply sets the Start time (don't forget length of recording)
and clicks the set button for the different times you want
the recording to proceed. --->
Hidden from the user the arecord application is launched each time
that the set button is clicked. Clicking on 'Stop' kills the arecord app.
It is possible to 'Quit' baconrecorder and the recording events will
still proceed.


It records in background. This has advantages in
a low powered computer. It takes about 10% of CPU
in my P4 computer recording a MP3 file.
(Nearly zero if its a WAVE file.)

This is much less than mhwaveedit.
I find that it is stabler than mhwaveedit.

New feature- a log button to 'see' a recording while
it is being made. There is a log entry when the
recording is started and then when it is finished.
A great way of checking to see if recording has begun.

New feature-Name of file that you record is in the
language you use i.e. a Russian name if you're
using Russian. Note that you may have to delete
the hidden configuration folder in /root
to start this feature!!

Click on animated GIF to see the sound input levels.
If you see sound levels like 50 to 60 then the sound volume
is full.

A stop button to stop the scheduled recording from starting to
record or if it is already recording it will stop the recording safely.

Once you have set the desired recording then you
can click 'Quit' if you wish. This is desirable for a low
powered computer since scripts consume power
when they use a GUI.


Bacon Recorder should work in all versions of puppy linux.

See picture in next post to get a better idea.



Once it is set and in the background ( in a loop
which uses little processing power) you can kill it
by clicking Stop button ( or in the terminal
type 'killall arecord' )

An innovative feature is keeping a log of recordings.
.... also does a check to see if your desired
partition is mounted. There are lots of
warning messages to make it nearly impossible
to make a bad recording.

There are two basic methods to delay your recording start,
a countdown timer or a given time to start the recording.

Three types of recordings are possible, Wave, MP3 stereo and
MP3 mono.
If anyone needs OGG then contact me.
The MP3 Stereo is very high quality q=3

MP3 mono is very low quality but it's intended for speech.
About 7mb to record one hour of speech


___________________________________________________________________
Details of my work:
I corrected a couple of bugs. ---> Combobox needed hard spaces
between words like 'MP3 Stereo' to work correctly!!

Quality of mono was too low on some versions of Puppy so I
improved it ---> lame -b 16

French translation thanks to esmourguit

Innovative new method of checking to see if partition is mounted.
This is done at the launch of app.

If you forget to enter a length for a recording, you get a warning
and the application restarts automatically.
There is now a Quit button to stop a countdown or a recording
that is in progress. It's safe to use and the Log will
be updated to show what has happened. I find the Log
feature very useful and innovative.

Be careful that you have enough disk space and use
Retrovol, the Audio mixer, to set the correct
sound input source.

Note that pull-down menu sets the length (or duration)
of the recording but you can change this value
by filling in a different value ---> for instance instead
of 60 minutes , fill in 70 minutes if you wish.
______________
baconrecorder_NLS-4.5.pet
Description  French Spanish German Russian Italian Portugese locals
pet

 Download 
Filename  baconrecorder_NLS-4.5.pet 
Filesize  10.53 KB 
Downloaded  1001 Time(s) 
baconrecorder-4.5.pet
Description  application to record
pet

 Download 
Filename  baconrecorder-4.5.pet 
Filesize  13.09 KB 
Downloaded  1666 Time(s) 
baconrecorder.pot.gz
Description  POT file for simple translation - remove gz extension
gz

 Download 
Filename  baconrecorder.pot.gz 
Filesize  8.73 KB 
Downloaded  327 Time(s) 
baconrecorder.sh.gz
Description  script to gettext with momanager - remove fake gz extension
gz

 Download 
Filename  baconrecorder.sh.gz 
Filesize  32.79 KB 
Downloaded  304 Time(s) 

Last edited by don570 on Mon 16 Jun 2014, 19:38; edited 58 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Thu 23 Jun 2011, 20:24    Post subject: picture of app  

Here's version 2.9 July 2012


Last edited by don570 on Mon 30 Jul 2012, 17:13; edited 1 time in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 26 Jun 2011, 06:41    Post subject:  

Hope it is okay to ask some noob questions like

I tested with two different FET mikes and when I recorded with Mono mpr the result was very noisy. Maybe they are too cheap quality. Speed Link SL-8707 and a Head set Media Tech MT 363 or is it the mono mp3 itself that has a low signal noise difference. Everything drowns in the noise.

I had the Mic booster on max maybe that made it noisy? But when setting the boost to lowest that only did shift the output level and not the noise noticeably My computer maybe has a poor microphone amp.
But I failed to make a decent recording. Next night I will try with the other two settings or recording format them giving a higher quality.

What levels on Mic and mic booster on recording do you use for recording normal talk some two feet away? 50 CentiMeters?

Hope my questions are not too Off Topic.
I love that you have made Egg and even more
this one being easier to set up and working on more platforms.

I will test it during my sleep now to see if it catches my breathing or sleep apnea when I stop breathing and how often that happens.

10 hours is how many minutes? 600? Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Mon 27 Jun 2011, 19:56    Post subject: microphone  

There are two types of microphones, high impedance
and low impedance. If you don't match the impedance
the sound won't be loud enough and noise will drown out the talk.

That could be your problem because I improved the recording
quality of the mono so that it quite useable now.

I don't use mono recording with the mic input, instead I
like to record news and talk radio. So MP3 mono is
perfect for that . One hour takes up about 7 MB of hard
disk space.

Why not make a Swedish translation for me.
Just look in /usr/local/baconrecorder/local for the English,
then translate.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Mon 27 Jun 2011, 20:12    Post subject: Bacon Recorder new verson 1.4  

New version of Bacon Recorder 1.4 improves the log feature.
It enters it's first message when the recording
begins, so the user can check it now to see if the recording has begun.

So the log will enter two lines when the recording begins
and two lines more when the recording ends.

__________________________________________________
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 28 Jun 2011, 01:16    Post subject:  

Thanks Don!

1. You wrote in earlier post

Quote:
Once it is set and in the background ( in a loop
which uses little processing power) you can kill it
with pprocess if you wish


Yes but that is a way to stop recordings that is nonintuitive. I failed to remember it. I even failed to remember I could look here or write that down on a paper. I recorded some 6 recordings and none of the times I remembered how to shut it down. Sure it is my own fault but intuition tells me there should be a stop button that keeps what one have recorded already even of one shut it down prematurely and does that really happen if one kill it with Pprocess?

Would be most handy to have a gentle stop button on the GUI that allowed it to keep the recording but end it at will.

2. *** Is there a simple way to make an Icon to have on the Desktop for to start it ?


3. Would it be difficult to include a feature that had a gate function?
It started to record at the time one had set it to but if the sound input was below a trigger level then it waited for the input level to get strong enough and then recorded while the sound lasted and a few seconds below the level of choice and it told time and then waited for next sound and recorded that one and so on.

4. You ask
Quote:
Why not make a Swedish translation for me.
Just look in /usr/local/baconrecorder/local for the English,
then translate.


My native language are Swedish so your expectations are right on
but I am extremely bad at finding swedish words for such tech things.

I never talk about them in Swedish so I have no practice knowing what word to use. Being as lonely as I am I have had none to talk with about these things for some 25 years so fail to know what words Swedes would use for it.

I am different in that way.


5. Re the low or high impedance? FET Mic usally are rather high. 2.7K or 3.0 K something. I guess I have to go to Acer forum and ask them about the sound card spec of the computer I have.

It did exactly what I wanted. Recorded for the time I wanted and when I wanted it to but the signal noise was so bad that it was not usable other than if one had the FET mic some inch from mouth. Even my snoring got drowned in noise. But hopefully that was my fault buying a too insensitive equipment? I have to test with other "recorders" to get something to compare with. And on my other computers. But their Fans are too noisy so sleep will not be good.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Tue 28 Jun 2011, 03:58    Post subject: Bacon recorder  

Dear Don,

Thanks. Very nice. Could you please post the source? I want to have a look and also want to recompile for old Puppies, e.g. 3.01, which Dingo and I still use for various purposes, as do quite a few other people Smile. As for killing, I would send it to the tray and have a kill button in a right-click menu. I can implement that if you want.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Tue 28 Jun 2011, 18:20    Post subject:  

To vovchik

There isn't a 'source' . It's a simple script.
There's a loop of 15 sec . After 15 sec a check is made of two
intergers that I have previously created from dates, (current and
future). It's an incredibly simple way of doing
a timer. That way it works in all Puppies.

My previous effort 'Egg Recorder' used date -u and some
Puppies gave strange output to that command.

As far new features , the feature I want most
is a visual indication of sound volume. This would take a
talented C programmer to put in. Maybe you could do
that , I don't have any training in programming so it's
out of my league.

Another feature could be killing the process before the
actual recording has begun. By knowing the process ID number
this would easy to do. Why don't you do that and send the
code to me to post?

As far as killing the recording while the recording is underway,
I just type 'killall arecord' and that works perfectly.
Do you know any better way? Should I
make it a button in the window???

I am trying to keep the interface as simple
as possible so I don't know if a tray button makes sense
but if you want to try it be my guest.

My new log button feature should give the user some reassurance
that a recording is underway.

___________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Tue 28 Jun 2011, 18:48    Post subject: Bacon Recorder new version 1.5  

new version 1.5 has a log button .

Two lines are written in the log when the recording actually begins.
Therefore click on log button and see if the recording has
begun. This avoids the awkwardness having to use a text editor.

Three more lines are added to log when the recording finishes.

___________________________________________________
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 29 Jun 2011, 02:12    Post subject:  

Thanks,

I need to understand these things better.

Quote:
The MP3 Stereo is very high quality q=3 , ( lame -V 3 )
change this to a higher number such as q=5 if you need a
smaller file size.

MP3 mono is very low quality but it's intended for speech.
About 7mb to record one hour of speech
Change to ---> lame -b 32
if you need higher quality speech
...

Quality of mono was too low on some versions of Puppy so I
improved it ---> lame -b 16


does it say that -b 32 is better than -b 16
Where can I read about such values and how does that relate to the q3 to q5

You say that q3 is related to lame -V 3
How is -V 3 related to -b 32

You say Change the value . Where does one do that? Some config file?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Wed 29 Jun 2011, 19:57    Post subject:  

To Nooby Here's a good page to help you change the settings
if you are adventurous.

http://linux.die.net/man/1/lame

The file you change is /usr/local/baconrecorder/baconrecorder

I use lame four times in the program (2 for stereo and 2 for mono)
so you should change the two for mono. The stereo is high quality so
there is no need to change it.

_______________________________________

You can experiment on sound quality beginning
by typing this line in the terminal

arecord -f CD | lame -b 16 -m m - /root/output.mp3

Edit- Put in a duration, say 10 seconds

arecord -f CD -d 10 | lame -b 16 -m m - /root/output.mp3
_________________________________________

Last edited by don570 on Thu 30 Jun 2011, 18:45; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Wed 29 Jun 2011, 20:04    Post subject: new version 1.6 bacon recorder  

new version 1.6 has a 'Stop' button .

A Stop button has been added to stop a scheduled
recording from taking place. Or if the
recording is already underway it will stop that.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 30 Jun 2011, 03:04    Post subject:  

Thanks!
_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Thu 30 Jun 2011, 19:41    Post subject: version 1.7  

version 1.7 has only one small change for the localization

The French localization is now finished.
I would like people to submit other languages and
I will organize the localization.

The work is simple if you want to help me.
Go to the folder /usr/local/baconreconder/locals

You will see the file en_US:english
Just translate the English file. Buttons should have short
phrases in your mother tongue. Send the text file to me
and I will do the conversion and post it.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3331
Location: Ontario

PostPosted: Mon 04 Jul 2011, 19:30    Post subject:  

new version 1.8

-I changed a couple of locals and added the German
translation. I will work on the Spanish translation now.

- I put in --center option to keep the windows centered

I put this version in the French version of Fluppy(27)
____________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 8 [119 Posts]   Goto page: 1, 2, 3, ..., 6, 7, 8 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.1041s ][ Queries: 13 (0.0097s) ][ GZIP on ]