Lossless SD-card player - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 16th March 2009, 08:29 AM   #1
diyAudio Member
 
-ecdesigns-'s Avatar
 
Join Date: May 2006
Post Lossless SD-card player

This thread is about designing a WAV (FLAC) SD-card player for integration in (existing) DACs. It runs on a (divided) DAC master clock, and outputs I2S (64 bit / frame).

The advantage over CD players is the bit-perfect CD image, stored on a semiconductor memory card, that's able to reproduce exactly the same digital audio data, over and over again. Unlike CD players, the semiconductor memory is insensitive to shocks and vibrations, the card is also more robust compared to a CD that damages (scratches) easily. The SD-card player is absolutely silent (no moving parts).

The SD-card capacity also allows storage of multiple CDs or even an entire play-list. Due to the clock strategy and interface (I2S out), very low clock jitter and interference levels could be obtained. The interface / interlink related problems are eliminated.

The advantage over computer (PC) based digital audio sources is the absolute silent operation, low power consumption, very low interference levels, very low jitter, and The interface / interlink related problems are eliminated.
  Reply With Quote
Old 16th March 2009, 11:06 AM   #2
jims is offline jims  United States
diyAudio Member
 
Join Date: Mar 2007
Hi EC


Are you thinking about something like this:

http://www.amazon.com/American-Audio.../dp/B0013UQZZA


JimS
  Reply With Quote
Old 16th March 2009, 12:53 PM   #3
diyAudio Member
 
Join Date: Mar 2009
Hi.

I have done the flac decoding in a tiny Xilinx FPGA, that receives streams (and playback commands) from an ethernet connection, and outputs the I2S.
I have actually had the same idea about a dedicated player, with a simple 2 lines lcd display and navigation keys for the operation, and reading data from usb stick or sd card.

I would be happy to share the FPGA source code, or we can co-work on a complete design ??
  Reply With Quote
Old 16th March 2009, 01:18 PM   #4
diyAudio Member
 
theAnonymous1's Avatar
 
Join Date: Feb 2004
Location: Anonymityville
Quote:
Originally posted by jims
Hi EC


Are you thinking about something like this:

http://www.amazon.com/American-Audio.../dp/B0013UQZZA


JimS
It only plays MP3 format and has a 4GB SD card limit.
  Reply With Quote
Old 16th March 2009, 01:59 PM   #5
diyAudio Member
 
-ecdesigns-'s Avatar
 
Join Date: May 2006
Hi cbroegger,

Quote:
I have done the flac decoding in a tiny Xilinx FPGA, that receives streams (and playback commands) from an ethernet connection, and outputs the I2S.
I have actually had the same idea about a dedicated player, with a simple 2 lines lcd display and navigation keys for the operation, and reading data from usb stick or sd card.
Thanks for the offer, but we use a dedicated Microchip DSP that basically has all required hardware like dual ported RAM, DMA, and I2S generation logic on-chip. We use an existing FAT32 library provided by Microchip. The rest is programmed in either assembly or c. The FAT32 file system is already up and running. I2S patterns have been successfully generated, and the clock strategy is already sorted out.
  Reply With Quote
Old 16th March 2009, 02:18 PM   #6
diyAudio Member
 
-ecdesigns-'s Avatar
 
Join Date: May 2006
Here are some basic specs:

Support for max. 99 CDs and max. 99 tracks / CD on a single SD-card.
Support for CD and / or track shuffle.
FAT32 file system, provides support for high-capacity SD-cards.
Digital audio stored as WAV files.
Simple user interface, push buttons and blue 7-segments displays.
Remote control (optional).

Functions:

CD increment / decrement (1 ... 99, 0 = CD shuffle).
Track increment / decrement (1 ... 99, 0 = track shuffle).
Play/ pause
Stop
SD-card number support (1 ... 9999) for easy SD-card identification.

Output:

Philips I2S, 64 bits / frame.
44.1/16
44.1 KHz word clock, 2.8224 MHz bit clock (derived directly from master clock).

Power supply:

Single 5V (low-noise).

DSP clock = DAC master clock. The idea is to place the master clock as close to the DAC chip as possible, and route the buffered master clock to the DSP external clock input.

Main objective is to create an ideal digital audio source that provides very low jitter I2S signals, lowest possible interference, and is small enough to integrate in existing DACs. The integration is a must, as an I2S interface is used (short interlinks required), and the DSP must run on the DAC master clock.
  Reply With Quote
Old 16th March 2009, 02:22 PM   #7
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Hi there.

I guess you know Koon's project from 2006. He's been there, done it.
He even made it work with a TI TAS5706 full digital amp.

ultimate source

http://www.koonlab.com/UltimateSource.html

Cheers
  Reply With Quote
Old 17th March 2009, 03:17 PM   #8
JC951t is offline JC951t  Taiwan
diyAudio Member
 
Join Date: Sep 2006
HI EC,
Does that mean the end of the road for CDP's
  Reply With Quote
Old 17th March 2009, 07:10 PM   #9
a333bt is offline a333bt  Slovenia
diyAudio Member
 
Join Date: Jun 2004
Location: Vodice
Quote:
Originally posted by JC951t
HI EC,
Does that mean the end of the road for CDP's
Hi JC95t,

probably yes. When i start using computer for music, CDs are only in the bigger boxes.

But, using SD card can be stored many CDs on 1 card.

To me this is practical solution. I will go for it, when is SD player ready.
Of course with DI1M.

Best regards,
Bostjan
  Reply With Quote
Old 17th March 2009, 07:59 PM   #10
diyAudio Member
 
Join Date: Dec 2004
Location: Brabant
@cbroegger

Are you willing to publish the mentioned fpga design.

I'm curious about the flac decoding part in the fpga

Small fpga you say, which type ?
What are you using for playback on the pc ?

I wanted to start with this avnet evaluation board for some testing
link

Gene
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



New To Site? Need Help?

All times are GMT. The time now is 08:40 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2