Header Background Image

Ubuntu Studio22.04.3でalsaとmpdを利用してハイレゾ

 »  Ubuntu Studio22.04.3でalsaとmpdを利用してハイレゾ

Pulseaudioとaudaciousを使っていたのですが、audaciousではDSDのネイティブ再生が出来ないこともあり、alsa環境でmpdを利用した方が音質的レベルはフェイズが1段階上がったような臨場感と透明感が出るのとDSDのネイティブ再生が出来るので変更しました。発売されているほとんどのDACは自動認識されるのでドライバーは必要ありません。

mpd clientとして.w64ファイルやDSDファイルを再生できるQMPDClientを使用しています。最新のバージョンは1.3です。
クラッシックをフルシステムで楽しむ方は、NASなどのネットワーク環境は使用せずローカルディスクの再生専用PCとして構築してみてはいかがですか。     core i7 Memory16Gbのnote PCが最適です。

ubuntu studio にはmpdがデフォルトで入っていないのでまず、mpdをインストールします。

sudo apt install mpd
homeのユーザーディレクトリに.mpdディレクトリを作成し/etc/mpd.confをコピーします。

mpd.confの修正箇所
#
music_directory “/home/user/music/” #music dataの格納場所
#
#This setting sets the MPD internal playlist directory. The purpose of this
#directory is storage for playlists created by MPD. The server will use
#playlist files not created by the server but only if they are in the MPD
#format. This setting defaults to playlist saving being disabled.
#
playlist_directory “/home/user/.mpd/playlists”
#
#This setting sets the location of the MPD database. This file is used to
#load the database at server start up and store the database while the
#server is not up. This setting defaults to disabled which will allow
#MPD to accept files over ipc socket (using file:// protocol) or streaming
#files over an accepted protocol.
#
db_file “/home/user/.mpd/tag_cache”
#These settings are the locations for the daemon log files for the daemon.
#
#The special value “syslog” makes MPD use the local syslog daemon. This
#setting defaults to logging to syslog.
#
#If you use systemd, do not configure a log_file. With systemd, MPD
#defaults to the systemd journal, which is fine.
#
log_file “/var/log/mpd/mpd.log”
#This setting sets the location of the file which stores the process ID
#for use of mpd –kill and some init scripts. This setting is disabled by
#default and the pid file will not be stored.
#
#If you use systemd, do not configure a pid_file.
## mpdを自動起動しないようにするには sudo systemctl disable mpd
pid_file “/home/user/.mpd/pid” 
~

#Audio Output
#
#MPD supports various audio output types, as well as playing through multiple
#audio outputs at the same time, through multiple audio_output settings
#blocks. Setting this block is optional, though the server will only attempt
#autodetection for one sound card.
#
#An example of an ALSA output:
#
audio_output {
type “alsa”
name “TEAC UD-???”
device “hw:UD???” # optional #cat /proc/asound/cards でDAC名を調べる
#mixer_type “hardware” # optional
#mixer_device “default” # optional
#mixer_control “PCM” # optional
#mixer_index “0” # optional
}

#########################

mpdを起動するとwildmidiの警告が出るのが気になる場合は

sudo apt install wildmidi

/etc/timidityに touch timidity.cfg で空ファイルを作っておく

pulseaudioは使用しないので起動しないようにしておく

sudo systemctl disable pulseaudio-enable-autospawn

 

QMPDClientはDebianのパッケージしかないのでbuildしなければならないですが、Qt4ベースのGUIクライアントなのでOt4のいろんなmoduleをインストールする必要があります。
特に、qtxmlpatternnsのmoduleはbuildしなければなりません。

Details

qtxmlpatternns