hi list,
i just recently switched from xp to ubuntu and i'm having difficulties getting midi to work in pd. i've been struggling with it for a week, but i can't get it to work - at all.
i had some general midi problems, but those were taken care of with fluidsynth, but when i run fluidsynth first the audio is blocked when i start pd, and vice versa.
it would be very kind if someone with the knowledge or similar experiences could help me out here.
i'm running pd-0.39-1 on (breezy) ubuntu and i have a (crappy) on-board soundcard.
Carl
Hallo, Carl Najafi hat gesagt: // Carl Najafi wrote:
i just recently switched from xp to ubuntu and i'm having difficulties getting midi to work in pd. i've been struggling with it for a week, but i can't get it to work - at all.
i had some general midi problems, but those were taken care of with fluidsynth, but when i run fluidsynth first the audio is blocked when i start pd, and vice versa.
Most soundcards allow only one application access to the playback hardware. If you want to run more, you will need to use the Jack sound server (or a similar solution, but Jack is best.) Install "jackd" and "qjackctl" with Synaptic, stop the Gnome soundserver using the Audio preferences of Ubuntu and instead launch qjackctl and through that, the jackd server. Then Pd and fluidsynth need to be started to use the jackd server. Normally jack is autodetected, otherwise use "pd -jack" or so.
Or instead use the [fluid~] external which makes fluidsynth available as a Pd object.
Now I only wonder, where the midi problems are with this?
Frank Barknecht _ ______footils.org_ __goto10.org__
Hi gain,
--- Frank Barknecht fbar@footils.org wrote:
Most soundcards allow only one application access to the playback hardware. If you want to run more, you will need to use the Jack sound server (or a similar solution, but Jack is best.)
In windows xp I was able to get sound from multiple softwares simultaneously. Shouldn't I be able to do so in linux as well?
Install "jackd" and "qjackctl" with Synaptic, stop the Gnome soundserver using the Audio preferences of Ubuntu and instead launch qjackctl and through that, the jackd server. Then Pd and fluidsynth need to be started to use the jackd server. Normally jack is autodetected, otherwise use "pd -jack" or so.
I will try that.
Or instead use the [fluid~] external which makes fluidsynth available as a Pd object.
I will try that as well...
thanks for the hints.
Hallo, Carl Najafi hat gesagt: // Carl Najafi wrote:
In windows xp I was able to get sound from multiple softwares simultaneously. Shouldn't I be able to do so in linux as well?
Yes, with software mixing for example by using Jack. Windows' standard drivers do that software mixing as well behind the curtain, in Linux it is an explicit operation. Which is considered to be better, as software mixing - when not done right as in Jack - can make latency grow.
Frank Barknecht _ ______footils.org_ __goto10.org__
hardware. If you want to run more, you will need to use the Jack sound server (or a similar solution, but Jack is best.)
says you...i say unless you need esoteric interapp routing capabilities and are on i686 and want to patch your kernel and run everything as root its not worth fighting with this userlayer util to get it to run as smoothly (in terms of eliminating audio dropouts) as ALSA's dmix or hardware mix..
In windows xp I was able to get sound from multiple softwares simultaneously. Shouldn't I be able to do so in linux as well?
yep, you can do this directly via alsa, by adding 'dsnoop' or 'dmix' entries to your /etc/asound.conf, or via jack, or via your card's hardware mixing (if its good enough)
Hallo, carmen hat gesagt: // carmen wrote:
says you...i say unless you need esoteric interapp routing capabilities and are on i686 and want to patch your kernel and run everything as root its not worth fighting with this userlayer util to get it to run as smoothly (in terms of eliminating audio dropouts) as ALSA's dmix or hardware mix..
What's hard about installing two software packages: jackd and qjackctl? I run a vanilla kernel, not patching at all. I also don't run as root, I use the realtime-lsm which can be installed through Synaptic as well in one small additional step. Dmix is okay for a desktop system, but not really a proper solution for music production.
And depending on the card you have, dmix can be hard to setup as well. See my Dmix-Howto for a detailed example using the ICE1712 cards.
Frank Barknecht _ ______footils.org_ __goto10.org__