[Musicpd-dev-team] DSD playback issues

2013-09-04 Thread Jim Salk
HI all - 

 

I've been testing MPD with various DSD DACs lately and have come across one
issue that appears to be related to DSD support for DoP in MPD.  At the end
of DSD files, there is often a very loud pop (very disconcerting).  When
testing the same DAC with ASIO drivers in Windows, this does not take place.

 

So far, I have tested playback of two DACs in particular, the Auralic Vega
and the Mytek DSD DAC.

 

At this point, the Mytek DAC does not appear to be able to play DSD128 files
(although it does with the Mytek ASIO driver).  I think this is related to
the Mytek's firmware.  The Auralic DAC uses a modified XMOS USB interface
and can play both DSD64 and DSD128 files.  But there is a loud pop at the
end of DSD files with this DAC.  The Mytek also produces a pop, but nowhere
near as loud as the pop as the Vega.

 

Often after this pop, the Vega appears to lose sync somehow.  MPD continues
to stream to it, but there is no sound and the Vega no longer displays the
file resolution.  The solution is to re-boot the Vega and begin playback
again.

 

I noticed that JRiver under windows has an option to set the volume at the
end of a DSD file to zero in order to avoid clicks.  Obviously, since the
Vega does not produce this loud pop at the end of a DSD file, they have done
something in their ASIO implementation.  

 

I'm interested to know if this issue can be addressed with MPD/ALSA or if it
is simply not yet ready for prime time where DSD playback is concerned.

 

Thanks for any input you might offer.

 

- Jim

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/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] DSD playback issues

2013-04-26 Thread Jurgen Kramer
Hi,

 Hi Jurgen and all,

 I am the lead developer of Voyage MPD and I experience the same issue
 (hang
 at the end of playing) when replaying the .dff files downloaded from
 2l.no.
 More specifically, the mpd process consume 100% of a single core.

 If I convert those problematic files to .dsf using Korg AudioGate, the
 problem resolved.

 Did others experience the same?  I would like to see this fix or if anyone
 have pointer to aid me look into I, I can help.

I have noticed these problems with some DFF files. As soon as I can find
some time I'll investigate and report back.

Jurgen



--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] DSD playback issues

2013-04-25 Thread Jim Salk
HI all - 

 

As a follow-up, I ran the following tests on an Alix 2 board running Voyage
MPD 0.9 rc2 into an Auralic Vega DSD DAC.

 

I downloaded the following file from 2L:

http://www.lindberg.no/hires/test/DSD128/2L-038_stereo-DSD128_01.zip

 

This is a DSD128 5.6 MHz .dff file.

 

I used Korg Audiogate to re-write the file in the following formats:

5.6 MHz (DSD128) .dff file (I re-wrote it to insure the file from 2L was
formatted correctly).

2.8 MHz (DSD64) .dff file

5.6 MHz (DSD128) .dsf file

2.8 MHz (DSD64) .dsf file

 

All files played with mixed results.  The Vega display correctly identified
the type of file being played, DSD128 or DSD64.

 

CPU utilization for the various files ranged from a low of 3.6% while
playing DSD64 .dff files to a high of 23.8% during some portions of DSD128
.dsf playback. 

 

The major issues I found were as follows:

 

For the DSD128 .dff file, CPU was in the ranges above until the very end of
the cut.  When it ended, CPU utilization spiked at 99.8% and remained at or
close to this level for extended periods of time until MPD was restarted.
Once MPD was restarted, it played the cut from the beginning and continued
playing until it again reached the end of the track and hung again.

 

DSD128 .dsf files did not exhibit this issue at the end of the file.  But
once in a while, the sound would simply stop playing.  MPD continued to send
the stream, but the Vega display no longer displayed DSD128 and no sound was
heard.  If I stopped playback and restarted it, the song started again at
the beginning, the Vega again displayed DSD128 and sound returned.  This
playback stoppage occurred at random in different parts of the same files at
different times.  I was unable to predict when it would happen.  Once and a
while, there would be a minor dropout but the sound returned.  However, when
this happened, the sound did not return until I stopped playback (not MPD)
and re-started it (when it would start the cut at the beginning again).

 

DSD64 files did not experience either of the above issues (as far as I could
tell, although I did not torture test these as much).

 

With all of these file formats, I was unable to change the song position.
My guess is that this feature has probably not yet been implemented.

 

With some above formats (primarily DSD128), I get a rather loud pop when
the playlist moves from one song to the next.  This does not happen when
hitting next to advance to the next track, only when processing a playlist
and going from one song to the next.  Playing a single song did not result
in this same noise.  

 

I hope this is helpful.

 

- Jim

 

 

