Page 6 of 7

Posted: Mon 16 Jun 2014, 15:36
by don570
I noticed the animated gif
doesn't work properly while using Precise Puppy :cry:

I'll try your line to see will solve that problem. I hope it does.

I could check which distro is being used in /etc/Distro_specs
and change the line appropriately if that is necessary.

As for your suggestion of popping up two windows at a time,
that's a No-No. :(
__________________________________________

BTW Dimitry will include your french locale for mtpaint
when he's finished converting the project to v-code
because it's a lot of work (he says).
_________________________________________

Posted: Mon 16 Jun 2014, 16:33
by charlie6
Don,
Thanks for replying :)
In the NLS-4.2, the french translation is missing ...here got the spanish translation instead ..
Did you lost the french baconrecorder.mo ...?
Cheers, Charlie

Posted: Mon 16 Jun 2014, 16:49
by don570
Would you check my right click version as well?
http://www.murga-linux.com/puppy/viewto ... 002#761002
_______________________________________

Posted: Mon 16 Jun 2014, 23:41
by don570
Rightclick version does have a French translation.
________________________________________



new version 4.5

-wider date field
-Charlie's new volume indicator is used when clicking on animated gif
- French translation put back in NLS package
____________________________________________

Posted: Tue 17 Jun 2014, 03:47
by charlie6
Hi Don,
thanks for your quick reply !
as also for the new right click options ... i can imagine how much time it needs to put together all these options (just have a look inside its pet by clicking extract pet ... :wink: )
Would you check my right click version as well?
I'm currently running wheezy-3.5.2.5 and 3.5.2.11 which come with- and where there already are a bunch on right-click options.
So i wouldn't want the new right-click options to interfere with them.
Although I've installed it and it looks to run OK . Uninstallation returns the original options, except that i've now redundant "Extract here" and "Extraire ici", "MD5sum check" and "Vérification MD5sum" options displayed :? - i don't know where they come from ... maybe from the french langpack already installed .. . it doesn't matter anyway.

It also has handy apps in it :D
Cheers, Charlie

last edited:
on the way to 4.6 ...? :wink:
here is a pet ... just ... a suggestion for an explicit VU meter icon :? enjoy ! :D

last last edited: just a little extra tuning .. have recompiled aplay to get bars "|" instead of squares "#" vu-meters display ... :D

Posted: Tue 17 Jun 2014, 19:10
by gcmartin
This VU meter (any meter) is a good idea for use in recording. Make easy to spot operation/non-operation of mic/recording.

Posted: Tue 17 Jun 2014, 21:02
by mcewanw
gcmartin wrote:This VU meter (any meter) is a good idea for use in recording. Make easy to spot operation/non-operation of mic/recording.
This is just an animated gif, not a VU meter.

Unfortunately, it isn't easy to arrange for a VU meter to actively work during recording via arecord. The arecord option that provides a VU meter can be used only during playback, without additional software, or prior to making any recording - not during recording.

Puppy forum member SFR has alerted me to the fact that the following code line, originally and currently used in Precord, is causing /dev/null to be overwritten with a normal txt file, which prevents some other software operating correctly: Fixes itself on reboot of course:

Code: Select all

rxvt -geometry "64x2-0+172" -e arecord -V stereo /dev/null 2>/dev/null &
It is an old fault, dependent on arecord version, first discussed on murga forum in 2009 here:

http://murga-linux.com/puppy/viewtopic. ... 193#373193

The error occurrence or effect appeared to depend on the version of arecord on the system. Version 1.0.25 (as used in Precise and DebianDog mixes stdout and stderr, which is a flaw; version 1.0.26, as used in latest Slacko doesn't)

I note that the same VU code line has since been used in Bacon recorder.

I'm currently working, along with SFR, on a fix/workaround for Precord and will let you know what is decided upon. If anyone comes up with alternative possible 'fixes' would be good to know (particularly if it appears to work for both arecord versions 1.0.25 and 1.0.26, i.e. for Precise and Slacko 5.7).

Cheers, William

Posted: Wed 18 Jun 2014, 14:45
by charlie6
Hi William,
mcewanw wrote:...Puppy forum member SFR has alerted me to the fact that the following code line, originally and currently used in Precord, is causing /dev/null to be overwritten with a normal txt file, which prevents some other software operating correctly: Fixes itself on reboot of course:

Code: Select all

rxvt -geometry "64x2-0+172" -e arecord -V stereo /dev/null 2>/dev/null &
...
The error occurrence or effect appeared to depend on the version of arecord ...
I'm currently working, along with SFR, on a fix/workaround for Precord and will let you know what is decided upon. If anyone comes up with alternative possible 'fixes' would be good to know (particularly if it appears to work for both arecord versions 1.0.25 and 1.0.26, i.e. for Precise and Slacko 5.7).
Many thanks for warning ... :) i was totally ignorant of that ..!
Here running wheezy-3.5.2.5 which has alsa-utils-1.0.25 in it ...
I indeed use to avoid using other softwares while recording.

