thomzane, to random

@inversephase What is the workflow like to add voices to NES music like in the track Duke NES'em 3D? I have always wondered that. https://inversephase.bandcamp.com/track/duke-nesem-3d

inversephase,

@thomzane on oldskool systems, are a mess. hardware like the has dedicated sample hardware called DPCM (delta PCM) or some people call it DMC, you get these 1-bit bitstreams that tell the waveform whether it goes up or down over time, and then the hardware can play that back without much resource drain. When you use , you can just load a WAV into a slot and for the most part (barring memory limitations) it automagically prepares it for playback.

Two other ways to do samples on (which are closer to what modern hardware does) are either (1) to play the lowest note on the hardware where the sound wave for the square wave "sticks" high or low, and vary the volume to the level of the samples, or (2) use PWM, where rather than varying the amplitude of the wave (which is how you'd visualize it on a scope) you use another 1-bit bitstream and the length of time spent on a high or a low would pull the speaker in that direction for that amount of time, and the amount of time is so incredibly small that the speaker might not make it all the way to the other extreme before it gets sent in the other direction by the opposite bit.

Duke NES'em 3D was one of the first NES I ever wrote, so the song was written in soundtracker, and I used a bunch of shell scripts and compilers to compile it into an NSF.

For the voices themselves, first I got Jon St. John (Duke Nukem Himself) to record the lines. Then, to be honest I did a whole lot of bumping around in the dark. I didn't really know what I was doing, other than that I knew the hardware wouldn't push out a full-quality WAV. I somehow found that using a 3-bit amplitude worked out really well. Reflecting, the octal thing was almost definitely a mistake, because that's 3-bit and the amplitude on the square waves can be 4-bit. Maybe I just mis-entered the bit depth to convert the WAV I got from Jon? There was some PWM employed as well because I then converted the sample data to a macro that would get pushed out of a square wave channel rather than the sample channel. It..... kinda worked out? If you think it sounds good, I probably just threw my hands in the air and said "good enough" because the voice was one of the last things I added to the track.

So there you go! My method is NOT the way I would recommend doing it, or the way most people do it these days, but that's how you get that exact result.

Tagging this with a few extra tags so that other people can find this weird piece of history.

RL_Dane, to random
@RL_Dane@fosstodon.org avatar
mdmrn, to music
@mdmrn@urusai.social avatar

No, you're the one who after @sariash brought up , had to check out their page to view all their fantastically done covers of songs.

Here's a cover and so well done video of "I Am" by IVE: https://www.youtube.com/watch?v=unauyPuv_fw

Tags: #아이브 #アイヴ

jay, to random
@jay@toot.zerojay.com avatar

Echelon Dreamcast cracktro, I remember this one quite well from back in the day. I think it was on Fire Pro Wrestling D.

What cracktros do you remember fondly?

https://www.youtube.com/watch?v=Ve_Or9nlXEA

jk, to random

In the spring of 2020, with the pandemic starting, I decided to spend a couple of months writing a SID-chip style audio engine and a tracker called Bitwise Harmony, all in C and based on SDL.

The UI toolkit was later used to kickstart @lagrange where it has significantly matured over the past 2.5 years.

I'm thinking of cleaning up and publishing Bitwise Harmony. Anyone interested in making retro-modern ?

https://youtu.be/MPT5jq28hxA

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • lostlight
  • All magazines