Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:raspberrypi [2015/05/09 20:35] – [Running JACK] autostaticwiki:raspberrypi [2017/05/18 22:59] – [Running JACK] - more specifics to help newbies colinsullivan
Line 30: Line 30:
 ===== Disabling unneeded services ===== ===== Disabling unneeded services =====
  
-By default the RPi runs quite some services that are not really needed or even get in the way when setting up a real-time, low-latency environment. One way to disable such services from running and chewing up precious CPU cycles is to write a little script, an example can be found here: https://github.com/AutoStatic/scripts/raw/rpi/rpi/jackstart+By default the RPi runs quite some services that are not really needed or even get in the way when setting up a real-time, low-latency environment. One way to disable such services from running and chewing up precious CPU cycles is to write a little script, an example can be found here: https://github.com/autostatic/scripts/blob/rpi/jackstart
  
 Breaking down the script: Breaking down the script:
Line 107: Line 107:
 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=297563 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=297563
  
 +===== GPIO (On-board) audio =====
 +
 +Various sound card hats and addons are available for high quality audio. These sound cards use the GPIO I2S (and I2C) pins on the GPIO header. Some sound cards have inputs as well as outputs. Sound cards range from 2 channels (in/out) to 8 channels out and 6 channels in.
 +
 +A short list of GPIO sound cards can be found on eLinux :\\
 +http://elinux.org/index.php?title=RPi_Expansion_Boards#Sound
 ===== On-board MIDI ===== ===== On-board MIDI =====
  
Line 215: Line 221:
   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
  
-And then add the following lines to ''/etc/dbus-1/system.conf'':+And then add the following lines to ''/etc/dbus-1/system.conf'' before the closing ''</busconfig>'' tag:
     <policy user="pi">     <policy user="pi">
 +          <allow own="org.freedesktop.ReserveDevice1.Audio0"/>
           <allow own="org.freedesktop.ReserveDevice1.Audio1"/>           <allow own="org.freedesktop.ReserveDevice1.Audio1"/>
     </policy>     </policy>
Line 238: Line 245:
  
 [[http://wiki.linuxaudio.org/wiki/system_configuration#build_your_own_real-time_kernel|Building a real-time kernel]] [[http://wiki.linuxaudio.org/wiki/system_configuration#build_your_own_real-time_kernel|Building a real-time kernel]]
 +
 +[[https://github.com/dddomin3/DSPi/|Instructions for kernel compilation modernized for Pi 3]]
  
 {{tag>hardware_linux usb_audio_midi raspberry_pi howtos_and_faqs}} {{tag>hardware_linux usb_audio_midi raspberry_pi howtos_and_faqs}}
wiki/raspberrypi.txt · Last modified: 2020/03/15 17:50 by autostatic