Profile cover photo
Profile photo
Voyage MPD
168 followers -
Turns your embedded hardware to your favourite digital music player and server
Turns your embedded hardware to your favourite digital music player and server

168 followers
About
Voyage MPD's posts

Post has attachment
Voyage MDD 0.10.0, based on Voyage Linux 0.10.0 and Debian Jessie 8.0, is just released. 

This version continues to use 3.14 real time kernel but upgraded MPD to v0.19.9 and added shairport suport.

ALSA mixer control problem in MPD [solved!]

XMOS USB 2.0 audio reference board is our all-time testing environment.  This board should support hardware volume control such that volume control is not done by software code in MPD. 

In alsamixer, I am able to control the volume nicely.  However, if I set mixer_type "hardware" in mpd.conf, it has no effect.  I did not notice how to fix but until now.

If you have the same problem, just check /var/log/mpd/mpd.log to see if the below error is found:

Dec 28 08:09 : output: Failed to open mixer for 'my ALSA device'

That seems to be the mixer device is wrong.

I run amixer command and see what mixer control I have:

root@localhost:~# amixer
Simple mixer control 'XMOS Clock Selector',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 119 [94%] [-8.00dB] [on]
  Front Right: Playback 119 [94%] [-8.00dB] [on]
Simple mixer control 'XMOS Clock Selector',1
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]

It looks like 'XMOS Clock Selector',0 is my mixer control.

Then, let's see what has been set in mpd.conf:

audio_output {
        type            "alsa"
        name            "my ALSA device"
#       format          "44100:16:2"
#       mixer_device    "default"        optional
#       mixer_control   "PCM"            optional
#       mixer_index     "0"              optional}
}

Humm..  mixer_control is default to PCM.  Let's change to "XMOS Clock Selector" and restart mpd by "/etc/init.d/mpd restart".  Bingo!  I can change the volume via MPD client now.

But the volume is adjusted proportional to dB level, which is not natural to human ear.  Let's me figure out later how to change this to a way like alsamixer.

Post has attachment
AirPlay on Voyage MPD!

I have a customer query on running shairport on Voyage MPD.  I know shairport years ago but this week I decide to give it a try.  I follows some instructions on the web and here is what I do:

remountrw
apt-get update
apt-get install libssl-dev libavahi-client-dev libasound2-dev git make build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config
cd
git clone https://github.com/abrasive/shairport.git
cd shairport/
./configure
make

Then start shairport by "./shairport -a 'MuBoxAir'"
or to run as deamon, by "./shairport -a 'MuBoxAir' -d"

In iPhone, MuBoxAir would be shown under AirPlay in control center.  It works for me, and I am enjoying AirPlay now.

Cool.  I would consider adding shairport to Voyage MuBox and MPD.

Links:
http://dev.shyd.de/2011/11/shairport-debian-airtunes-server/
http://adrianmejia.com/blog/2014/02/15/cheap-airplay-receiver-with-raspberry-pi/
http://hotolab.net/blog/airplay/ [Japanese]

[ADV] Store news.  We have lowered the price of Voyage MPD Starter Kit and Wireless Kit 2.0 in our store.  They are now available with Voyage MPD 0.9.5 

Voyage MPD Starter Kit 2.0 - $179.00 USD
Voyage MPD Wireless Kit 2.0 - $214.00 USD

http://store.voyage.hk

Post has attachment
Voyage MPD 0.9.5 released!

We have not been rolled out a new release for almost a year.  And here it is!  This release is based on Voyage Linux 0.9.5 with Debian 7.7, 3.14.12 real-time kernel and MPD 0.17.6.  Please check the link below for release information.  Enjoy!~

Post has attachment
[ADV] Store news.  Both Voyage MPD Starter and Wireless Kit 2.0 are now available in our store. 

http://store.voyage.hk
Photo

Post has attachment
I am planning to fallback mpd version to 0.17.6 in the upcoming Voyage MPD release.  Now, I would like to invite users to test and tell us about its sound quality, stability or problems.

http://mirror.voyage.hk/dists/experimental/mpd/mpd_0.17.6-1_i386.deb

This versions includes:
* rtopt patches and buffer.c
* DSD support and fixes

Enjoy!

Post has attachment
[ADV] Store news.  We are now introducing Voyage MPD Starter Kit 2.0. This kit is based on upcoming PCEngines APU board. We welcome beta tester to try out this board with Voyage MPD 0.9.2! Expected shipping date is end December/early January.  Quantity is limited.
http://store.voyage.hk
Photo

Polls: Voyage Store is going to update its Voyage MPD starter kit.  Which embedded platform you would prefer?
(Please +1 an option in below comments to show your preference, thanks!)

1. CuBox-i (ARMv7)
2. Cubieboad2 (ARMv7)
3. BeagleBone Black (ARMv7)
4. PC Engines next generation APU board (x86)

Post has attachment
Today, we officially announced Voyage MuBox (http://mubox.voyge.hk) project!  This is a Voyage MPD port on CuBox.  Finally, Voyage Linux/MPD runs on ARM!
Wait while more posts are being loaded