MPD
Welcome, Guest. Please login or register.
September 06, 2010, 11:35:12 am

Login with username, password and session length
Search:     Advanced search
8511 Posts in 1935 Topics by 1533 Members
Latest Member: sriman
* Home Help Search Login Register
+  MPD
|-+  Recent Posts
Pages: [1] 2 3 ... 10

 1 
 on: September 05, 2010, 06:59:07 pm 
Started by sfunk1x - Last post by ldolse
You don't need to do anything in ALSA generally.  All the settings are in the mpd.conf file.

you need to figure out the address of your sound card's coax out is.  From the CLI:
aplay -l

will list out the sound outputs available on your M-Audio.  You need to figure out from that what the address is.  It's probably 0,1 or something like that.

Then you specify your sound settings in mpd.conf.  If you want bit perfect use hw: or plughw:.  Disable the mixer, etc.  There are lots of posts on the forum about the ins and outs of defining your sound settings in mpd.conf.  The mpd.conf file is already written with everything you need, just uncomment the appropriate section for ALSA and change the sound card output address.

The mixer stuff only needs to be uncommented if you want volume control and cross-fade on mpd. If you want bit perfect leave it alone.

Code:
#audio_output {
# type "alsa"
# name "My ALSA Device"
## device "hw:0,0" # Uncomment this to get bit perfect switching between 44 & 96 khz, but you need to set the right device address
## format "44100:16:2" # optional - don't uncomment for 96Khz support
## mixer_device "default" # optional
## mixer_control "PCM" # optional
## mixer_index "0" # optional

 2 
 on: September 04, 2010, 11:08:43 am 
Started by guckpup - Last post by guckpup
So I installed and setup MusicIP's MusicMagicServer, http://www.amplifindmusicservices.com/what/downloads.php and analyzed all my music.

I've been googling at length looking for anyone who has managed to integrate the two.

The two ways I see it working:

1. The hard way:
-- allow me to choose a song to play in mpd, then have musicip know that I have chosen that song, and then queue up a bunch more songs in mpd based on that choice

2. The easier? way:
-- identify some other tool that has the ability to create an m3u that I can use the MPD MusicMagicMixer Hack http://mpd.wikia.com/wiki/Hack:MusicMagicMixer -- this hack talks of a player "MusicMagic" that I've been unable to find (The download only seems to have the Server in it for linux) which is unfortunate because it sounds ideal!

So has anyone managed to use the two together?


 3 
 on: September 02, 2010, 04:17:45 pm 
Started by sfunk1x - Last post by sfunk1x
Nobody does this? Has this been answered before and I'm not searching for the right keywords? Or maybe this is not even an MPD issue, it's with ALSA?

 4 
 on: September 02, 2010, 10:50:58 am 
Started by aex - Last post by aex
looks like its working now

mpd.conf

Code:
audio_output {
        type            "alsa"
        name            "default"
#       use_mmap "yes"
        auto_resample   "no"
#       device          "hw:0,0"        # optional
#       format          "44100:16:2"    # optional
#       mixer_device    "iec958"        # optional
        mixer_control   "Master"        # optional
#       #mixer_index    "0"             # optional
}

asound.conf

Code:
pcm.!default {
  type plug
  slave.pcm {
    type dmix
    ipc_key 1024
    slave {
       pcm "hw:0,0"
       rate 48000
    }
  }
}

 5 
 on: September 02, 2010, 07:07:02 am 
Started by aex - Last post by aex
hi,

here my mpd config

Code:
music_directory "/media/sea4/Musik"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"

port "6600"

input {
        plugin "curl"
}

audio_output {
        type            "alsa"
        name            "default"
#       use_mmap "yes"
#       auto_resample   "no"
#       format          "44100:16:2"    # optional
        mixer_control   "Master"        # optional
}


#samplerate_converter "Fastest Sinc Interpolator"

audio_buffer_size "2048"

filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"

asound.conf

Code:
pcm.rate_convert {
    type plug
    slave {
        pcm "hw:0,0"
        rate 48000
    }
}

pcm.!default {
  type plug
  slave.pcm {
    type dmix
    ipc_key 1024
    slave {
       pcm "hw:0,0"
       rate 44100
    }
  }
}

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Aureon51MkII [Aureon5.1MkII], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    Front speakers
surround40:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Aureon51MkII,DEV=0
    Aureon5.1MkII, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

cat /proc/asound/card0/pcm0p/sub0/hw_params
Code:
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384

thanks

 6 
 on: September 02, 2010, 12:32:12 am 
Started by psyodin - Last post by psyodin
installed mpd-git 0.16~alpha2 via AUR in arch

worked awesome!

sidenote:I will say its ALWAYS an adventure for me to get MPD configs and permissions correct on new installs, but alas its done and working (/me bangs head on keyboard).


thanks again for a handy script and your help.

 7 
 on: September 01, 2010, 04:09:09 pm 
Started by psyodin - Last post by psyodin
Thank you so much for your time GadgetDave, both with the origional script and the recent diagnosis. My wife (the primary enduser) is very greatful as well

I shall look into updating MPD this evening

Again, thank you for all your efforts






 8 
 on: September 01, 2010, 11:09:50 am 
Started by psyodin - Last post by GadgetDave
OK, so I have duplicated the problem.

mpd 0.15.11 and mpd 0.15.12 do not play nice with the mms streams used by xmradio.   This is fixed in mpd 0.16~alpha2 (did not test alpha1), and works fine with mpd 0.15.0 through 0.15.10.
I recommend updating (via source) to 0.16~alpha2 if you are willing, otherwise move back to 0.15.10.

If I get a chance,  I may dig further, but since there is an easy solution (upgrade mpd to latest source), you should be able to fix yourself quickly.

Good Luck.

---GadgetDave

 9 
 on: September 01, 2010, 11:09:16 am 
Started by slaterson - Last post by slaterson
i have this working, i believe it was due to permissions and possibly pulseaudio.  i'm still having an odd problem with the on board hda intel audio device...  sometimes when i reboot there is an error loading the driver, other times there isn't.  doesn't make a lot of sense...

 10 
 on: September 01, 2010, 08:35:34 am 
Started by psyodin - Last post by GadgetDave
I will have a look.  The most likely cause is XMRadio online web changed something again that requires a small change to the script.

I'll let you know when I have a chance to diagnose.

--GadgetDave

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!