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 Sun 21 Dec 2014, 11:54
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 8 of 9 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Mon 16 Jun 2014, 11:36    Post_subject:  

I noticed the animated gif
doesn't work properly while using Precise Puppy Crying or Very sad

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. Sad
__________________________________________

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).
_________________________________________
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1033
Location: South of Belgium

PostPosted: Mon 16 Jun 2014, 12:33    Post_subject:  

Don,
Thanks for replying Smile
Quote:
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
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Mon 16 Jun 2014, 12:49    Post_subject:  

Would you check my right click version as well?
http://www.murga-linux.com/puppy/viewtopic.php?p=761002#761002
_______________________________________
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Mon 16 Jun 2014, 19:41    Post_subject:  

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
____________________________________________
Back to top
View user's profile Send_private_message 
charlie6


Joined: 30 Jun 2008
Posts: 1033
Location: South of Belgium

PostPosted: Mon 16 Jun 2014, 23:47    Post_subject:  

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 )
Quote:
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 Confused - 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 Very Happy
Cheers, Charlie

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

last last edited: just a little extra tuning .. have recompiled aplay to get bars "|" instead of squares "#" vu-meters display ... Very Happy
BC-4.5_VuMeter_retrovol.jpg
 Description   aplay recompiled displaying bars
 Filesize   17.99 KB
 Viewed   277 Time(s)

BC-4.5_VuMeter_retrovol.jpg

BCVU_gif-140617.pet
Description 
pet

 Download 
Filename  BCVU_gif-140617.pet 
Filesize  4.77 KB 
Downloaded  58 Time(s) 
anime.gif
 Description   
 Filesize   5.11 KB
 Viewed   373 Time(s)

anime.gif

Back to top
View user's profile Send_private_message 
gcmartin


Joined: 14 Oct 2005
Posts: 4507
Location: Earth

PostPosted: Tue 17 Jun 2014, 15:10    Post_subject:  

This VU meter (any meter) is a good idea for use in recording. Make easy to spot operation/non-operation of mic/recording.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
mcewanw

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

PostPosted: Tue 17 Jun 2014, 17:02    Post_subject:  

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:
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.php?p=373193#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

_________________
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_website 
charlie6


Joined: 30 Jun 2008
Posts: 1033
Location: South of Belgium

PostPosted: Wed 18 Jun 2014, 10:45    Post_subject:  

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:
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 ... Smile 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
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Wed 18 Jun 2014, 19:48    Post_subject:  

I haven't changed my right click utility package to the new baconrecorder.
There's no need to rush changing it now.
____________________________________________________
Back to top
View user's profile Send_private_message 
mcewanw

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

PostPosted: Wed 18 Jun 2014, 21:30    Post_subject: Early precord version exemplar on implementing PAUSE control  

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:
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.
precord-1.0.2.pet.tar.gz
Description  Just extract the archive for reading code. Best not to install since could interfere with any later version installed.
gz

 Download 
Filename  precord-1.0.2.pet.tar.gz 
Filesize  3.44 KB 
Downloaded  58 Time(s) 

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
charlie6


Joined: 30 Jun 2008
Posts: 1033
Location: South of Belgium

PostPosted: Thu 19 Jun 2014, 03:41    Post_subject:  

Hi William,
many thanks to you as also to Jake (as SFR) Very Happy
that new script works nice !
Charlie
Back to top
View user's profile Send_private_message 
mcewanw

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

PostPosted: Thu 19 Jun 2014, 04:10    Post_subject:  

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:
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).

_________________
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_website 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Sat 21 Jun 2014, 15:17    Post_subject:  

Quote:
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.
_____________________________________________________-
Back to top
View user's profile Send_private_message 
Pelo


Joined: 10 Sep 2011
Posts: 3452
Location: Mer méditerrannée (1 kms°)

PostPosted: Sat 02 Aug 2014, 04:50    Post_subject:  french translation of the wikki (To be moved)
Sub_title: to-day, Bacon Recorder Lesson (first class)
 

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" Smile and that would be perfect ! You make usefull and nice pets, be proud of it !

moved

Edited_time_total
Back to top
View user's profile Send_private_message YIM 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Thu 13 Nov 2014, 15:26    Post_subject:  

version 4.6

-added Charlie6 suggestion for launching volume mixer

-yellow warning windows are used for problems that need attention
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 8 of 9 Posts_count   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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