CUBOX

Voyage MPD Starter Kit の次に使ったのがこれ。

手にひらに乗るほどの大きさです。

みみず工房さんのイメージファイルを使わせてもらい、難なく音が出ました。
「雛祭りバージョン」その後、「梅雨入りバージョン」などを使い、最後はデジファイのおとさん作 lightMPD-v1.0.0 を使いました。

以下、覚書


lightmpd.conf

#
#
[network]
interface=eth0
address=192.168.1.3
netmask=255.255.255.0
gateway=192.168.1.1
nameserver=192.168.1.1
# domain=mydomain.jp

[ntp]
server=192.168.1.19
ntpd=no
timezone=Asia/Tokyo

#[nas:NASID1]
# type=nfs
# host=nashost1
# remotedir=audio_data
# proto=tcp
# rsize=65536
# wsize=65536

[nas:NASID2]
type=cifs
host=192.168.1.19
remotedir=disk1
remoteuser=admin
remotepass=
iocharset=utf8
file_mode=0644
dir_mode=0755
rsize=61440
wsize=65536
sec=ntlm

[mpd]
load_module=mpd-0.19.9rt
music_directory=NASID2
playlist_directory=NASID2/cubox/playlists
db_file=NASID2/cubox/tag_cache
sticker_file=NASID2/cubox/sticker.sql
# log_file=NASID2/mpd/mpd.log
log_file=/dev/null

[httpd]
#  yes | no
enable=no
port=80

[telnetd]
#  yes | no
enable=no
port=23

[ympd]
#  yes | no
enable=no
webport=8080
mpdport=6600

[webconsole]
#  yes | no
#  start page:   http://thishost:${port}/index.html
enable=no
port=9000

[debug]
interfaces=no
resolvconf=no
ntpd=no
ntpconf=no
ifconfig=no
cards=no
mounts=no
ps=no
mpdversion=no
date=no
ntpq=no
music=no
messages=no
save=no


mpd.conf

#
#
realtime_option {
memlock               “yes”
stack_reserve         “2048”
heap_reserve          “10240”
main_priority         “OTHER:0”
player_priority       “FIFO:53”
decoder_priority      “OTHER:0”
update_priority       “OTHER:0”
}

audio_output {
type             “alsa”
name             “uda”
device           “hw:0,0”
priority         “FIFO:54”
mixer_type       “disabled”
dsd_usb          “yes”
buffer_time      “150000”
period_time      “37500”
}

###### decoder selector
# decoder_selector {
#    suffix                       “mp3”
#    plugin                       “mad”
# }

# decoder_selector {
#    suffix                       “m4a”
#    plugin                       “ffmpeg”
# }

# decoder_selector {
#    suffix                       “wav”
#    plugin                       “audiofile”
#    scan_plugin                  “ffmpeg”
# }

# decoder_selector {
#    suffix                       “flac”
#    plugin                       “flac”
# }

database {
plugin   “simple”
path    “/var/lib/mpd/tag_cache”
compress   “no”
}

#
music_directory   “/var/lib/mpd/Music”
playlist_directory  “/var/lib/mpd/playlists”
#sticker_file             “/var/lib/mpd/sticker.sql”
log_file   “/var/lib/mpd/mpd.log”
pid_file   “/var/run/mpd.pid”
state_file   “/var/lib/mpd/state”

user    “root”
group                    “root”

bind_to_address   “any”
port    “6600”

#
#metadata_to_use  “artist,album,title,track,name,genre,date,composer,performer,disc”
metadata_to_use   “artist,album,title,track,genre,date,disc”

audio_output_format  “*:16:2”
#
# extended audio format
#audio_output_format  “X2L2:24:2”

#LIBSAMPLERATE
#samplerate_converter            “Best Sinc Interpolator”
#samplearte_converter            “Medium Sinc Interpolator”
#samplearte_converter            “Fastest Sinc Interpolator”
#samplearte_converter            “ZOHc Interpolator”
#samplearte_converter            “Linear Sinc Interpolator”
#samplearte_converter            “internal”

# SOXR
#samplerate_converter            “soxr very high”
#samplerate_converter            “soxr high”
#samplerate_converter            “soxr medium”
#samplerate_converter            “soxr low”
#samplerate_converter            “soxr quick”
#
#samplerate_converter            “soxr very high openmp”
#samplerate_converter            “soxr high openmp”
#samplerate_converter            “soxr medium openmp”
#samplerate_converter            “soxr low openmp”
#samplerate_converter            “soxr quick openmp”

follow_outside_symlinks  “yes”
follow_inside_symlinks  “yes”
default_permissions      “read,add,control,admin”
#
mixer_type   “disabled”
#
audio_buffer_size  “8192”
buffer_before_play  “50%”
#
filesystem_charset  “UTF-8”
id3v1_encoding   “UTF-8”

——————————————————————————————