Audio data from DS games...

Discussion in 'NDS - Console and Game Discussions' started by delt, Jan 3, 2013.

  1. delt
    OP

    delt Member

    Newcomer
    27
    1
    Sep 17, 2012
    Canada
    Hello,

    I was wondering if there is a format similar to .SPC (for snes spc700 sound data) or .NFS (for nes sound data) but for the DS's sound system. If not, is there any way to extract individual samples (and maybe even note data) from a rom, other than playing them and recording/capturing the audio? Sound output on the DS is dithered down to i think 10 or 12 bits, which results in a kind of annoying hiss......
     
  2. proctology

    proctology Member

    Newcomer
    39
    2
    Jan 16, 2012
    United States
    Not sure about a technical extraction, but how were you trying to record it? I bought a male/male mic cable I haven't tried out yet to see if I can record off of KORG-DS10...
     
  3. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,698
    9,568
    Nov 21, 2005
    United Kingdom
    This is probably better suited to the ROM hacking section but hey we are here. A thread http://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/ - summary is most audio on the DS uses the SDAT format (I add on the Runaway series using OGG files, Adventure time custom PCM wrapper format and Phantom Detective burying the SDAT in a subfile and I think I am up to date on all the known games using non SDAT or tweaks on that thread).

    File format aimed at the PC but for full audio replication- yeah it is called 2sf
    http://sourceforge.net/projects/vgmtoolbox/ (though you might have to go on a little search for all the plugins)

    Plugins for foobar http://filetrip.net/nds-downloads/utilities/download-vio2sf-2011-05-27-foobar-f29356.html and I think winamp- http://www.zophar.net/utilities/2sf/vio2sf.html exist for them (I mainly stick with the foobar stuff). Sadly it has not been updated in a few years and the desmume code it was based on was improved in the meantime.

    Actual hacker style methods (mainly midi with DLS) also exists if you want to go that route. For that we have VGMtrans although http://gbatemp.net/threads/nitro2dls-new-tool-for-making-dls-files-from-sdat.340329/ did appear the other day (though I believe it does not support the seldom used articulation features where VGMtrans might have).

    Lastly it is not always the dithering but the criminally low sample rates that causes issues in my experience.