User Tools

Site Tools


electronic_music:toward_a_rasperry_pi_softsynth_performance_setup

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
electronic_music:toward_a_rasperry_pi_softsynth_performance_setup [2023/07/23 00:04] – [Install Raspberry Pi OS] mithatelectronic_music:toward_a_rasperry_pi_softsynth_performance_setup [2023/07/23 03:38] (current) – [Configure audio] mithat
Line 38: Line 38:
  
 Next, let's get audio working. Next, let's get audio working.
 +
  
 === I2S DAC === === I2S DAC ===
 +
 +== Hardware connections ==
 +
 +TBD
 +
 +== Software configuration ==
 +
 +Our cheap audio board doesn't have the EEPROM that "official" I2S audio boards have that tells the OS about themselves. So, we need to manually configure things via the ''/boot/config.txt'' and ''/etc/asound.conf'' files.
 +
 +Make a backup copy of both of these files so you can get back home if you get lost.
 +
 +<code bash>
 +sudo mkdir -p /opt/backup-files
 +sudo cp /boot/config.txt /opt/backup-files
 +sudo cp /etc/asound.conf /opt/backup-files
 +</code>
 +
 +I'm putting these into a directory under ''/opt'' because I don't know whether having extra cruft in ''/boot'' will bork things. If /boot doesn't care, then this should also work:
 +
 +<code bash>
 +sudo cp /boot/config.txt /boot/config.txt.BAK
 +sudo cp /etc/asound.conf /etc/asound.conf.BAK
 +</code>
 +
 +The rest of this is from:
 +  * Himbeer's [[https://blog.himbeer.me/2018/12/27/how-to-connect-a-pcm5102-i2s-dac-to-your-raspberry-pi/|"How to connect a PCM5102 I2S DAC to your Raspberry Pi"]]
 +  * https://raspberrypi.stackexchange.com/questions/76188/how-to-make-pcm5102-dac-work-on-raspberry-pi-zerow
 +  * https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/
 +  * https://www.mathworks.com/help/supportpkg/raspberrypi/ug/play-high-quality-audio-from-raspberry-pi-using-i2s-based-dac.html
  
 TBD TBD
electronic_music/toward_a_rasperry_pi_softsynth_performance_setup.1690070656.txt.gz · Last modified: 2023/07/23 00:04 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki