PawdioConverter 1.2 - audio format converter

Audio editors, music players, video players, burning software, etc.
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

PawdioConverter 1.2 - audio format converter

#1 Post by plinej »

Here's a gui I put together to convert between many different types of audio. It uses the ffmpeg (wma, mp2, ac3, ra), sox (many audio types), and lame (mp3) packages already in puppy and it has support for many other formats.

oggenc (ogg is already supported in ffmpeg & sox but the quality isn't as good)
http://www.murga-linux.com/puppy/viewto ... 22&t=14473

shorten
http://puppyfiles.org/dotpupsde/dotpups ... -3.6.0.pup

true type audio
http://www.murga-linux.com/puppy/viewto ... 59&t=13807

monkey's audio
http://puppyfiles.org/dotpupsde/dotpups ... c-3.99.pup

flac
http://www.murga-linux.com/puppy/viewtopic.php?t=15436

wavpack
http://www.murga-linux.com/puppy/viewto ... 40&t=13799

optimfrog
http://www.murga-linux.com/puppy/viewto ... 87&t=13802

la (lossless audio compresser)
http://www.murga-linux.com/puppy/viewto ... 71&t=13805

faac / faad (m4a & aac compresser/decoder)
http://www.murga-linux.com/puppy/viewto ... ch&id=3149
http://www.murga-linux.com/puppy/viewto ... 55&t=14970

lpac
http://www.murga-linux.com/puppy/viewto ... 89&t=13803

musepack (.mpc & .mpp)
http://www.murga-linux.com/puppy/viewto ... 66&t=15420

None of those options will be present in the gui unless the package is installed.

The gui is simple, you can select a single file or a full directory in the first box. If you selected a directory you will need to select the current audio type of the files you want to convert. The second audio type drop down box is to select what you want your output file to be. The files will be converted to the new type in the same directory as the input files unless the checkbox is unchecked. Hit the convert button, if you unchecked the checkbox you will now be prompted for a save to directory. You will then have various radiolist popup boxes depending on the output format you select (bit rate, mono/stereo, hertz rate, etc...). For m4a, mp3, wma, mpc (musepack), mpp (mpeg plus - musepack) & ogg (if oggenc is installed) you will also have the option to set tags on the files. The input files will not be deleted (just incase something goes wrong). Let me know if you find any bugs since I just ran thru about 10 different formats and it seemed to work fine.

CHANGELOG:
0.2 - added LPAC (.pac) lossless audio support and fixed a couple of bugs dealing with sox resampling.

0.3 - added a help file to explain various formats and added support for musepack.

04. - revised scripts to work with the new gtkdialog3 executable that will be in Puppy versions greater than 2.14. You can find the new gtkdialog3 here:
ftp://ibiblio.org/pub/linux/distributio ... 0.7.18.pet

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

0.6 - Fixed a bug that caused the program not to work at all and another bug when encoding to ape format.

0.7.1 - fixed a bug when removing temporary wav files & changed a bit of code when input files are wav files. Originally wav files were copied to the temporary directory and then encoded, now symlinks are used instead so it's less time consuming

0.7.2 - a few minor enhancements

0.8 -updated to hide certain functions when not applicable & changed the choose new directory from the old xdialog version to the gtkdialog3 version. Also fixed a couple of minor issues when decoding/encoding shn.

0.9 - fixed a bug when decoding/encoding files with spaces in their names and a couple of other minor fixes.

1.0 - changed all instances of Xdialog to gtkdialog. Made an option to convert in the background rather than having a popup terminal window.

1.1 - squashed some bugs dealing with spaces in file names. Changed the layout of the gui. Added some features.

1.2 - bugfixes
Attachments
Pawdioconverter-1.2.pet
(11.26 KiB) Downloaded 2603 times
Pawdioconverter-1.0.pet
(9.98 KiB) Downloaded 1950 times
Last edited by plinej on Sun 19 Aug 2007, 23:44, edited 20 times in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

Here's a pic
Attachments
pawdioconverter.jpg
(30.49 KiB) Downloaded 6305 times

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

Let me know if there's any other audio types you would like support for and I'll add them if possible.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#4 Post by plinej »

I have the encoding portion of the gui screwed up a little with sox. It won't matter unless you are changing the sampling rate. I just added support for another lossless audio format (LPAC). I've got a couple of other small changes to make as well so I'll be posting 0.2 very soon.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post by plinej »

0.2 is up

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

convert - Music fidelity, voice quality, smallest files

#6 Post by Lobster »

:D

I would like to encourage your efforts which are simple, straightforward and obvious. It is why (for example) SOXGui is in Puppy

:)

I would also like to widen the testing and knowledge of audio in Puppy. Perhaps I can do that by explaining my interest . . .

One of the things I do is rant about Puppy (some of which are here)
http://puppylinux.org/wikka/PawCasting

The Dogbone Voice Recorder creator used is here
http://www.murga-linux.com/puppy/viewto ... 4438#64438

Now one of my latest rants used Soxgui
http://tmxxine.com/sound/Jan14-2007.mp3

but as much as I tried to compress (I am sure others could do better) the file was 3 times bigger than my normal pawed casts - so in my last effort
http://www.tmxxine.com/sound/Feb08-2007.mp3
I went back to Dogbone (which has the limitation of set times which SoxGui overcomes . . .)

[ahem] So . . .

Conversion is very welcome but people have different needs - compression for music, lossless conversion, voice messaging . . . (which is my interest)

So what I would suggest is a dialogue box or some way of informing why a particular format is used.

Something like convert to this for max compatibility across OS and devices (that might be Mp3)

To support Open standards (that might be ogg)

or another way might be to convert FOR - Music fidelity, voice quality, smallest files

Anyway these are just suggestions that might trigger something :)

Really appreciate your efforts. Hope others will offer feedback :)
Last edited by Lobster on Tue 13 Feb 2007, 15:03, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

I guess I'm confused about your post Lobster, the 2 mp3's both seem to be 1MB, 6 minutes at 24 Kbps, & 22 KHz. I'll think about adding info to the various formats but I want to try and keep this as simple as possible with minimal dialogs. Maybe just a help section which explains the various formats and provide a link to the website where applicable?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#8 Post by Lobster »

:oops:

I think you are probably right and I am overcomplicating :)

I will insist my medication is upped to a stronger dose . . . meanwhile I will hit myself several times with a rubber mallet - just to be on the safe side . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#9 Post by plinej »

No, it's a good idea but I think a help file will do the job just fine. That way if you don't know what a specific format is you can look at the help file. That will also keep the gui simple as possible.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#10 Post by Lobster »

8) OK - I will carry on with the mallet for the next 10 minutes - just to be on the safe side :?
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#11 Post by plinej »

I just added support for musepack/mpeg plus (.mpc & .mpp). I'll put out an 0.3 version after I make a help file.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#12 Post by plinej »

version 0.3 is now up

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#13 Post by muggins »

bravo plinej,

i tried it for the first time today & it worked beautifully.

mrpeabody
Posts: 9
Joined: Tue 13 Feb 2007, 23:00
Location: Maryland USA

#14 Post by mrpeabody »

Real happy to see this- just what I am looking for.
Thanks!

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#15 Post by plinej »

0.4 is up

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#16 Post by Nathan F »

I'm adding it to Grafpup now. Thanks again.

Nathan
Bring on the locusts ...

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#17 Post by plinej »

updated to 0.5

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#18 Post by plinej »

updated to 0.6

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#19 Post by plinej »

updated to 0.7.1

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#20 Post by plinej »

updated to 0.7.2

Post Reply