mpdPup - Simplified MPD Music Server/Jukebox - v0.9.3

For talk and support relating specifically to Puppy derivatives
Message
Author
wlowes
Posts: 49
Joined: Fri 08 Jun 2012, 02:30
Location: Toronto, Canada

prlimit

#466 Post by wlowes »

boulogne75

My basic ignorance of linux is showing :) Thanks for this insight. It helps.

So I tested and confirmed what you said. I open ssh, run ulimit. The limit set lasts until the ssh session is closed, then on reopening, back to default. The sound is changed by issuing the ulimit command. I run a whoami and it returns root as expected. mpd is also running as root as I never set up a new user such as audio as many suggest.

prlimit does not exist in mpdpup. I suppose we should install it to set the limits for the mpd process. Another root would be to know where these default limits are set for root / ash / Bash or whatever and change it there??

I will keep reading, so again sorry for being so ill informed.

boulogne75
Posts: 15
Joined: Mon 17 Dec 2012, 13:34

#467 Post by boulogne75 »

The prlimit command is part of the util-linux package.
I think most of the values set by ulimit are hardcoded in the kernel source files (I am not sure).


Ok. Let's try something:

Create (if it exists modify) a file "/root/.bashrc" and paste your ulimit commands.
Reboot your computer and open a ssh session. ulimit -a to check that the root shells are now created with the new ulimit values.

johnz
Posts: 1
Joined: Sun 14 Jul 2013, 05:08

MPDpup can not set in box GMPC

#468 Post by johnz »

Hi,ldolse,

I tried the MPDpup before and it is very good as a music play daemon system, now I want to add a LCD display to display music information directly in my music box, I checked the documentation of install process, found here has two kind of LCD display.
1, Use special LCD
2, Use computer display screen,

For option 1 I think it is complex and only could display some simple information.
for option 2, it could display all GMPC information directly from computer of MPDpup system, Now I can purchase these kind of small display screen in market and cost is not too high, the screen resolution is almost 800*480, and use D sub connector.

So I tried the option of in box control, one is Non X, one is GMPC, One is X system, I tried GMPC, but when I finished the configuration, there is could show the X desktop, but there can not show the GMPC automatic, please help to tell me how to configure it or need install some, thanks!

boulogne75
Posts: 15
Joined: Mon 17 Dec 2012, 13:34

Re: MPDpup can not set in box GMPC

#469 Post by boulogne75 »

johnz wrote: So I tried the option of in box control, one is Non X, one is GMPC, One is X system, I tried GMPC, but when I finished the configuration, there is could show the X desktop, but there can not show the GMPC automatic, please help to tell me how to configure it or need install some, thanks!
Try to create a "/root/.xinitrc" file and add:


#!/bin/sh
/usr/bin/gmpc


After that restart X.

Maybe Idolse can suggest a better solution.

flatout
Posts: 1
Joined: Fri 09 Aug 2013, 09:01

mpdpup and usb pant pant

#470 Post by flatout »

Struggle is its own reward... and I have now a working bit-perfect player.
many thanks to Idolse for the inspiration and perspiration in bringing this pup to fruition..

Due to hardware constraints (= no network clients= no network=no network hardware...therefore no external control/storage options) I am running mpd from the local machine via x-server.
boot is from cd (no usb boot support and plop is not a workable option) save file is from local hard-disk and music-folder is from a usb flash-drive (which I wish to share with my WDTVlive-plus.)

All is good when running via local sound-card, not bit-perfect but fine for a (noisey)work-shop server.

When using indoors to usb DAC the set-up is totally flakey..
MPDpup lists the DAC but will not allow access or configuration....
Finally discovered it is the USB bug where multiple usb devices mean the first used will occlude subsequent devices.

If I power up with both the flash drive and the DAC attached then MPDpup cannot find the dac to configure it.
If I power up with the flash drive attached and configure mpd THEN attach the dac all seems to work ok.

On subsequent reboots if the dac is attached then no amount of reconfiguring via mpdwizard will allow it.

Without network access and given the usb bug the remaining options dwindle and the vision of reusing older hardware is constrained.

Any suggestions as to workarounds would be most appreciated.

Cheers,
Bob.

lazzarone
Posts: 4
Joined: Fri 09 Aug 2013, 17:40

#471 Post by lazzarone »

Hello to all,
I would like to know what is the command you from the terminal to restart MPD?
and wanting to use jack which procedure you have to follow is that possible?

sorry for my english

lazzarone
Posts: 4
Joined: Fri 09 Aug 2013, 17:40

#472 Post by lazzarone »

Hello,
but this release will go ahead?
is not thought to also insert jack and pulse?
I would like to know what is the command you from the terminal to restart MPD?

Thanks a lot,

Italian translated by google;-)

tgmosher
Posts: 3
Joined: Sun 01 Sep 2013, 07:52

mpdPup - Connection Refused

#473 Post by tgmosher »

Getting totally frustrated with this one.

Trying to run mpdpup on an Intel Atom board with a Juli@ card.
- software on an 8 gb usb stick
- music on an external 2tb usb drive

