@@ -4,20 +4,20 @@ Midi devices and/or external sound cards can be used. In most cases latency will
44I haven't had very good luck sampling directly into Headless on the RG351 devices, but it might work ok on a Mac or PC.
55Personally, for the best results, I create samples on the PC or other devices and copy onto the M8 sdcard.
66
7- The card index for ALSA and/or PulseAudio depends on order connected to the rg351 device.
7+ The card index for ALSA and/or PulseAudio depends on order connected to the rg351 device.
88For best results, plug in teensy first, then optionally an external sound card, then optionally a midi device.
99
10- ** In ArkOS to access ssh:**
11- Options/Network Info - note the ip address.
12- Options/Enable remote services
10+ ** In ArkOS to access ssh:**
11+ Options/Network Info - note the ip address.
12+ Options/Enable remote services
1313From your PC run:
1414 ` ssh <ip-addr> -l ark `
1515
1616In the ssh terminal run
1717 ` cd roms2/ports/M8 `
1818
19- ** ALSA Commands:**
20- card# depends on order connected to the rg351
19+ ** ALSA Commands:**
20+ card# depends on order connected to the rg351
2121For best results, plug in teensy first, then external sound card then midi
2222
2323` aplay -l `
@@ -26,7 +26,7 @@ shows playback devices
2626` arecord -l `
2727shows capture devices
2828
29- Example for aplay and arecord
29+ ** Example for aplay and arecord**
3030 M8 is connected then external USB Audio device is connected
3131
3232 ark@rg351v:/roms2/ports/M8$ aplay -l
@@ -55,7 +55,7 @@ Example for aplay and arecord
5555 Subdevices: 1/1
5656 Subdevice #0: subdevice #0
5757
58- Connect M8 to rockchip out
58+ Connect M8 to rockchip out
5959 ` alsaloop -P hw:0,0 -C hw:1,0 -t 200000 -A 5 --rate 44100 --sync=0 -T -1 -d `
6060
6161You can edit the alsaloop_wait file with the correct alsaloop command
@@ -64,12 +64,12 @@ You'll need to use some pulseaudio commands to change the active port on a USB s
6464
6565### ** PulseAudio**
6666
67- Determine active audio ports on USB audio
67+ Determine active audio ports on USB audio
6868If you get errors, you may need to restart pulse before each command.
6969
7070** Input ports**
7171
72- First stop emulationstation
72+ First stop emulationstation
7373` ark@rg351v:/roms2/ports/M8$ sudo systemctl stop emulationstation `
7474
7575```
@@ -91,19 +91,19 @@ ark@rg351v:/roms2/ports/M8$ sudo pacmd
9191 active port: <analog-input-linein>
9292...
9393```
94- to change active input port:
95- ` >>> set-source-port <index#> analog-input-linein `
96- or
94+ to change active input port:
95+ ` >>> set-source-port <index#> analog-input-linein `
96+ or
9797` >>> set-source-port <index#> analog-input-mic `
9898
99- ** Output Ports**
100- ` >>>list-sinks `
99+ ** Output Ports**
100+ ` >>>list-sinks `
101101Note the sinks
102102
103- Exit pacmd
103+ Exit pacmd
104104` >>> exit `
105105
106- Restart emulationstation
106+ Restart emulationstation
107107` ark@rg351v:/roms2/ports/M8$ sudo systemctl start emulationstation `
108108
109109Edit the pulseaudio_pa file - set the sink and source corresponding to the correct device index from the listings in pacmd
0 commit comments