Read/write .dsf

The place for "I can't figure out how to..." questions.
Post Reply
sjoerdstaal
User
Posts: 6
Joined: Mon Jan 11, 2016 9:11 am
Are you a spambot?: no

Read/write .dsf

Post by sjoerdstaal » Tue Feb 23, 2016 11:33 am

Hi,

We're using the getID3 lib for reading/writing tags to .wav, .mp3, and .flac file, all work great. But the website I'm working on is starting to use a new file format, namely .dsf (https://en.wikipedia.org/wiki/Direct_Stream_Digital), Tagged Direct Stream Digital, is or will getID3 able to read this format?

Cheers,

Sjoerd

James Heinrich
getID3() v1 developer
Posts: 1427
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Read/write .dsf

Post by James Heinrich » Tue Feb 23, 2016 3:12 pm

sjoerdstaal wrote:is or will getID3 able to read this format?
It didn't, but now it does.

Turns out Sony made the file format quite simple, and made clear documentation (even though Sony doesn't host it any more) so I added support for DSF:
https://github.com/JamesHeinrich/getID3 ... e436980b48

I don't have a sample file that has an embedded META chunk, so if you happen to have one please submit it so I can add support for that.

sjoerdstaal
User
Posts: 6
Joined: Mon Jan 11, 2016 9:11 am
Are you a spambot?: no

Re: Read/write .dsf

Post by sjoerdstaal » Wed Feb 24, 2016 10:07 am

Hey James, great to hear! You're my hero. I'll upload a richly tagged .dsf to dropbox and share the link here, give me a moment! :)

sjoerdstaal
User
Posts: 6
Joined: Mon Jan 11, 2016 9:11 am
Are you a spambot?: no

Re: Read/write .dsf

Post by sjoerdstaal » Wed Feb 24, 2016 10:19 am

Hereby a .dsf track, if you need more, let me know!

https://www.dropbox.com/sh/1szr8hw8t1rd ... h.dsf?dl=0

James Heinrich
getID3() v1 developer
Posts: 1427
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Read/write .dsf

Post by James Heinrich » Wed Feb 24, 2016 1:21 pm

Thanks for the sample file. ID3v2 support is now enabled for .dsf:
https://github.com/JamesHeinrich/getID3 ... f07195e5b0

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest