Re: [Musicpd-dev-team] Static on playback

2014-01-20 Thread Stefan Monnier
 Is there anything I can do to get these DACs working properly with ALSA/MPD?

Have you tried those DACs with other music players, such as ogg123,
Rhythmbox, etc... ?


Stefan


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Static on playback

2014-01-20 Thread Stefan Monnier
 Voyage MPD contains a patched version of MPD, however the project does
 not provide the source code.

Isn't that a violation of MPD's license (which is GPLv2+, IIRC)?


Stefan


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] MPD + uClibc: connection but no response on port 6600

2013-10-27 Thread Stefan Monnier
 Finally I got mpd working on this arm9 board. I tried different  
 versions of uClibc, glib2, gettext, mpd and with IPV4 and IPv6 but  
 nothing worked. Only after replacing uClibc by glibc, the probem was  
 solved.

mpd was working fine under OpenWRT, and that uses uclibc by default, so
you might like to take a look at their build rule, in case it uses local
patches or something.


Stefan


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] FW: Question about MPD ALSA output bitrate

2013-10-02 Thread Stefan Monnier
 Those MP3s were created from 16 bit data, but once that data has been
 transformed to the frequency domain as part of the encoding process, that
 bit depth ceases to matter. In mpd's case, the MP3s are decoded as 28 bits
 by libmad, and truncated to 24 bits. This results in theoretically lower
 distortion than truncating or dithering that output to 16 bits. In your
 case, by forcing 16 bit output with MP3 you are getting more distortion.

That reminds me: when the signal needs to be resampled because the
output's sample rate doesn't match the file's sample rate (typical case
for me: 44.1KHz CD input and an audio card that only supports 48KHz),
would it be possible to do the resampling directly in the frequency
domain as part of the MP3/Ogg decoding?  It seems like it would be
cheaper (CPU wise) and result in higher quality than using a separate
resampling phase after decoding.


Stefan


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Duration of song with millisecond info?

2012-08-08 Thread Stefan Monnier
 Yes, seconds is enough accuracy. Especially for large playlists!

It depends on 2 things:
- whether you care about absolute error or relative error (the relative
  error will not increase with the number of sings, but the absolute
  error might).
- whether each error is biased.
The second point is important: is the number of seconds reported rounded
or truncated?  If it is rounded, then the relative error is likely to
diminish with the number of songs, but if it is truncated it won't.


Stefan


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [OT?] MPRIS and MPD

2012-05-23 Thread Stefan Monnier
 http://gmpc.wikia.com/wiki/MPD_INSTALL_USER_SERVICE_UBUNTU seems to be
 the best way to run mpd on systems with pulseaudio.

My use case is a machine where we usually have 3 users logged in at the
same time (on different virtual terminals), so that's not a good solution.

 Another option is setting up the system wide pulseaudio daemon (and
 it's possible to use mpdris to control/monitor an MPD instance running
 remotely, which still applies even without any hoop-jumping).

The pulseaudio's why you shouldn't use system wide PA seems to apply
to my case, so I'd rather not go there either.

 (Yet another possibility which I didn't think of before is setting up
 pulseaudio cookies for the mpd user and any real users that might need
 sound at the same time as mpd)

That's still basically a system-wide setup, then (where you share
a single PA instance between different users).

Basically, from reading PA's documentation, I think the ideal setup for
me would have one PA process per user, and and then combine the result
via some kind of additional layer (ALSA dmix or somesuch, I don't know,
nor would I know how to set up such a thing).

Stefan


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] OffTopic (was: Replay gain support)

2012-01-27 Thread Stefan Monnier
 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d

What is this thing?  The URL is SourceForge, but it gets redirected to
a non-Open Source site.  Does SourceForge allow such thing?  Should it?


Stefan


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] OffTopic

2012-01-27 Thread Stefan Monnier
  --
  Keep Your Developer Skills Current with LearnDevNow!
  The most comprehensive online learning library for Microsoft developers
  is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
  Metro Style Apps, more. Free future releases when you subscribe now!
  http://p.sf.net/sfu/learndevnow-d2d
 What is this thing?  The URL is SourceForge, but it gets redirected to
 a non-Open Source site.  Does SourceForge allow such thing?  Should it?
 It's the Sourceforge spam signature, as Max once put it. :D
 So yes, it's probably a way for Geeknet to earn money.

Funny I hadn't noticed it before, but yes, I now see it's everywhere on
this list.  I guess if Geeknet does it, then it's clearly OK with them ;-)
Sorry for the intrusion, thanks for enlightening me, I'll return you to
your regular sound-playing (while trying to figure out why my Debian's
mpd keeps telling me Failed to open ALSA device default: Device or
resource busy, even though it seems that dmix is involved so the
existence of other applications that have the audio device open
shouldn't interfere ... I hate GNU/Linux's audio infrastructure).


Stefan


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] More flexible OS X output

2010-12-17 Thread Stefan Monnier
 opportunity to contribute something.  Specifically, I'm setting up a
 retired G4 PowerBook as a living-room music server using mpd to feed
 an external USB DAC.  And I've found that mpd's OS X output plugin
 isn't quite as flexible as I like: there's no way to specify which
 audio device to use.  This is no big deal if everything runs the

An easy solution is to install something like Debian on that machine
(which, contrary to OS X, still supports this hardware).


Stefan


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] Computed playlists

2010-06-13 Thread Stefan Monnier
I want to listen to a radio whose URL changes on a fairly regular basis.
The way it's meant to be used is via a browser, so there's a stable URL
that brings up a player that then streams from a dynamic URL.
I can easily extract the URL of the actual stream via some wget/curl and
a little sed script.

What would be the best way to get this working in MPD?


Stefan


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] webclient phpMp

2010-02-28 Thread Stefan Monnier
 I do agree that there are way too many web clients out there with no clear
 choices at all, and providing a single one is a great goal.  Most of the
 differences you suggest between clients I think should eventually be simply
 multiple configurations of a single client - single sites can have
 mobile/normal versions, simple and power interface, etc.  Collecting
 together into a single repo and ultimately merging is probably a reasonable
 approach - as long as it's clear that's the intent, not simply to manage
 many different clients in one place.

I tried a bunch of web-clients and my choice was basically determined by:
- resource usage (all the ajax-based clients I tried seemed better
  maintained and spiffier, but my web-and-mpd-server has only 64MB and
  266MHz to do its work, and those clients feel sluggish on such
  hardware).
- of the remaining clients (non-ajax), only one of them (one of the
  phpMp ones) turned out to survive a simple usability test without
  burping all over the place.

So, what I'd like to see is a phpMp-consolidated which would provide
lightweight and reliable operation, while including a bit more features
than the phpMp I'm using now (the one I'm using can't be browsed by
artist or genre or album, but only via the directory hierarchy or via
the `search' field).


Stefan


PS: Can't remember if I mentioned it already, but my MPC.el Emacs-based
client will be included in the upcoming Emacs-23.2.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] webclient phpMp

2010-02-26 Thread Stefan Monnier
 there are some smaller issues in the webclient. however i am going to 
 maintain it, if nobody cares.
 i pulled the source as of version ver 0.11.0 (2004/6/18) to 
 http://sourceforge.net/projects/phpmpreloaded/

 the issues itself:
  - there is a deprecated function split in it. it could be substituted 
 by explode in any cases.
  - the variable $mcount is uninitialized; so i added $mcount = array();
  - there seems to be a change in communication so $mcount needs to be 
 set to zero although count($lsinfo[music]) is non zero

 i fixed the issues on 
 |git://phpmpreloaded.git.sourceforge.net/gitroot/phpmpreloaded/phpmpreloaded


 additionally i also pulled the following versions and will maintain them
  - phpMp2 0.11.0
  - phpMp+ 0.2.3

As a (long time) user of one of them (not sure which, now), that sounds
very good.  But could you clarify how your phpmpreloaded relates to
phpmp, phpmp+, phpmp3, phpmp3, ...?
E.g. Is it a superset of all of them?


Stefan


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] General transition options (was: MPD Crossfading (overlap) Question)

2010-02-01 Thread Stefan Monnier
 I'd rather have is what the Foobar Continuator plug-in (which is hard
 to find ) does -- which is overlap and (lightly) fade in the next
 song at the  end of the previous song.
 Any suggestions on how to get this behavior in MPD?
 I too dislike crossfading and I started the MixRamp project on sourceforge
 (http://sourceforge.net/projects/mixramp) to try to get music players to
 adopt a tagged based approach to doing intelligent transitions.

There's another take on it: I generally don't want fading and generally
like gapfree playing (I typically listen to whole albums so transitions
and gaps are a built-in part of the flac files), but I really would
like to add a gap between albums.  I suspect that something similar
might hold for fading, where some transitions will benefit from it while
others won't.


Stefan


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Database editing

2010-02-01 Thread Stefan Monnier
 Thanks for your prompt answer. I am sorry manual editing is not
 possible, I really would like to separate the information from the
 sound file. BTW mpd can deal with at least one soundfile format (.wav)
 which does not support tagging.  It should not be too difficult to
 write a program to merge two database files one produced by mpd
 extracting information from the tags and one with additional
 information. Will take a look at that.

You could probably let the tagging info come from some external file(s)
rather than from the song files and use that when building the database.


Stefan


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] server to server connection

2009-10-25 Thread Stefan Monnier
 That's the point though. Why introduce this complexity when it's
 unnecessary? Let's state a much simpler way without complicating how
 things currently work.

I agree that the underlying functionality is already provided in
enough ways.  But maybe MPD could provide a bit of help here and there
to make it easier to setup such a thing with a minimum of
extra configuration.

E.g. if you want to access the filesystem currently you end up having to
read MPD's config file (which may be pretty tricky to find: list
processes running, guess which one is the mpd you care about, extract
the config file name from the command line).  Here MPD could help by
providing this config info via a command.  That would also help clients
which want to access the song-database to find album covers.


Stefan


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] mixer-based replaygain

2009-10-22 Thread Stefan Monnier
 A while back I suggested having replaygain operate on a mixer:
 http://www.mail-archive.com/musicpd-dev-team@lists.sourceforge.net/msg2.html

 Is anyone still interested in this?

I'm definitely interested: my poor jukebox can play Ogg just fine, but
the software mixer needed for replaygain is too much for its CPU
(the code probably uses floating point or something), so I end up
having to turn off replaygain and adjust the volume manually.


Stefan


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] Revived MPC.el package

2009-09-30 Thread Stefan Monnier
I'm happy to announce that MPC.el is alive and well.
You can download the latest revision via Bazaar:

   bzr co http://www.iro.umontreal.ca/~monnier/bzr/mpc

It's still not polished, by a long shot, but it finally has
a feature-set which I think makes it respectable.  In short, it's a MPD
client running in Emacs, which presents as its main UI a browser
inspired by the one in Rhythmbox: a frame is divided into an area
showing info about the currently playing song, a bunch of tagbrowsers
show the list of album/artist/younameit (you can browse by any tag
supported by MPD) and a songs list which lists the songs that obey
your selection of album/artist/...

The unique part of it is that among the tags supported are
3 special tags (additionally to the ones provided by MPD):
- playlists
- directories
- search patterns
So you can easily ask to see in the songs list all the songs that
match a particular pattern, and that are mentioned in a particular set
of playlists, and that are stored in a particular set of directories,
...

You can create new playlists, drag'n'drop elements to playlists.

Contrary to many other MPD clients, the playlist does not play such
a central role: e.g. you can select an album and just press play
(which of course will first add it to the playlist).  And if you
press stop (rather than pause), the playlist will be
automatically cleared.

I've been using my own MPD client in Emacs for a long time now.
It stayed fairly limited in features most of this time, basically
tailored to my own particular use habits: basically I use it to quickly
browse through my collection of albums, and then play whichever album
I feel like listening.  Among other things I never use playlists.

But after all this time, I still haven't found an MPD client that gives
me the same browsing-power, so I figured it would be worthwhile to make
it useful to wider audience.

As mentioned, it's still rough around the edges.  E.g. some of the mouse
bindings are problematic, some of the commands don't even have any
bindings, the drag'n'drop doesn't give any visual feedback before the
drag'n'drop is actually done, ...  Also it's very lightly tested, and
only with my particular configuration.

But I think the featureset is now ripe, so I need user-feedback.
Please try it out, and complain.

W.r.t compatibility, it's known to work with MPD-0.14 and not to work
with MPD-0.12.  Not sure about MPD-0.13.
In the past someone got it to work with Emacs-21, but many things have
changed since, so I wouldn't count on it.  It should work on Emacs-23,
and if it doesn't work on Emacs-22, it should be easy to fix.


Stefan


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [PATCH] ncmpc: Adjustable seek time

2009-08-16 Thread Stefan Monnier
Of course, for Emacsers, the N/B pair is an odd-couple as well.
The N is usually paired with P, and B with F.


Stefan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] mpd uclinux branch is not available

2009-08-08 Thread Stefan Monnier
 checking the 0.15.1 release, it seems you have deleted the fork and
 the multi-thread is now fulfilled by glib thread but not pthread, so
 it is not useful to me yet since we are using uclibc.

AFAIK glib works on uclibc just as well as on glibc.


Stefan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Database backend

2009-07-11 Thread Stefan Monnier
 Asking mpd to do an 'update' on its music directory has never
 completed for me - on an NFS-mounted 100GB+ music library.

This points to a real problem that needs to be fixed.

My library is about the same size, tho it likely has far fewer files (I
keep it all in Flac format), but I've never had such problems updating
the database (I mostly do it locally on a 64MB machine, but I've also
done it over NFS/wifi several times).  It may take a couple minutes, on
small machines or slow networks but nowhere near what you're
talking about.

Maybe you're just experiencing a bug/misfeature that can be
easily fixed.


Stefan


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] MPD on Network Media Tank

2009-07-11 Thread Stefan Monnier
 After some discussion and GPL study it seems it is not breaking any  
 license it is just linked to a closed source system library.
[...]
 You MUST NOT distribute MPD linked with proprietary code.  The GPL
 does not allow that.

I do not know much about NMT, but from the looks of it, Ger might indeed
have the right to port MPD to NMT and link against NMT's own closed
libraries as long as these are system libraries.

Of course he still needs to distribute the source code of his MPD port
and things like that, but at least, I don't think the GPL make it
fundamentally illegal to distribute an NMT port of MPD.

In any case, there's not much anybody can do either way: the license has
already been decided a long time ago and as you say, there are too many
contributors to be able to change the license.  So Ger needs to consult
a lawyer rather than this mailing-list ;-)


Stefan


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Best Sinc Interpolator

2009-06-03 Thread Stefan Monnier
 Maybe the sound chip has a fixed sample rate, and plugs a poor
 hardware resampler in front of it.

That's what I assumed, yes, otherwise his report makes no sense.


Stefan

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Stuttering/skips

2009-04-04 Thread Stefan Monnier
 Then maybe I should report a bug: if I don't start mpd with nice -10,
 I get skips on a regular basis, and it becomes unbearable as soon as
 I run other things in the background (typically rsync-over-ssh since
 I use the same box for my backups).  I didn't report it since nice -10
 fixed it, and such things just seem fairly normal to me (tho, maybe mpd
 should/could do the nice 10 itself when run as root).

 Only a real-time kernel can guarantee that MPD doesn't skip (provided
 that the hardware is fast enough).  Linux is not a real-time OS.

 What we do on Linux is use large buffers, and hope that there will
 never be a delay longer than our buffer size.  If other processes take
 so much CPU or induce much latency (by blocking disk I/O, e.g.), MPD
 can not compensate, and you hear skips.  In that case, increase MPD's
 scheduler priority (negative nice level) to reduce the probability.

That was my reasoning indeed.  The machine is seriously underpowered
(266MHz, MPD takes about 20-30% CPU when playing an Ogg song) and its
64MB makes it swap fairly heavily when large rsync processes are running.

 Of course, that rule of thumb is too easy for the real world.  There
 may be bugs in MPD which increase the probability of skips, and there
 may be a lot of room for optimization.  We will attempt to optimize
 when we can measure such problems on a test system.  During the 0.15
 development, MPD's internal latency has been reduced by orders of
 magnitude, most of that with the implementation of reference counted
 pages.

 Which MPD version were you using, Stefan?

I've seen such skips with both 0.13 and 0.14.  Haven't tried 0.15, but
really I don't think it's unreasonable to require nice -10 in
such circumstances.


Stefan

--
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] New HTTP streaming output plugin

2009-03-16 Thread Stefan Monnier
 Last I heard, the HTTP protocol did have any special provision for
 audio content, so what protocol does it actually use?
 It aims to be compatible to shoutcast.

Good, thanks.

 PS: While we're adding ways to send the songs out (to visualizers,
 and other such things)...: when are MPD clients going to be able to
 download songs (so an MPD client can download them to an MP3
 player)?

 Similar to this feature request?
  http://musicpd.org/mantis/view.php?id=1924
 Nobody is currently working on an implementation of that.

Kind of, except it doesn't need UPnD or DLNA, just a new command
download file.  I had sent a sample patch that provided this command
a long time ago.  My implementation was purposefully naive, so that it
could be used to download any file from the `music' subdirectories (and
`playlist', tho this part is not needed any more now that we have
listplaylistinfo), which I abused in my MPC.el client to also download
files like dir/cover.jpg.


Stefan

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] New download command (was: New HTTP streaming output plugin)

2009-03-16 Thread Stefan Monnier
 Kind of, except it doesn't need UPnD or DLNA, just a new command
 download file.  I had sent a sample patch that provided this command
 a long time ago.  My implementation was purposefully naive, so that it
 could be used to download any file from the `music' subdirectories (and
 `playlist', tho this part is not needed any more now that we have
 listplaylistinfo), which I abused in my MPC.el client to also download
 files like dir/cover.jpg.

 I have two problems with that concept:
 - big danger of security problems, of course.

Easy to solve: only allow downloads of song-files.  Tho, allowing
reading any file under the `music' directory would be perfectly safe for
my setup, and I expect it would also be perfectly safe for
most people's.  Of course you'd want to be careful with ...

 - the MPD protocol is UTF-8/line based.

