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
Next revision Both sides next revision
products:audio:tone1:tone-linux [2022/07/14 06:14]
frank created
products:audio:tone1:tone-linux [2022/08/04 22:49]
hyphop [Check If Native DSD Playback is Supported on Your Tone2 Pro or Tone1]
Line 41: Line 41:
  
 Enter the following command into Terminal: Enter the following command into Terminal:
-```shell+```sh
 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 54:
 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 93:
  
 ```shell ```shell
-sudo apt-get install mpd mpc ncmpc+sudo apt-get install mpd mpc ncmpc
 ``` ```
  
Line 100: Line 100:
 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 181:
 ==== 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 217:
  
 ```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/08/04 22:51 by hyphop