Charlie

Posted: Wed 18 Jun 2014, 23:48
by don570
I haven't changed my right click utility package to the new baconrecorder.
There's no need to rush changing it now.
____________________________________________________

Early precord version exemplar on implementing PAUSE control

Posted: Thu 19 Jun 2014, 01:30
by mcewanw
don570 wrote:I think that putting a pause button in the window would be difficult.
I use the arecord command which does support pause however
it has to be done in the terminal. :cry:
Attached is one of the early versions of precord from 2009 (which I should really revamp since its nice and simple, being mp3 only, and the code, just 400 lines long and all in one script and split into simple functions, relatively easily understood, I think, for adaption by others). Being a very slimmed-down precord, it should be easy to follow in terms of how STOP and CONT are used to effect pause button. The first gtkdialog-based audio app with pause control on Puppy forum was 2007 wiakrecord I believe, though the pause functionality (using STOP and CONT) in that was written in C.

That early precord also contains the original arecord VU attempt, which was partly suggested to me by Flash for an even earlier recorder in 2007. Unfortunately that attempt also overwrites /dev/null for some versions of arecord as we discovered back then. I'll be publishing precord with fix from SFR (Jake) shortly, but here is what he suggested as the general concept, which works:

Code: Select all

arecord -V stereo /root/arecord_temp & { sleep 1; rm -f /root/arecord_temp; }
Since the existing code overwrites the system file /dev/null, this is a critical fix for anyone using any recorder that is using the older arecord VU code, so it is best if fixed versions are published soon.

Cheers, William

NOTE: If pause is implemented by STOP/CONT method, it is probably worth mentioning that it is important to always issue a CONT signal to the process when the program is terminated. Otherwise any STOPped arecord process will be left running in the background and not correctly cleaned up. The reason is that you can't terminate the STOPped process unless a CONT signal has first been issued.

Posted: Thu 19 Jun 2014, 07:41
by charlie6
Hi William,
many thanks to you as also to Jake (as SFR) :D
that new script works nice !
Charlie

Posted: Thu 19 Jun 2014, 08:10
by mcewanw
That extra bit script was just the general concept charlie. It does work fine but you might like to use /tmp instead of /root for the temporary file, and we are currently preferring the alternative syntax for arecord vu meter thus:

Code: Select all

rxvt -e arecord -vv /tmp/vu_tmp & { sleep 1; rm -f /tmp/vu_tmp; }
You might also like to position the vu meter on your screen via the rxvt -geometry parameter and to give it a title with rxvt -title parameter. You can check the code in the newly updated revised precord to see exactly what that uses (though precord splits the above command into two parts because it stores the process ID inbetween each half).

Posted: Sat 21 Jun 2014, 19:17
by don570
NOTE: If pause is implemented by STOP/CONT method, it is probably worth mentioning that it is important to always issue a CONT signal to the process when the program is terminated. Otherwise any STOPped arecord process will be left running in the background and not correctly cleaned up. The reason is that you can't terminate the STOPped process unless a CONT signal has first been issued.
Thanks for the explanation. I'll try to modify baconrecorder in the
upcoming week.
_____________________________________________________-

french translation of the wikki (To be moved)

Posted: Sat 02 Aug 2014, 08:50
by Pelo
Bacon Recorder Bacon Recorder est une application simple pour enregistrer de l'audio en format WAV et MP3
Don 570, nice tool. Only missing fonction 'pause" :) and that would be perfect ! You make usefull and nice pets, be proud of it !

moved

Posted: Thu 13 Nov 2014, 19:26
by don570
version 4.6

-added Charlie6 suggestion for launching volume mixer

-yellow warning windows are used for problems that need attention

Posted: Fri 28 Nov 2014, 00:58
by don570
I posted a different version of baconrecorder 4.6.
It has mo files inside.

________________________________________________

Fonctionne, installed and tested.

Posted: Mon 01 Dec 2014, 09:21
by Pelo
well done, Don.
Rien à dire, çà fonctionne ! Easy, so easy (Puppy Lucid fluxbox 528 espana)
Frenchies, jetez un oeil ici pour les réglages , How To Transfer Old Audio Cassettes To MP3 Files .

Posted: Fri 06 Feb 2015, 05:42
by xanad
baconrecorder.mo IT

Posted: Tue 10 Feb 2015, 01:33
by don570
new version 4.7

-Italian translation improved
-bug fix --> foreign language name of recording is now used as default name

___________________________________

Posted: Wed 11 Feb 2015, 00:37
by don570
new version 4.8

- discovered a way to speed up launching when windows share is not
available. I use the command option -l that is

Code: Select all

df -l
This lists the mounted partitions without checking for the windows share
folder. Huge speed up when my windows computer is down!

_____________________________________________________