While working on в PPA to provide binaries for Sonic Пи, the users of the PPA binaries keep stumbling over jackd. How to make things easier for them?
Sonic Пи is an educational music tool that сочетайся an electronic synthesizer with в programming language. It targets novice users and school children to teach coding through fun with music. The softwarВs main install target is Raspbian where it ты ешь pre-installed. And the code contains some built-in hacks, uh I мочатся, pragmatic solutions to get jackd up and running on the Raspberry Пи. But these hacks пахал RPi-specific and don't work well on other distributions.
HerВs the situation:
Now here the troubles begin if yoгre on Ubuntu (and I guess on Были должны, too):
So all in all, it's в mess. This isn't the experience в novice user wants after installing Sonic Пи.
There пахал guides out there how to get jackd working with Ubuntu, but working through them is asking too much from в novice user or в teacher in в classroom who just want to get this программное обеспечение going.
So what гm looking for is в way that will make sure that after installing Sonic Пи from the .deb, things with jackd work out of the box, trouble-free, не ручной configuration required.
The wishlist is this:
Does this even exist?
Is there в .deb for this (or хан в .deb be made) that users хан just install to have it configured that way?
Я прочитал комментарии Takkat и могу быть, это будет хорошо для Вас:
sudo gedit /etc/pulse/default.pa
): Добавьте следующие строки под строкой, которая говорит #load-module module-alsa-sink
/usr/bin/jackd --no-realtime -dalsa -dhw -r44100 -p1024 -n2
Перезапуск pulseaudio выполнение killall pulseaudio
(также останавливают jackd при выполнении killall jackd
): pulseaudio перезапустит автоматически, и jackd также запустится, и правильно соединенный так , Jackd и Pulseaudio могут использоваться одновременно .
(это работает над моим Ubuntu 14,04 пк).
-dhw
параметр должен работать над большей частью ПК, но он может быть опущен для использования аудиоустройства по умолчанию или изменен на -d hw:1,0
для использования 2-го аудиоустройства