From: Punky [mailto:punky...@gmail.com] 
Sent: Wednesday, April 24, 2013 2:12 AM
To: Jim Salk
Cc: musicpd-dev-team@lists.sourceforge.net
Subject: Re: [Musicpd-dev-team] DSD playback issues

 

Hi Jurgen and all,

I am the lead developer of Voyage MPD and I experience the same issue (hang
at the end of playing) when replaying the .dff files downloaded from 2l.no
http://2l.no .  More specifically, the mpd process consume 100% of a
single core.

If I convert those problematic files to .dsf using Korg AudioGate, the
problem resolved.  

Did others experience the same?  I would like to see this fix or if anyone
have pointer to aid me look into I, I can help.

 

On Tue, Apr 23, 2013 at 4:31 AM, Jim Salk js...@salk.net
mailto:js...@salk.net  wrote:

I have been experimenting with using MPD to play DSD files and ran into an
issue.

 

I am using an Alix 2 board, Voyage 0.9 rc2 and driving an AURALiC Vega DAC.
Every once and a while, when a .dff file reaches the end, MPD hangs.  I can
restart it and it will pick up again playing the same file.  And as long as
the file does not reach the end,  and I can switch to another file with no
problem.  But if I let the file play to the end, MPD hangs.  If I convert
that same file to .dsf, MPD handles it just fine.

 

Is there an issue playing .dff files with MPD?  If so, is anyone working on
this?

 

By the way, I did not notice this testing on a MAC using Audirvana as a
player.  

 

Other things I noticed are that you cannot advance to another location in
the track and DSD128 files are played as DSD64.  I am sure everyone is aware
of these limitations already, but am just pointing them out.

 

 




-- 
--
Regards,
Kim-man Punky Tse

P U N K N ! X  . c o m
Technology + Lifestyle (http://www.punknix.com)

/** Open Source Embedded Solutions and Systems **/
 // Voyage Linux (http://linux.voyage.hk)
 // Voyage ONE   (http://linux.voyage.hk/voyage-one)
 // Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
/** Voyage Store   (http://store.voyage.hk) **/ 

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few

Re: [Musicpd-dev-team] DSD playback issues

2013-04-24 Thread Punky
Hi Jurgen and all,

I am the lead developer of Voyage MPD and I experience the same issue (hang
at the end of playing) when replaying the .dff files downloaded from 2l.no.
More specifically, the mpd process consume 100% of a single core.

If I convert those problematic files to .dsf using Korg AudioGate, the
problem resolved.

Did others experience the same?  I would like to see this fix or if anyone
have pointer to aid me look into I, I can help.


On Tue, Apr 23, 2013 at 4:31 AM, Jim Salk js...@salk.net wrote:

 I have been experimenting with using MPD to play DSD files and ran into an
 issue.

 ** **

 I am using an Alix 2 board, Voyage 0.9 rc2 and driving an AURALiC Vega
 DAC.  Every once and a while, when a .dff file reaches the end, MPD hangs.
 I can restart it and it will pick up again playing the same file.  And as
 long as the file does not reach the end,  and I can switch to another file
 with no problem.  But if I let the file play to the end, MPD hangs.  If I
 convert that same file to .dsf, MPD handles it just fine.

 ** **

 Is there an issue playing .dff files with MPD?  If so, is anyone working
 on this?

 ** **

 By the way, I did not notice this testing on a MAC using Audirvana as a
 player.  

 ** **

 Other things I noticed are that you cannot advance to another location in
 the track and DSD128 files are played as DSD64.  I am sure everyone is
 aware of these limitations already, but am just pointing them out.






-- 
--
Regards,
Kim-man Punky Tse

P U N K N ! X  . c o m
Technology + Lifestyle (http://www.punknix.com)

/** Open Source Embedded Solutions and Systems **/
 // Voyage Linux (http://linux.voyage.hk)
 // Voyage ONE   (http://linux.voyage.hk/voyage-one)
 // Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
/** Voyage Store   (http://store.voyage.hk) **/
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] DSD playback issues

2013-04-22 Thread Jim Salk
I have been experimenting with using MPD to play DSD files and ran into an
issue.

 

I am using an Alix 2 board, Voyage 0.9 rc2 and driving an AURALiC Vega DAC.
Every once and a while, when a .dff file reaches the end, MPD hangs.  I can
restart it and it will pick up again playing the same file.  And as long as
the file does not reach the end,  and I can switch to another file with no
problem.  But if I let the file play to the end, MPD hangs.  If I convert
that same file to .dsf, MPD handles it just fine.

 

Is there an issue playing .dff files with MPD?  If so, is anyone working on
this?

 

By the way, I did not notice this testing on a MAC using Audirvana as a
player.  

 

Other things I noticed are that you cannot advance to another location in
the track and DSD128 files are played as DSD64.  I am sure everyone is aware
of these limitations already, but am just pointing them out.

 

- Jim

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team