No problem here: just encode the data somehow to make it fit, or use
a separate connection (more problematic but more efficient), or ...
The world of possible solutions is wide open.

 But maybe we can make this part of the HTTP server (move the httpd code
 into MPD core, and let the httpd output plugin mount itself as
 a special case)?

As long as I can download while MPD is playing some other song, that'd
be probably be OK.

 I understand that album cover management is an interesting feature
 request for MPD.  I have been thinking about adding some sort of
 binary stickers for images, lyrics, ...

Yes, my sample implementation covered a whole bunch of different
features, by providing dirty low-level access.  But there's no need to
do it this way (it was just easier for me to implement and saved several
problems at once).  One aspect is just download a song from MPD so
I can stuff it into my portable Ogg player, this may need/want to worry
about re-encoding the song in a different format (e.g. I keep my music
in Flac but like to reencode it into Ogg-96Kb/s before stuffing it into
my Ogg player), but that can left to the client for now.


Stefan


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] New download command (was: New HTTP streaming output plugin)

2009-03-16 Thread Stefan Monnier
 Kind of, except it doesn't need UPnD or DLNA, just a new command
 download file.  I had sent a sample patch that provided this command
 a long time ago.  My implementation was purposefully naive, so that it
 could be used to download any file from the `music' subdirectories (and
 `playlist', tho this part is not needed any more now that we have
 listplaylistinfo), which I abused in my MPC.el client to also download
 files like dir/cover.jpg.

 Why in the hell would anyone want their music player to become a
 network filesystem protocol? I hope this never comes to fruition and

