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 Fri 25 Jul 2014, 19:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Soxgui-0.9 - a gtkdialog gui for several sox commands
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 26 Dec 2006, 01:14    Post subject:  Soxgui-0.9 - a gtkdialog gui for several sox commands
Subject description: march 6th 2007
 

I wrote another gui, this time for sox. This gui will convert audio files between supported sox audio formats, mix 2 audio files, merge multiple audio files, Resample, mono/stereo conversion, & adjust amplitude.

0.2
removed the soxmix gui since Puppy doesn't have soxmix. Combined the resample/stereo gui with the audio conversion gui. If you just want to resample or convert to stereo/mono but keep the same type of file just select the output type the same as the input from the drop down boxes. Your new file will be named new-(input file name). I added some more audio formats and included ffmpeg in the scripts for the new formats.

0.3
Put the soxmix gui back in but the button will not be displayed if soxmix isn't in your $PATH. Added a gui for the 'rec' function in the sox package.

0.4
Added a gui for the sox play functions and gave the main menu a facelift

0.5
Added a gui for various sound effect options

0.6
Added a gui for applying fade in or outs to selected wav files. Added mp3 to the merge gui as long as mp3wrap is found in your $PATH. Removed the gui for audio conversion and instead made it a link to pawdiconverter since it is better.

0.7
Revised scripts to work with the new gtkdialog3 executable that will be in Puppy versions greater than 2.14. Also found a few bugs that I've fixed.
The new gtkdialog3 is here:
ftp://ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-2/gtkdialog-0.7.18.pet

0.7.1
forgot to include an icon so I repackaged

0.8
updated the icons to use the stock gtk icons and made program install to /usr/local/apps/ instead of /usr/local/

0.9
fixed a couple of bugs

If you want to use all soxgui functions you'll need to install:

pawdioconverter (another gtkdialog gui to convert between audio formats):
http://www.murga-linux.com/puppy/viewtopic.php?search_id=736334907&t=15363

mp3wrap (small cli tool to merge mp3 files):
http://www.murga-linux.com/puppy/viewtopic.php?search_id=818899436&t=15496
Soxgui-0.9.pet
Description 
pet

 Download 
Filename  Soxgui-0.9.pet 
Filesize  6.86 KB 
Downloaded  1829 Time(s) 

Last edited by plinej on Tue 06 Mar 2007, 11:40; edited 15 times in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 26 Dec 2006, 01:22    Post subject:  

Here's a pic of all the gui's
soxgui.jpg
Description 
jpg

 Download 
Filename  soxgui.jpg 
Filesize  200.15 KB 
Downloaded  3131 Time(s) 
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 29 Dec 2006, 23:24    Post subject:  

updated to 0.2
Back to top
View user's profile Send private message 
mmmkay

Joined: 15 Dec 2006
Posts: 22

PostPosted: Tue 09 Jan 2007, 04:18    Post subject: this might be a stupid question
Subject description: but where do i download this from pls?
 

thanks
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 09 Jan 2007, 07:38    Post subject:  

plinej soxgui is in 2.13 and very good too. Will you be adding the sound effect options?

It would be great to add a facility to record sound

I have been using puppys built in "wavrec"
and "wavplay" in my dogbone program which I use for recording audio "pawedcasts" in Puppy
but this is not satisfacory for general usage as the recordings have a set time.

Is there any small record/playback program in Linux that you are aware of?

Is xwave one potential?

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Jan 2007, 10:09    Post subject:  

mmmkay,

Like lobster said Soxgui is in Puppy 2.13 but if you're running an older version just download the dotpup in the first message of this thread.

lobster,

I may add some of the sound effect options to the gui. Anything in particular you use? I can probably add wavrec and wavplay to the gui too, although I've never used either of them.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 09 Jan 2007, 11:32    Post subject:  

I think echo is usually a nice effect Smile

This is from dogbone

Code:
#!/bin/sh

DATETIME=$(date +%b%d-%Y-%H:%M)
WAVF=messages/$DATETIME.wav
MSGF=messages/$DATETIME.mp3

[ -z $1 ] && exit  # in case someone clicks this

./timer.pb $1 &
# NOTE: i changed -s 16100 to -s 16000 (wavegain requires standard bitrates)
wavrec -s 16000 -M -t $1 -b 16 $WAVF
./wavegain -y $WAVF &
wavplay $WAVF
lame -a -h -b 24 --nspsytune --resample 22 --lowpass 7 $WAVF $MSGF
rm -f $WAVF
exec ./dbone16



Code:
wavrec -s 16000 -M -t $1 -b 16 $WAVF


this is the wav rec with $1 = a time variable
and $WAVF = name of file to save to

I think if you just replace $1 with 15 it records for 15 sec
this is one of its limitations . . . you have to use a set time

this will play a wav file (where $WAVF is the file to play)
Code:
wavplay $WAVF


Hope that helps - the parameters for the two programs are in Puppy help under wavplay

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Jan 2007, 11:54    Post subject:  

The sox package comes with the rec executable. There's no time restriction on it.

rec --help

here's an example:
rec -s w -r 44100 -c 2 test.wav
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 09 Jan 2007, 14:31    Post subject:  

I removed the stereo and two channels (got garbled sound)
this worked
Code:
 rec -r 44100 test.wav

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Jan 2007, 14:50    Post subject:  

Okay, I'll do some testing with it soon and see what I can come up with.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Jan 2007, 16:27    Post subject:  

--edit--

disregard

Last edited by plinej on Wed 17 Jan 2007, 15:32; edited 1 time in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 17 Jan 2007, 15:31    Post subject:  

Alright, I updated to 0.3 which includes a record gui utilizing the 'rec' function in the sox package. I have no microphone so I can't test it. It does appear to work and the files are created as specified and ffmpeg says they are valid files with the attributes I chose from within the gui. I didn't update the help section since over the next few days I'll probably be doing some more work trying to incorporate some of the sox sound effects into the gui. Just figured I'd throw this out there so you guys with microphones can test it out.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 17 Jan 2007, 19:42    Post subject:  

I just added a gui to utilize the play function of sox. I'll wait until I add some more functions before I update to 0.4. This gui will play your selected file or it will play a full directory of selected file type (from sox supported formats drop down box).
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 18 Jan 2007, 01:15    Post subject: recording function works
Subject description: using headphones plugged into the mic socket
 

Smile great - the recording function works (very nicely done - simple, obvious, just works).

Tested, wav, au and ogg.

You can use the old trick of using headphones plugged into the mic socket if you have no mic. The sound will not be great but it works . . .

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 18 Jan 2007, 19:01    Post subject:  

0.4 is up. I haven't had time to add any of the sound effect options yet. I added the aforementioned play gui to play your sox supported audio formats (wav, ogg, mp3, & many more). I also gave the menu gui a facelift ala Nathan's Grafburn program.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0792s ][ Queries: 12 (0.0090s) ][ GZIP on ]