How can sound effects be created?

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

Post Reply
User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

How can sound effects be created?

Post by DRW »

Music for the NES can be created by FamiTracker. But what is the equivalent if you want to create sound effects?

FamiTone works differently for music and sound effects: Music is created from a FamiTracker text export. Sound effects are created directly from an NSF file.
So, I assume you cannot really use FamiTracker to do stuff like explosions or something like that.

Therefore what is the best tool to create different sound effects that can then be converted into a single NSF file?
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: How can sound effects be created?

Post by thefox »

DRW wrote:So, I assume you cannot really use FamiTracker to do stuff like explosions or something like that.
Why not? You can export as NSF from FamiTracker.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

Re: How can sound effects be created?

Post by DRW »

But why are sound effects handled differently in FamiTone?

I mean, in this case, I could compile the sound effect the same way I would compile a regular song.

Why is there a difference in FamiTone between songs and sound effects if the same program (FamiTracker) is used to create both?
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: How can sound effects be created?

Post by tepples »

Probably because it's more RAM-efficient to represent sound effects differently. If you're playing one song and two sound effects, you don't want three complete musical contexts running at once.
User avatar
dougeff
Posts: 3078
Joined: Fri May 08, 2015 7:17 pm

Re: How can sound effects be created?

Post by dougeff »

The difference isn't Famitracker.

The difference is in Famitone.

(In my opinion)... Famitone2 was designed and refined to take up as few bytes of memory as possible (and run as quickly as possible)*, and some compromises were made to remove several features... and (I think) Shiru wanted to allow every possible Famitracker effect for sound effects, which usually DON'T take up alot of ROM space, so he used the NSF format.

(EDITED)
* The famitone2 sound engine uses only 5% of the logic time. (I overestimated it earlier).

I suppose you could write each sound effect as a unique 'song' for Famitone2, and skip the NSF step completely, but you'd have to think of a way to keep the main song from jumping back to the start.
Last edited by dougeff on Thu Jan 14, 2016 7:17 am, edited 1 time in total.
nesdoug.com -- blog/tutorial on programming for the NES
User avatar
GradualGames
Posts: 1106
Joined: Sun Nov 09, 2008 9:18 pm
Location: Pennsylvania, USA
Contact:

Re: How can sound effects be created?

Post by GradualGames »

GGSound provides music and sound effects right out of the box. Just prefix your famitracker song with sfx_ and the GGSound text-to-asm converter turns it into a sound effect.
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: How can sound effects be created?

Post by tepples »

In Pently, my own music engine, sound effects are more similar to FamiTracker instruments than to songs. But I don't yet have an automated way to transcribe FamiTracker music into Pently format; it's currently more like MML or LilyPond.
User avatar
DRW
Posts: 2225
Joined: Sat Sep 07, 2013 2:59 pm

Re: How can sound effects be created?

Post by DRW »

O.k., thanks for the information. I'll tell my composer to do the sound effects in FamiTracker then.
My game "City Trouble":
Gameplay video: https://youtu.be/Eee0yurkIW4
Download (ROM, manual, artworks): http://www.denny-r-walter.de/city.html
Post Reply