Thanks for bashing my implementation (which I didn't write to submit it
for inclusion, but because I needed to solve an actual problem).
Now, what do you think about my feature request (which can be
implemented in many different ways)?


Stefan


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Empty fields

2009-03-06 Thread Stefan Monnier
 Was that change made on purpose, or is it accidental?
 I guess this is due to the difference between no genre specified and
 genre specified, it's an empty string.  Do you have one or more
 files which have an empty string defined there?

I don't think distinguishing between there's an empty tag and there's
no tag is a good idea.  As for whether it's a good idea to show such
(empty or missing) tags in the output of list, I can see why it'd be
useful, but it breaks my MPC.el client (not in a serious way, mind
you).  Which is why I'm asking here: depending on the answer I'll fix
the corresponding problem or not.


Stefan

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] Empty fields

2009-03-05 Thread Stefan Monnier
Since I upgraded to 0.14, I noticed that `list' sometimes returns
empty names.  E.g. list genre will return something like:

   ...
   Genre: RB
   Genre: 
   Genre: Southern Rock
   ...

In my case, such empty tag values are turned for genre, for
artist, for composer, but not for album.
It appears this corresponds to the fact that all my songs have an
album tag, whereas some don't have any genre or composer or
artist tag.

Was that change made on purpose, or is it accidental?


Stefan


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team