Thursday, September 25, 2008

APE or Monkey's Audio format playback and burning in Ubuntu

Classified: Ubuntu - Leo @ 6:05 pm
Tags: APE, codec, Monkey's Audio, Ubuntu
source: http://lcardinaals.wordpress.com/2008/08/03/monkeys-audio-formaat-afspelen-in-ubuntu/ Dutch
This no longer necessary is you installed the medibuntu codecs; just try mplayer first!!
"
I'm a big music lover and also download music sometimes, especially in the format FLAC and Monkey's Audio (extension. APE). Both formats are lossless compression methods. Then I put them into the m4a (mp4) format, a lossy compression method. Beautiful small and still good quality. Certainly for the iPod. FLAC is not a problem as this on Ubuntu and Linux is sufficiently supported. Monkey's Audio was a problem, but this is now resolved.

The Monkey's Audio Codec (mac) can be installed through the repository of Morgoth. These should we do first recording as a soft real source:

1. Go to System -> Administration -> Software Sources.
2. In the Software Sources window, click the tab "Third party software."
3. Click the Add button.
4. Fill in APT line: "

deb http://morgoth.free.fr/ubuntu gutsy back-main

and click on the "Add Source" button.
5. Let the Software Sources window even open.
6. Now we go into the authentication key (GNU Privacy Guard key) of Morgoth add, so we APE package can download via the repository, by downloading it here: Morgoth signing key.
7. Click the Authentication tab in the Software Sources window.
8. Click the "Import Key File ... 'button.
_________________
I had a problem with this:another way of doing this:

Import signing key into APT

Signing is available to ensure that you download packages I really made myself You have to download the Morgoth signing key, import it into APT trusted repositories database by issuing the following command in a shell (terminal) :

wget -O - http://morgoth.free.fr/files/morgoth-signkey.gpg.asc | sudo apt-key add

source: http://morgoth.free.fr/ubports/#aptkey

____________________________________

9. Go to the folder where the authentication key is kept (by download) and select morgoth-signkey.gpg.asc and click the OK button.
10. Now click the Close button to the Software Sources window.
11. Go to System -> Administration -> Synaptic package management '
12. In the 'Synaptic Package Manager window, click the Search button in the toolbar.
13. In the Find window fill in the 'Search:' monkey's audio "(without quotes) and click the Search button.
14. In the 'Synaptic Package Manager window, select audio monkeys with the right mouse button and choose "Mark for installation". Accept the install dependencies.
15. Click Apply in the toolbar.
16. Click the Summary window on the Apply button.
17. Click the "Changes made" window on the Close button.
18. Close the 'Synaptic package management' window.

Now the library libmac2 with the Monkey's Audio format can be installed and used in XMMS2, MPlayer, audacious and soundKonverter. Xine gstreamer and have no support. This includes the use of Monkey's Audio so in Amarok, but there have soundKonverter again.

Enjoy the perfect music."


Burn Ape with k3b

APE, Monkey's Audio and Ubuntu
Monkey's audio files (APE and the associated CUE files) are not configured by default to work with Ubuntu's burners (either Gnomebaker or K3B). There are the steps I went through to make it work - just sharing in case anyone else needs to do this:

  1. 1. Install k3b: sudo apt-get install k3b
  2. 2. Get the Monkey's Audio codecs from the KDE-Apps plug ins repository at http://www.k3b.org/download
  3. 3. Install KDE libs: sudo apt-get install kdelibs4-dev
  4. 4. Install Qt libs: sudo apt-get install libqt3-mt-dev. The reason for install qt3 libraries is because it appears that the APE plug ins require it.
  5. You'll need the k3b audio encoders/decoders. So, sudo apt-get install libk3b-dev
  6. And you'll also need to sudo apt-get install libhal-dev. I'm not sure why this is necessary, since this is the hardware abstraction layer, which should be part of the k3b core. Why does the APE codec need this? Guess it doesn't matter why - you just do, dammit
  7. Untar/unzip the monkey's audio plugins from step 2 above. Then run the standard install prcess: ./configure && make && sudo make install like this
  8. The remaining steps are easy (make sure you’re in the k3bmonkeyaudioplugin-3.1 directory when typing in the terminal):

    ./configure
    make
    sudo make install

and <>Configure k3b... ->Plugins, you'll see the Monkey's Audio entry in the codec list.

After this, K3b recognises APEs easily. Start it, click ‘New Audio CD Project’, locate the CUE file in the browser pane and double-click it. You can play the tracks from within K3b and rip the files by clicking the blue arrow button.
http://ubuntuforums.org/showthread.php?t=380394
http://ascending.wordpress.com/2007/02/10/handling-ape-cue-images-with-k3b/

2 comments:

Sergey said...

Thank you, very much!
It works!

Ismael said...

Hi, That worked for me on Ubuntu 9.04 Jaunty Jackalope for x86 architecture.

Now I'm trying to set it up on Ubuntu 9.10 Karmic Koala for AMD64 architecture and The "./confirgure" seems to end OK, however the "make" fails.
Do you have any tips that could help me to solve this?

Here's the detail:

Good - your configure finished. Start make now

user@machine:~/Escritorio/k3bmonkeyaudioplugin-3.1$ make
make all-recursive
make[1]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1'
Making all in po
make[2]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/po'
rm -f de.gmo; : -o de.gmo ./de.po
test ! -f de.gmo || touch de.gmo
make[2]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/po'
Making all in src
make[2]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src'
Making all in libmonkeyaudio
make[3]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio'
Making all in Assembly
make[4]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio/Assembly'
make[4]: No se hace nada para `all'.
make[4]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio/Assembly'
make[4]: se ingresa al directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio'
if /bin/bash ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DBUILD_CROSS_PLATFORM -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT APELink.lo -MD -MP -MF ".deps/APELink.Tpo" -c -o APELink.lo APELink.cpp; \
then mv -f ".deps/APELink.Tpo" ".deps/APELink.Plo"; else rm -f ".deps/APELink.Tpo"; exit 1; fi
APELink.cpp: In member function 'void CAPELink::ParseData(const char*, const str_utf16*)':
APELink.cpp:66: error: invalid conversion from 'const char*' to 'char*'
APELink.cpp:67: error: invalid conversion from 'const char*' to 'char*'
APELink.cpp:68: error: invalid conversion from 'const char*' to 'char*'
APELink.cpp:69: error: invalid conversion from 'const char*' to 'char*'
make[4]: *** [APELink.lo] Error 1
make[4]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src/libmonkeyaudio'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/user/Escritorio/k3bmonkeyaudioplugin-3.1'
make: *** [all] Error 2

Thanks in advance & regards!
Mel

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.