Went through the troubles where the software didn't like having a USB keyboard, stick and usb drive all connected - keyboard wouldn't work three quarters of the time.

Now I get a 'connection refused' error when I try to access MPD. Does that through gnome, ario, and mpdroid. Through the direct connect, get the same error after mpd starts.

Edit:

Did a reboot from the command line. Now it dies during start with a "puppy_mpdpup_0.9.3.sfs not found. Dropping out to initial-ramdisk console".

Should it be this hard to get it to work or should I just shell out the money and get an Auraliti PK that works out of the box?

PET-240
Posts: 74
Joined: Tue 22 May 2012, 17:38

#474 Post by PET-240 »

Earlier in this thread there was info about booting from usb and music on usb. Have a look through this and the previous mpdpup thread which was .92 from memory. If the atom board has an sd card slot try to install pup there, as it runs direct from ram after boot. There are some command line changes to make from memory. I have to go through this as I am looking to add an ssd to my alix board and add files from windows via filezilla.
Have a look about. Am sure Idolse or one of the others with much more knowledge will be about to assist before long.

PET-240
Posts: 74
Joined: Tue 22 May 2012, 17:38

#475 Post by PET-240 »

And I wouldn't go the Auraliti, not because its bad, have never heard or played with one, but because with mpdpup you can adjust settings and "tune" the sound that works in your system.
I use an Alix 2d2 headless and I boot from cf card, use an amanero or wave io usb card. Looking to use an IDE to SATA converter for an attached hdd as mentioned above. Works a treat, wlowes has modded his alix regards powersupply and caps and so on as well, the fun just keeps on and on!

tgmosher
Posts: 3
Joined: Sun 01 Sep 2013, 07:52

Giving Up on a DIY Music Server

#476 Post by tgmosher »

I've given up on trying to figure out what's going wrong with the installs - just bought a used Auraliti PK-100 for a good price off ebay.

Here's the history of what I was trying to do:

V1 - Raspberry Pi with Raspyfi into a Schiit Modi USB DAC - works beautifully with no problems (keeping that - backup system)
V2 - Alix3D2 board using Voyage MPD - sort of works - doesn't see all of the music on my WD Book external drive (sold that puppy off)
V3 - Intel D945GSEJT board with a Juli@ sound card (it's got a DAC) - never could get it to work right with Voyage MPD, MpdPup, or VortexBox (on vortexbox the mb won't automatically book off an Intel 40GB SSD - have to manually select it).

After wasting many hours of my time - I bought the Auraliti PK100 - I already know what they sound like and it's plug-and-play (brother has a PK90 with the SOTM USB board in it).

I'd rather be listening to my music collection than messing with linux for hours on end.

Anyone interested in the following for decent prices?

Intel D945GSEJT board (less than a month old) with 1GB SODIMM and external 12V/5A power supply
ESI Juli@ PCI board
Intel D2700DC board (never really used) with 2GB DDR3 SODIMM
Intel 40 GB SSD

Miscellaneous cases including two Casetronic C137 (bought them with blown DC converter boards).
Mini-Box M350 case (unused)

kocozze
Posts: 36
Joined: Wed 07 Nov 2012, 19:49

spotify support

#477 Post by kocozze »

Hi idolse,
I don't know if this question is already discussion in other topics...
what mean "spotify support"? Can I use spotify with mpd? How?
Thanks for reply :D

ldolse
Posts: 367
Joined: Fri 23 Oct 2009, 16:33

#478 Post by ldolse »

Hi Kocozze - MPD's spotify support only works with Spotify premium, and at the moment support is rather unintuitive. Basically you can pass spotify playlist URLs to MPD using MPC or any other client which supports the custom URL format. Read more here:

http://thread.gmane.org/gmane.comp.audi ... devel/1928

lazzarone
Posts: 4
Joined: Fri 09 Aug 2013, 17:40

#479 Post by lazzarone »

Hi,

I have a question:
sox but only works with File 44100/24
with file 96000/24 ​​and sox to 192000 no sound

thx

kocozze
Posts: 36
Joined: Wed 07 Nov 2012, 19:49

Equalizer

#480 Post by kocozze »

Hi idolse,
Can you explain something about the equalizer option in mpdpup? I tried in foobar and xp a vst plugin for a parametric equalization and it works very fine. How can i activate the equalizer option in mpdpup? Is this parametric? Thanks

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#481 Post by tempestuous »

kocozze, I have some solutions for you, but first I must say that you have framed your question somewhat strangely;
you asked about "the" equalizer option, as if it's a "given" that such a thing exists (it doesn't)
and you implied some sort of association with Foobar (there is none).

At the outset it should be understood that MPD is a back end application, and any audio effects are probably better implemented by the client application ... or to be really accurate; by the media renderer application.

We should also be mindful that idolse is not the developer of MPD, but he has answered some very specialised questions about the inner workings of MPD, for which I'm grateful.
The developer of MPD is Max Kellermann, and when I did a web search for information on this subject, I found some references which indicate that Max is somewhat disinterested in equalization as a feature!
As an audiophile, so am I.

These issues aside, equalization in Linux is generally enabled within the audio driver processing chain (ALSA in most cases) via plugins.
Traditionally this would be with LADSPA, or its updated equivalent, LV2.
http://lv2plug.in

