don't click here

SNES audio

Discussion in 'Technical Discussion' started by JaredAFX, Jul 30, 2013.

  1. JaredAFX

    JaredAFX

    You telling me a shrimp fried this rice? Member
    908
    60
    28
    Florida
    Downloading megahertz
    I'm pretty knowledgeable about chiptune music. I make stuff in FamiTracker, so I completely understand the NES/Famicom's 2A03 chip and the Famicom's expansions, like the VRC6. I also understand that the Game Boy basically has four FDS (Famicom Disk System) channels. Last, but not least, I get that the Genesis has a Yamaha FM chip and a Texas Instruments PSG chip, and that the two are controlled by a Z80 (the Master System's CPU, as well as a lot of other devices). What I don't understand is the S-SMP, the Super Nintendo/Famicom's soundchip. I've heard that it doesn't make "chiptunes" in the conventional sense because it only uses samples. Is this true? Is there no internal sound that it can make, other than bending the pitch of samples? I'm just confused on the whole subject and I can't find a reliable source; everything conflicts with each other.

    EDIT: Changed the topic title to better reflect the conversations going on.
     
  2. steveswede

    steveswede

    Member
    5,032
    1
    16
    Ask my hand
    Fighting against the Unitary State of Europe
    My understanding of it is that chip tunes are from hardware synths and not ROMplers so yeah your understanding is the same as mine. As for the SNES producing it's own sounds, hopefully someone can answer that because I'm curious if it does and if true what games do.
     
  3. Andlabs

    Andlabs

    「いっきまーす」 Wiki Sysop
    2,175
    1
    0
    Writing my own MD/Genesis sound driver :D
    SNES plays back samples stored in a compressed form called BRR. There are eight playback channels, and each can be swapped out with a traditional noise channel if you so choose. You can read up on the full capabilities of the chip by looking for technical documentation on the chip (I'm using Anomie's S-DSP Doc as a technical reference for something secret :ssh: ).

    As for whether or not SNES music qualifies as chiptunes, I'm not going to argue sides here, though from what I can tell for the time being when most people think of chiptunes they usually think of square wave music (NES, GB, C64, etc. or just using instruments that sound like the above but are not made on that hardware).
     
  4. Shadow Hog

    Shadow Hog

    "I'm a superdog!" Member
    I always kind of figured that SNES music was basically like music modules (XM, IT, MOD etc) - except it was very limited in the amount of sample space you got, so the samples were frequently compressed heavily, leading to that "muffled" sound criticism that occasionally gets thrown around.
     
  5. Eric Wright

    Eric Wright

    Born into this. Oldbie
    That "muffled" sound is actually a low-pass filter applied to the overall sound output; most SNES music is very similar to MOD/XM/etc stuff, and the LPF is applied to smooth out some of the treble "crackly" artifacts that can occur.

    Seconding this; partially because I always kinda associate "chiptune" with audio being created from a chip, as opposed to using samples... but you can't control how things get construed as they gain wider popularity/audience.
     
  6. Rosiero

    Rosiero

    Mmph! Oldbie
    Huh, interesting. Makes me wonder what SNES music would sound like without that filter, even if the result was apparently deemed undesirable by the people who made it.
     
  7. Meat Miracle

    Meat Miracle

    Researcher
    1,664
    5
    18
    Technically the whole chiptune moniker originates from the Amiga MODs, which played back 4 channel sampled music.

    What you are thinking of is not chiptune but FM.
     
  8. JaredAFX

    JaredAFX

    You telling me a shrimp fried this rice? Member
    908
    60
    28
    Florida
    Downloading megahertz
    Well, I didn't expect to get so many replies :specialed:
    It makes more sense to me now. I just didn't understand how the SNES worked its magic. Comparing SPCs to MODs and XMs makes perfect sense.
     
  9. Chibisteven

    Chibisteven

    Member
    1,365
    39
    28
    US
    I just simply define chip tune as anything that uses a microchip(s) to reproduce a performace by a stream of notes and controllers (may require the actual hardware to faithfully reproduce the performace), regardless if it's FM, or sample-based, or sqaure-based. I define streaming audio as anything that was recorded as a wave form in the studio and compressed or stored in a format that takes a steady stream to reproduce the end result and doesn't need the original hardware once a decoder is written to reproduce accuritely.

    Chiptune: Genesis, (some SEGA CD tunes), 32X, Super Nintendo, etc. Any modern console's sound format that similar to MIDI such as the Playstation Sound Format
    Streaming (not a chiptune): redbook audio, adx, etc.

    Games that use chiptunes by my defination of a true chiptune: majority of Sonic Shuffle's score, Sonic CD (Past)
    Example of a game using streaming audio, not a chiptune by my defination: Sonic Adventure (1&2), Sonic R, Saturn version of Sonic 3D Blast, Sonic Shuffle's score during a MPEG movie, Sonic CD (present, good future, bad future), etc.
     
  10. Mr Lange

    Mr Lange

    A wise guy eh. I know how to DEAL with wise guys. Member
    1,286
    11
    18
    The Land of Waldos
    Sonic Utopia, Sonic Overture
    Get the SNESamp plugin for Winamp/XMPlay and try out some SPCs. The options let you disable the filter, or even change the filter type. In fact it lets you modify the sound output in a variety of ways.
     
  11. Black Squirrel

    Black Squirrel

    no reverse gear Wiki Sysop
    8,617
    2,494
    93
    Northumberland, UK
    steamboat wiki
    Because I've always been a bit confused on this as well

    Is it a coincidence then that a lot of SNES music sounds the same? I've never been a fan of this instrument but yet it seems to turns up in tons of SNES games (for example). Was this from some standard library supplied by Nintendo or am I getting this compeltely wrong
     
  12. Blastfrog

    Blastfrog

    See ya starside. Member
    I've always hated the SNES's muffled sound and oft-reused samples. The console would've sounded much better if more devs used more unique samples, and if Nintendo had found a better solution to artifacts from using uninterpolated samples. I would have preferred crisp, if not slightly buzzing sound over muffled soft crap. It just takes away from any "oomph" a dramatic sting may have had because it sounds like you're underwater.
     
  13. Thousand Pancake

    Thousand Pancake

    Being a food you put milk on and then eat in the m Member
    360
    0
    0
    I'm pretty sure ZSNES lets you lets you turn off any and all filters and interpolation for the sound and just listen to the instruments raw.


    My definition is much the same, but broader. If it's a sequenced piece of music being played back on a single synthesizer or rompler, be it hardware or software-based, it's a chiptune.
     
  14. ICEknight

    ICEknight

    Researcher Researcher
    I guess removing the low-pass filter would just result in a clearer sound with weaker bass... But I think the sound interpolation might be something more relevant to the unique way the SNES music sounds.


    If I remember correctly, when disabling sound interpolation, some of the instruments (I'm guessing those not sample-based) will sound more like they're coming from a Game Boy Advance (think those buzzing sounds in the Sonic Advance music).


    ...This makes me wonder how would the Game Boy Advance games sound like with those SNES filters and interpolation applied, specially on top of the clear samples you can hear when extracting the songs to MIDI format.


    (Edited since I had skipped a few posts accidentally)
     
  15. TmEE

    TmEE

    Master of OPL3-SA2/3 Tech Member
    1,726
    2
    18
    Estonia, Rapla City
    T-04YBSC-A !
    Muffledness is a side effect of the interpolation method used on the samples during playback. Filtering done as part of BRR compression is not the most significant cause. I would love to get a cloned SPC with interpolation removed, I'll much rather hear aliasing artifacts than something coming underwater or through a pillow. That still won't fix all the looping problems half the games have...

    As for chiptuneness, it is a style of music, it does not and should not have to be tied to hardware to qualify as being such. I don't consider anything I do as chipmusic even thouh it comes out various chips. By that logic most of the electronic music is chip music due to being all synth generated. Chipmusic to me is the mainly squarewaves based stuff... the Gameboy, NES, SMS, Atari etc. I'll now go back to making sweet italo on the YM chips :P
     
  16. Lilly

    Lilly

    Member
    2,431
    238
    43
    United States
    Shang Mu Architect
    Wow. Just from reading the topic, the SNES audio format finally makes sense; an XM style format with samples. I always wondered why all of my favorite games had very different sounds to them.

    As for the interpolation, I can kinda relate there. While playing Super Street Fighter II on SNEmulDS on the DS, it probably doesn't have that interpolation as far as I know, so the sound effects and music are crystal clear, (The music sounds a lot better that way.) but when I played it on ZSNES, (Which I later realized had filtering.) I was wondering what the heck was wrong with the sound. It was fairly muffled and compressed.
     
  17. muteKi

    muteKi

    Fuck it Member
    7,851
    131
    43


    I like just putting on a cubic interpolation through highly advanced (in_gsf), which has pretty comparable sound quality to the we-don't-need-no-stinkin-interrupts performance via midi+soundfont, and has the advantage of not needing a media player that's not winamp.
     
  18. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    So if SNES audio is sample-based, and GBA audio is sample-based, what excuse did Super Mario World: Super Mario Advance 2 have for sounding so completely awful? I'm fairly certain they didn't use the same samples.
     
  19. Shadow Hog

    Shadow Hog

    "I'm a superdog!" Member
    The GBA doesn't have very good DAC, to my understanding. I forget if that's because it doesn't have a proper sound chip, forcing the CPU to handle audio duty, or if it's a memory issue limiting the size of samples, or if I'm completely off-base with my knowledge.
     
  20. Andlabs

    Andlabs

    「いっきまーす」 Wiki Sysop
    2,175
    1
    0
    Writing my own MD/Genesis sound driver :D