Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

DSD to PCM in Octave, then DAC firmware
DSD to PCM in Octave, then DAC firmware
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
Thread Tools Search this Thread
Old 19th December 2016, 08:29 AM   #1
borges is offline borges  Norway
diyAudio Member
Join Date: Dec 2003
Location: Oslo, Norway
Default DSD to PCM in Octave, then DAC firmware

Hi guys,

I'm working on a DAC where USB audio decode is done in open-source firmware. (See signature for details.) At the moment I'm looking for DSD music files, test tones and the best playback tools.

For the fun of it I've started toying with the idea of adding "DSD support". At least being able to accept DSD data input. In future DACs incoming DSD should obviously be sent as-is to a DSD capable DAC chip. But in the existing hardware it would surely be nice to accept DSD as well.

The current AK4430 DAC chip accepts only PCM, up to 24/192. Now, I'm thinking about converting incoming DSD to PCM to be transported over local I2S. (I know the DAC is delta-sigma and that all this conversion back and forth is not ideal. If you think this is plainly just a stupid idea, let's discuss that in a separate thread.) At the moment I'd just like to check how feasible it is and how it may eventually sound.

The MCU (Atmel AVR32) does have some resources available but not a ton. I believe a 2nd or 3rd order CIC filter can be done, maybe even a few FIR taps.

To test things out I'm thinking about algorithm development in Octave (Matlab). I know Octave has good .wav support but it does not yet support .dsf. Judging from the file format that shouldn't be too hard to implement. Anybody here with such experience?

As for playback solutions, I have both foobar2000 and JRiver here today. What is the recommended solution for DSD playback on OS X and Windows? The DAC has an open-source ASIO driver as its only connection to UAC2 on Windows. This ASIO driver doesn't yet have DSD support, but that can probably be added once we know the correct way to do it. What I'd like to avoid is DSD to PCM conversion in the player software.

Thanks for your input!

  Reply With Quote


DSD to PCM in Octave, then DAC firmwareHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DIY ES9018 DSD PCM 32bit DAC with COMBO384 666mille Digital Line Level 5 12th November 2014 09:40 AM
ES9018, DSD to PCM or NOT ? Why? simonvan Digital Line Level 0 28th June 2013 08:52 AM
A good link for DAC basics? (PCM vs. DSD, De-emphasis,...) GD3 Digital Source 0 14th December 2006 05:51 AM
Ultimate DAC - Upsampling PCM 44.1Khz to DSD proengin Digital Source 4 13th March 2006 11:02 AM
SM5816A ( DSD to PCM ) Microfast Digital Source 6 14th December 2002 08:27 PM

New To Site? Need Help?

All times are GMT. The time now is 08:26 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio