Skip to content

Commit 6acffec

Browse files
Update advanced_audio.md
1 parent b1e9bc6 commit 6acffec

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

advanced_audio.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ Midi devices and/or external sound cards can be used. In most cases latency will
44
I haven't had very good luck sampling directly into Headless on the RG351 devices, but it might work ok on a Mac or PC.
55
Personally, 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.
88
For 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
1313
From your PC run:
1414
`ssh <ip-addr> -l ark`
1515

1616
In 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
2121
For 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`
2727
shows 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

6161
You 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
6868
If 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`
101101
Note 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

109109
Edit the pulseaudio_pa file - set the sink and source corresponding to the correct device index from the listings in pacmd

0 commit comments

Comments
 (0)