Click to See Complete Forum and Search --> : cropping mp3s


hop-frog
04-09-2003, 05:57 PM
I would like to use a part of an mp3 (legally obtained of course) as the startup music in KDE. What can I use to crop the the file to play only part of it?

Gro$$
04-09-2003, 06:08 PM
Yeah I am also looking for a way to edit mp3 files. I know ProTools is good but that doesn't work with linux. So I was wondering if anyone had an idea of something else that was like ProTools but worked with linux (Red Hat 8) and either KDE, Gnome, or Bluecurve. It would be a great help.

redcape
04-10-2003, 08:53 AM
Audacity is a pretty good GUI sample editor.

http://audacity.sourceforge.net/

'sox' is useful for converting sample formats on the commandline.

redcape
04-10-2003, 08:59 AM
Linux has lots of audio software. A Google search immediately found this listing, for example:

http://linux-sound.org/

Gro$$
04-10-2003, 04:32 PM
Ok so I'm trying to use Audacity and I'm running into problems. First off there are dependancy issues that even

rpm -Uvh *.rpm

and

rpm -Fvh *.rpm

can't get around. So then I tried getting the source for version 1.0.0 and not 1.0.0-2. Its a .tgz file and File Roller (which came with Red Hat 8) can't open it. Any ideas??

redcape
04-10-2003, 04:57 PM
If you want us to solve your dependency problem you must post the errors. I assume you installed the RPMs in the 'requires' list on the download page?

I don't know what File Roller is, but to extract the source archive you would enter:
tar xvfz audacity-src-1.0.0-2.tgz

Gro$$
04-10-2003, 06:48 PM
Ok so I ran 'rpm -Uvh *.rpm' as root after I was in the directory where audacity, along with the requirements as stated on the site, are and I got this:

error: Failed dependencies:
libogg = 1.0 is needed by (installed) libogg-devel-1.0-1
libvorbisenc.so.2 is needed by (installed) sox-12.17.3-7
libvorbisenc.so.2 is needed by (installed) vorbis-tools-1.0-1
libvorbisenc.so.2 is needed by (installed) timidity++-2.11.3-4
libvorbisenc.so.2 is needed by (installed) kdebase-3.0.3-14
libvorbisfile.so.3 is needed by (installed) sox-12.17.3-7
libvorbisfile.so.3 is needed by (installed) kdemultimedia-arts-3.0.3-4
libvorbisfile.so.3 is needed by (installed) kdemultimedia-kfile-3.0.3-4
libvorbisfile.so.3 is needed by (installed) kdemultimedia-libs-3.0.3-4
libvorbisfile.so.3 is needed by (installed) vorbis-tools-1.0-1
libvorbisfile.so.3 is needed by (installed) xmms-1.2.7-13.p
libvorbisfile.so.3 is needed by (installed) SDL_mixer-1.2.4-5
libvorbis = 1.0 is needed by (installed) libvorbis-devel-1.0-1

So does anyone know what I can do to fix this?

Also I tried 'rpm -Fvh *.rpm' and it seems like it is installed but when I do a locate for audacity all I find is the .rpm of it that is in my /home directory.

redcape
04-10-2003, 07:36 PM
Looks like the versions of libogg and libvorbis on the site are older than the versions you already have installed. Therefore RPM quite wisely is reluctant to downgrade to the rc3 versions, because it knows many packages require the 1.0 versions.

I suggest you attempt to use Audacity with your existing 1.0 libogg and libvorbis. Do not install the libogg and libvorbis RPMs. Just install the Audacity (and wxGTK if needed) RPMs. If RPM complains that it needs a specific version of libogg and libvorbis, use the --nodeps option to override it.

Gro$$
04-10-2003, 07:42 PM
well thanks a lot that worked great!! now I have a slight problem when I try to run audacity:

audacity: error while loading shared libraries: libvorbisenc.so.0: cannot open shared object file: No such file or directory

and when I do a locate for 'libvorbisenc.so' I get:

/usr/lib/libvorbisenc.so.2.0.0
/usr/lib/libvorbisenc.so.2
/usr/lib/libvorbisenc.so

So how to I tell audacity to look for /usr/lib/libvorbisenc.so and .so.2 and .so.2.0.0?? :confused:

redcape
04-10-2003, 07:51 PM
We can try to fool audacity into using the newer libraries and hope they are compatible. Enter:

ln -s /usr/lib/libvorbisfile.so.3.0.0 /usr/lib/libvorbisfile.so.0

ln -s /usr/lib/libvorbisenc.so.2.0.0 /usr/lib/libvorbisenc.so.0

Gro$$
04-10-2003, 08:03 PM
THANKS SOO MUCH MAN!!!!!! it works great and audacity seems to be working fine. Thanks again.