Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:audio:tone1:tone-linux

Differences

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

Link to this comparison view

Next revision
Previous revision
products:audio:tone1:tone-linux [2022/07/14 06:14]
frank created
products:audio:tone1:tone-linux [2022/08/04 22:51] (current)
hyphop [Check If Native DSD Playback is Supported on Your Tone2 Pro or Tone1]
Line 10: Line 10:
  
 ```shell ```shell
-which pulseaudio || echo PulseAudio not installed+which pulseaudio || echo PulseAudio not installed
 ``` ```
 If PulseAudio is installed, it is very easy to create a custom configuration file! If PulseAudio is installed, it is very easy to create a custom configuration file!
-```shell+```sh install-pulse-audio-udev-rules.sh
 sudo tee /etc/udev/rules.d/89-pulseaudio-usb.rules <<END sudo tee /etc/udev/rules.d/89-pulseaudio-usb.rules <<END
 # Disable PulseAudio for next usb-audio devices by usb-id # Disable PulseAudio for next usb-audio devices by usb-id
Line 42: Line 42:
 Enter the following command into Terminal: Enter the following command into Terminal:
 ```shell ```shell
-grep -H DSD_U32_BE /proc/asound/card?/stream0 && +grep -H DSD_U32_BE /proc/asound/card?/stream0 && echo Native DSD support - ok
-echo Native DSD support - ok+
 ``` ```
  
Line 54: Line 53:
 Get a list of all supported audio file formats using Terminal: Get a list of all supported audio file formats using Terminal:
 ```shell ```shell
-grep "" /proc/asound/card?/stream0+grep "" /proc/asound/card?/stream0
 # or  # or 
-grep -e usb -e Format -e Bits -e Rates /proc/asound/card?/stream0+grep -e usb -e Format -e Bits -e Rates /proc/asound/card?/stream0
 ``` ```
 Example Output: Example Output:
Line 93: Line 92:
  
 ```shell ```shell
-sudo apt-get install mpd mpc ncmpc+sudo apt-get install mpd mpc ncmpc
 ``` ```
  
Line 100: Line 99:
 Create music folders and the mpd config file (your music library must be accessible from these folders). Create music folders and the mpd config file (your music library must be accessible from these folders).
 ```shell ```shell
-mkdir -p ~/mpd/music ~/mpd/playlists+mkdir -p ~/mpd/music ~/mpd/playlists
 ``` ```
  
Line 181: Line 180:
 ==== How to Get the Proper ALSA Device Name, to get Bit-Perfect Playback ==== ==== How to Get the Proper ALSA Device Name, to get Bit-Perfect Playback ====
  
-  * ''aplay -L|grep -A1 ^hw''- full list +  * ''aplay -L|grep -A1 ^hw:'' - full list 
-  * ''aplay -L|grep -A1 ^hw'':|grep USB -B1 - only usb list +  * ''aplay -L|grep -A1 ^hw:|grep USB -B1'' - only usb list 
-  * ''aplay -L|grep -A1 ^hw'':|grep Tone -B1|head -n1 - only for Tone board+  * ''aplay -L|grep -A1 ^hw:|grep Tone -B1|head -n1'' - only for Tone board
  
 ==== Start MPD service ==== ==== Start MPD service ====
Line 217: Line 216:
  
 ```shell ```shell
-cat $(dirname /proc/asound/card?/stream0)/pcm?p/sub?/hw_params+cat $(dirname /proc/asound/card?/stream0)/pcm?p/sub?/hw_params
 ``` ```
  
Last modified: 2022/07/14 06:14 by frank