For LADSPA, Steve Harris' collection of plugins includes the "mbeq" multi band EQ plugin
http://plugin.org.UK/ladspa-swh/docs/ladspa-swh.html

Or for LV2, the best plugin I could find is EQ10Q
http://eq10q.sourceforge.net

But I also came across an elegant solution using the official ALSA equalization plugin, explained in the "EXTRA SOUND OPTIONS" section here -
http://crunchbanglinux.org/wiki/howto/mpd
This has the neat advantage of having a GUI ready-to-use in Puppy in the form of alsamixer.
Unfortunately, however, I think Puppy's version of ALSA would need to be recompiled with this support enabled.

Bottom line: your easiest option would be to install the LV2 library package, then install the EQ10Q plugin.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#482 Post by tempestuous »

ldolse wrote:Sox support built into the wizards, alsa equalizer handling updated
OK, I just saw that one of idolse's updates includes the ALSA equalization plugin (5th post in this thread). That's impressive.
So according to the instructions in the crunchbanglinux link I mentioned, you first need to activate the plugin by;
- modifying Puppy's ALSA configuration file
- modifying the MPD configuration file
- then adjust EQ settings with alsamixer, after launching it as such -

Code: Select all

alsamixer -D equal

Soli
Posts: 3
Joined: Sat 05 Oct 2013, 22:41

#483 Post by Soli »

Hi Idolse.

I am usually using MPD on Debian minimal. In the beginning I used a lot of time to toy around with all the usual tweaks, and also some of the more extreme ones. Writing scripts, tweaking the OS to my liking, it took quite a while to get the basics right. Nowadays, I usually spend time listening to music, but now and then I might try a new setting. I always had a separate a dirty linux install to do the experiments and compile, and to keep the clean install as light weight as possible.

Since Linux is mostly a b**** for normal people who just want to experience good sound, part of the goal was to see if it was possible to make a Universal Live USB that my friends could just pop in their computers and it would work right away *without* any setup at all. The only limitation is that the network music share is predefined. So kinda like MPDpup, just a tad simpler. Believe it or not, even MPDPup is too difficult for some people to grasp. In the meantime, they use their Macs and Windowses with their Jrivers, Pure Music, Audirvana and Amarras, hallujahing to tiny sound differences. But not realising the *real* sound improvement won't come before they turn to a dedicated Linux install of some sorts. I guess the point of making MPDPup was the same, to advocate the use/sound of MPD/Linux and in turn make it easy to set up.

Recently, I said to myself: "I'm reaaaaaally satisfied with the sound now". So as an insanity check I decided to try out MPDPup. For the past days I've tried v093, and I just gotta say: What a excellent piece of software. The installation took a few minutes and then it just works. This is really great.

Now the bad news: Unfortunately I think the sound quality right out of the box is nowhere near what really is possible. The bass is muddy and compressed, the highs are neither finegrained or extended as it should, the midrange is veiled and not transparent. Do not take this audio-language the wrong way, it does sound pretty good right out the box. But I'm sure MPDPup has potential for much more, may I suggest to take a look at it's sound quality for the next release? Everything else seems to work great, so no need to update what isn't broken. Normal people don't want to muck around in "DOS-mode", so to have really great sound quality right out of the box would be a tremendous feature.

ps. MPDPup is also approxx 3 times slower when refreshing the local cache to my mPod/mPad than my own install. Voyage MPD also has this problem. I think it is a kernel thing.

ps2. Shairport is now rewritten in C so no more Perl dependencies, so should be easy to include in next MPDPup release. But there is this issue: https://github.com/abrasive/shairport/issues/244

kocozze
Posts: 36
Joined: Wed 07 Nov 2012, 19:49

Alix 2d3

#484 Post by kocozze »

Many thanks for replies on the equalization environment, i'll try soon your suggestion.
Now i have a alix 2d3 in wich i wish to install mpdpup. I have no idea to how do this (i'm very newbie in linux). There's a step by step description? I have a 8 gb cf card, wich other hardware and cable i need to works fine with my new board (there's no vga output)? Sorry but i have very need of your help and my english (you see) is bad!

PET-240
Posts: 74
Joined: Tue 22 May 2012, 17:38

#485 Post by PET-240 »

Hey Kocozze,

I run it on an Alix 2d2.
Easiest I can think of is look at the 0.92a thread, will run this from memory.
Download unetbootin, load the CF card so you can see it in your normal file setup. You may need a usb card reader, I do on my HP laptop. Save the file in the cf card as per instructions.
Place the cf card in the board and start it. Allow minimum full minute before trying to login. Will need to have it on ethernet so you can login via the next step. Sometimes it takes longer than a minute to fire up, I'm still working on getting the LED's to run proper.
Download Putty, from memory type tunes.local in the address bar. I think it will ask for login/password, root/puppy.
From there the wizard shows up. When you do a restart the first time allow 20mins for the library etc to come up. It doesnt take this long usually, but be prepared for a wait.
Let me know how you go.
Wlowes in the other thread has some mods too.

Post Reply