View previous topic :: View next topic |
Author |
Message |
BennyP Guru
Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Thu Jul 22, 2004 8:42 pm Post subject: Gentoo Multimedia on iBook/PPC |
|
|
hey Gentoots!
Apple makes some great Multimedia hardware, Let's use Free Software to get the most out of it! I want this thread to be a hub for Multimedia issues with PPC hardware.
The #1 reason I'm getting an iBook is so I can have a portable Sound Studio for live performances, etc. What I want from you, the community is to know how many sound programs you all have gotten working on the PPC platform either with Gentoo-PPC OR Gentoo-OSX. W. can make this Thread into a Troubleshooter for all these myriad APPS.
The proggies I'm most interested in running are:
Audacity
runs natively on OS X
JACK Audio Connection Kit
without jack, what's the point?
ZynAddSubFX
possibly the best softsynth I've ever seen
Hydrogen
Boom Boom Tick B-Boom B-Boom Tick
Freebirth
This one has a special place in my heart
Ardour
for Heavyduty stuff
Sweep
Swwiiicca ricca /rrrowwwwwwwww
Rezound
for sound effects
Jack-Rack
mmm ladspa
Spiral Synth Modular
crazy sound-alchemist goodness
ecamegapedal
awesome processor
and ANY OTHERS we can think of/get working _________________ Could it be? |
|
Back to top |
|
|
KuroRyu Tux's lil' helper
Joined: 11 Mar 2004 Posts: 95 Location: Phoenix, AZ, USA
|
Posted: Wed Dec 22, 2004 5:34 am Post subject: |
|
|
i guess i'll start this off, then
the only 2 you can't emerge are zynaddsubfx and ecamegapedal(missing keyword for both) but the rest are available thru package.keywords... here's to lazy people(cause there are a lot of masked deps)
Code: | media-sound/hydrogen
media-sound/freebirth
media-sound/ecasound
media-sound/rezound
media-libs/ladspa-cmt
x11-libs/fox
media-sound/audacity
media-libs/libsamplerate
dev-libs/fftw
media-sound/ardour
media-sound/jack-audio-connection-kit
media-libs/liblrdf
media-libs/raptor
media-sound/sweep
media-sound/jack-rack
media-sound/spiralmodular
|
i'm emerging them all now, will update when i run into anything, which hopefully won't happen
edit: btw, i'm using gentoo-ppc _________________ I'm ready to rock out with my Glock out! |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Sun Jan 02, 2005 11:46 am Post subject: |
|
|
For me sound was always a headache topic on my G3 iBook. Running the newest kernel (2.6.10) most of the problems seem to have disappeared, but two still subsist:
I tried hydrogen on my iBook G3. Unfortunately, all of the sound output of hydrogen I get is noise. In xmms (with alsa output), all 44.1 kHz mp3 files run a bit too fast (probably at 48 kHz), and there are many pops in the music output. Using the aRTS output-plugin of xmms, the music plays at the correct speed and sounds clear. Trying the jack-output-plugin, jackd reports:
"sample rate in use (44100 Hz) does not match requested rate (48000 Hz)"
Why does xmms want 48 kHz?
I would be interested in hydrogen / xmms reports of other PPC users. Does it run ok somewhere, or is anyone getting the same problem as I? _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
gordin Guru
Joined: 11 Oct 2002 Posts: 300 Location: Germany/WI
|
Posted: Tue Jan 04, 2005 11:07 am Post subject: |
|
|
Try setting the buffer size (ms) to "1" in the konfiguration dialog for alsa in xmms. This solves the problem for me...
But alsa seems to consume a lot of cpu, definitively more than oss (which is confusing because it is just the oss-emu based on alsa) |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Tue Jan 04, 2005 1:18 pm Post subject: |
|
|
I cannot set buffer size below 200 ms in xmms (the default value is 500). With 200, nothing changes, I still get too fast and choppy sound.
I solved my jack problem (see here).
Hydrogen + jack works now. But the jack output of xmms only produces white noise (the same holds for the ALSA output of hydrogen and the ALSA output of alsaplayer (jack output of alsaplayer works fine)). My suspicion is that this a typical PPC-endian problem). Could anyone check the behaviour of these three programs on his PPC machine? _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
gordin Guru
Joined: 11 Oct 2002 Posts: 300 Location: Germany/WI
|
Posted: Tue Jan 04, 2005 1:39 pm Post subject: |
|
|
spitzwegerich wrote: | I cannot set buffer size below 200 ms in xmms (the default value is 500). With 200, nothing changes, I still get too fast and choppy sound.
|
Hmm, might be a Translation problem... there are two changeable values in the dialog. Both are named "Puffer-Größe" in german wihch means "Buffer Size". So I mean the second value, this can be set to 1.
[EDIT]: I just set the locale to "en" and it is named "Period Time" |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Tue Jan 04, 2005 2:44 pm Post subject: |
|
|
I played a bit with the "Period time" setting. And found out:
For values 1-5 ms the sound seems to be clear
Beginning at 6 ms, the sound gets choppy
xmms gets stuck in an infinite loop for values between 62ms and 92 ms. On killing xmms I get the message
Code: | Message: alsa mixer timed out
Segmentation fault
You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report. |
For values of 93ms or above, the sound is clear again.
For really bad sound (without infinite loop) set Period time to 61ms.
This is quite mysterious. Does anyone have a x86 machine to find out if this behaviour is PPC-specific? _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Wed Jan 05, 2005 1:19 pm Post subject: |
|
|
But ALSA is the much better driver architecture and ALSA (as well as ALSA-based sound servers like JACK) will be the future.
For this reason some newer programs do not deliver OSS output anymore. OSS will be deprecated soon.
So we really should get our PPC-programs ALSA-ready.
I opened some bug reports:
xmms ALSA output plugin
xmms JACK output plugin
hydrogen OSS output
alsaplayer ALSA output _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Feb 16, 2005 8:38 pm Post subject: |
|
|
spitzwegerich wrote: | I played a bit with the "Period time" setting. And found out:
For values 1-5 ms the sound seems to be clear
Beginning at 6 ms, the sound gets choppy
xmms gets stuck in an infinite loop for values between 62ms and 92 ms. On killing xmms I get the message
Code: | Message: alsa mixer timed out
Segmentation fault
You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report. |
For values of 93ms or above, the sound is clear again.
For really bad sound (without infinite loop) set Period time to 61ms.
This is quite mysterious. Does anyone have a x86 machine to find out if this behaviour is PPC-specific? |
Ha, just what I was looking for to get smooth non-stuttering sound on my mac mini. Thank you very much for your testing! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
seebs n00b
Joined: 21 Mar 2005 Posts: 1
|
Posted: Mon Mar 21, 2005 5:56 am Post subject: |
|
|
FWIW, NetBSD's "snapper" driver worked for me on the Mini; I commented out the check for the text "snapper" in the compat string, because I was getting "AOAKeyLargo", and the Snapper driver worked... Although only with /dev/sound, not /dev/audio, suggesting a limited set of supported playback modes. |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1768 Location: PB, Germany
|
Posted: Sun May 08, 2005 8:11 pm Post subject: |
|
|
spitzwegerich wrote: | In xmms (with alsa output), all 44.1 kHz mp3 files run a bit too fast (probably at 48 kHz), and there are many pops in the music output. | I solved this problem by switching the MPEG Layer 1/2/3 input plugin to 22khz (which just produces noise), and back to 44khz.
Right now I have the settings: Audio device; hw:0,0 (instead of default), Buffer time 500ms, Perdiod time 5ms.
Compared to mplayer which plays fine, the output sounds the same speed and isn't choppy anymore.
Pao. |
|
Back to top |
|
|
kulture Tux's lil' helper
Joined: 04 Aug 2005 Posts: 82
|
Posted: Thu Dec 01, 2005 7:56 pm Post subject: |
|
|
there is a nice gtk1 application called trommler, its a drum machine like hydrogen.. |
|
Back to top |
|
|
jedsen Apprentice
Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Mon Dec 12, 2005 4:55 am Post subject: |
|
|
Does anyone have freebirth working? I can't figure out how to change the default audio output device. It uses alsa automatically, and the sound is staticky, like in hydrogen using alsa.
Also when loading spiralsynthmodular, it can't load any plugins:
Code: | WARNING: File /usr/lib/SpiralPlugins/DelayPlugin.so could not be examined
dlerror() output:
/usr/lib/SpiralPlugins/DelayPlugin.so: undefined symbol: _ZN10SpiralInfo6LOCALEE
WARNING: File /usr/lib/SpiralPlugins/LFOPlugin.so could not be examined
dlerror() output:
|
etc.
The audio in ZynAddSubFX is also not working for me, although it registers the jack daemon running and starts up fine. Curious.
Oh, by the way, Benny, you might want to get an ibook soon if you want it to be a ppc based system:
http://www.theregister.co.uk/2005/12/12/intel_ibook_rumour_latest/
It might also be cool to have an x86 laptop, but in that area you have a lot of choices. |
|
Back to top |
|
|
jedsen Apprentice
Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Wed Dec 14, 2005 11:13 pm Post subject: |
|
|
Anybody have ZynAddSubFX working? I get no errors, but also no sound when using jack output. When using oss, I get very staticky, distorted output.
Also, it errors while recording, which renders it useless. |
|
Back to top |
|
|
|