maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   WIP - Audacity 2.0.0 (https://talk.maemo.org/showthread.php?t=84692)

szopin 2012-06-04 22:31

WIP - Audacity 2.0.0
 
So, I managed to compile Audacity 2.0.0 on device. Runs. Adds echo when asked for test to simplest of .wavs (also stutters, but speed is secondary when it comes to functionality), then shuts up, no sound will ever come out of it, expect a reboot too. Version 1.3.7 (gtk) will also like to reboot without warning. Hardly any gain of speed. If you touch file in /etc to ignore reboots cause seems to be evident: unresponsive touchscreen. Camera/power/lock buttons all respond in no time. What caused reboot before is touchscreen not responding. Audacity uses wxWidgets, both native and gtk builds end up screwing touchscreen responsivity. Does anybody have experience in wxwidgets+maemo? Or maybe audacity is the culprit? Having no option for audio editing, I wish this is a cause of badly ported lib (though I tried with 2.8.12 manually overweitten, same errors):

nicholes 2012-06-05 12:56

Re: WIP - Audacity 2.0.0
 
is this a question or announce?

szopin 2012-06-06 06:57

Re: WIP - Audacity 2.0.0
 
Not really an announce (I can upload the binaries but problems mentioned would make it useless). Was hoping someone with experience in wxwidgets might have happened upon this bug and this could be as easily solvable as some SDL specific weirdnesses (seticon causing lack of window focus etc).

Addison 2012-06-06 07:01

Re: WIP - Audacity 2.0.0
 
Hiya Szopin.

Just curious, what were all of it's dependencies since you already probably know what my next question will be after this. :)

szopin 2012-06-06 07:40

Re: WIP - Audacity 2.0.0
 
Hiya Addison,

Code:

Finished configure:
LIBVORBIS: using SYSTEM libraries
LIBMAD: using SYSTEM libraries
LIBSNDFILE: using SYSTEM libraries
LIBFLAC: using SYSTEM libraries
LIBID3TAG: using SYSTEM libraries
LIBSAMPLERATE: disabled
LIBRESAMPLE: using LOCAL libraries
LIBSBSMS: using LOCAL libraries
LIBSOUNDTOUCH: disabled
LIBNYQUIST: using LOCAL libraries
LIBVAMP: using LOCAL libraries
LIBEXPAT: using SYSTEM libraries
LIBTWOLAME: disabled
FFMPEG: using LOCAL libraries
PORTSMF: using LOCAL libraries
PORTAUDIO: using LOCAL libraries
ladspa: enabled
audiounits: disabled

Some of these are optional, some more are required (wxWidgets >=2.8.10), without dedicated Diablo SDK build, not likely I'm afraid.

AapoRantalainen 2012-06-07 09:55

Re: WIP - Audacity 2.0.0
 
What sources you are using? What configure parameters? This is my trial:
Code:

wget http://audacity.googlecode.com/files/audacity-fullsrc-2.0.0.tar.bz2
tar xvf audacity-fullsrc-2.0.0.tar.bz2
cd audacity-src-2.0.0/
./configure \
        --disable-dynamic-loading \
        --with-expat=system \
        --with-ffmpeg=system \
        --with-lame=system \
        --with-libflac=system \
        --with-libid3tag=system \
        --with-libmad=system \
        --without-libresample \
        --with-libsamplerate=system \
        --with-libsndfile=system \
        --with-libtwolame=system \
        --with-libvorbis=system \
        --with-portaudio=local \
        --with-sbsms=local \
        --with-soundtouch=local \
        --with-libvamp=local \
        --with-midi=local \
        --with-portsmf=local

make
scp audacity user@192.168.1.111:


Finished configure:
LIBVORBIS: using SYSTEM libraries
LIBMAD: using SYSTEM libraries
LIBSNDFILE: using SYSTEM libraries
LIBFLAC: using SYSTEM libraries
LIBID3TAG: using SYSTEM libraries
LIBSAMPLERATE: using SYSTEM libraries
LIBRESAMPLE: disabled
LIBSBSMS: using LOCAL libraries
LIBSOUNDTOUCH: using LOCAL libraries
LIBNYQUIST: using LOCAL libraries
LIBVAMP: using LOCAL libraries
LIBEXPAT: using SYSTEM libraries
LIBTWOLAME: using SYSTEM libraries
FFMPEG: using SYSTEM libraries
PORTSMF: using LOCAL libraries
PORTAUDIO: using LOCAL libraries
ladspa: enabled
audiounits: disabled



On device I missed (at least):
Code:

apt-get install libvorbisenc2 libmad0 libflac8 libflac++6 libsamplerate0 libtwolame0 libjack0
Use case:
load wav
play (works, but shutters ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured )
stop
effect -> echo (time=1 and factor=0.5)
wait 55 seconds
play (works)


---
Audacity is big desktop application, but I think it works as expected. Do you want I push it to the extras-devel?

marmistrz 2012-06-07 10:39

Re: WIP - Audacity 2.0.0
 
Quote:

Originally Posted by AapoRantalainen (Post 1218825)
What sources you are using? What configure parameters? This is my trial:
Code:

wget http://audacity.googlecode.com/files/audacity-fullsrc-2.0.0.tar.bz2
tar xvf audacity-fullsrc-2.0.0.tar.bz2
cd audacity-src-2.0.0/
./configure \
        --disable-dynamic-loading \
        --with-expat=system \
        --with-ffmpeg=system \
        --with-lame=system \
        --with-libflac=system \
        --with-libid3tag=system \
        --with-libmad=system \
        --without-libresample \
        --with-libsamplerate=system \
        --with-libsndfile=system \
        --with-libtwolame=system \
        --with-libvorbis=system \
        --with-portaudio=local \
        --with-sbsms=local \
        --with-soundtouch=local \
        --with-libvamp=local \
        --with-midi=local \
        --with-portsmf=local

make
scp audacity user@192.168.1.111:


Finished configure:
LIBVORBIS: using SYSTEM libraries
LIBMAD: using SYSTEM libraries
LIBSNDFILE: using SYSTEM libraries
LIBFLAC: using SYSTEM libraries
LIBID3TAG: using SYSTEM libraries
LIBSAMPLERATE: using SYSTEM libraries
LIBRESAMPLE: disabled
LIBSBSMS: using LOCAL libraries
LIBSOUNDTOUCH: using LOCAL libraries
LIBNYQUIST: using LOCAL libraries
LIBVAMP: using LOCAL libraries
LIBEXPAT: using SYSTEM libraries
LIBTWOLAME: using SYSTEM libraries
FFMPEG: using SYSTEM libraries
PORTSMF: using LOCAL libraries
PORTAUDIO: using LOCAL libraries
ladspa: enabled
audiounits: disabled



On device I missed (at least):
Code:

apt-get install libvorbisenc2 libmad0 libflac8 libflac++6 libsamplerate0 libtwolame0 libjack0
Use case:
load wav
play (works, but shutters ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured )
stop
effect -> echo (time=1 and factor=0.5)
wait 55 seconds
play (works)


---
Audacity is big desktop application, but I think it works as expected. Do you want I push it to the extras-devel?

I used Audacity in Easy Debian some time ago, but lags a lot and no audio.
You may need to install all the depends in parts (said to be swappolube-recommends-connected)

AWasisto 2012-06-07 12:29

Re: WIP - Audacity 2.0.0
 
Processing audio file is extremely eats CPU. I've tried to save a 5 minutes WAV file and it takes up to 10 minutes 100% CPU usage of 1 GHz overclocked CPU. *Killer* :D

szopin 2012-06-10 18:43

Re: WIP - Audacity 2.0.0
 
Aapo: if your version lacks touchscreen problem please do. Audio editing on N900 is nonexistant at this point. would be a mini revolution. Next step: video :)

AapoRantalainen 2012-07-26 19:48

Re: WIP - Audacity 2.0.0
 
I didn't manage to make proper deb for audacity, this is binary of my buildings: http://cc.oulu.fi/~rantalai/maemo5/audacity

HtheB 2012-07-26 20:01

Re: WIP - Audacity 2.0.0
 
Quote:

Originally Posted by marmistrz (Post 1218845)
I used Audacity in Easy Debian some time ago, but lags a lot and no audio.
You may need to install all the depends in parts (said to be swappolube-recommends-connected)

Download the ''audio version'' of easy debian. works with audacity :)
I used it a lot on my N900 (to cut ringtones etc.)

Although a hildonized and a harmattan version is welcome :)


All times are GMT. The time now is 11:47.

vBulletin® Version 3.8.8