Wiki proposal - FDS Sound Frequency, Octave, and Note list!

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

Moderator: Moderators

Post Reply
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Wiki proposal - FDS Sound Frequency, Octave, and Note list!

Post by Hamtaro126 »

This topic is going to be about a section someone should add, Essential for FDS developers and beginners to write thier own sound engine for FDS, What I'm mostly aiming is FDS to MMC5 and DPCM related.

If such a list happens, This could also help both FDS/Sound Developers and newbies immensely

EDIT: This is also NES music related, Could be moved if needed.
AKA SmilyMZX/AtariHacker.
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Is there such a list on the wiki already for regular 2A03 channels ? I can't find one. I remember that Celius had posted a complete list though.

Then you can easily make your own tables from the frequencies of the notes, it's 440 Hz * 2^(note number / 12), where note number is the number relative to 440Hz A.
Then if you know the formula to compute the chanel's output frequency in function of the value in the frequency reg, you just need to solve the equation for the frequency reg, and you find the formula that gives you the frequency reg in function of the frequency, therefore in function of the note.
Useless, lumbering half-wits don't scare us.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Bregalad wrote:Is there such a list on the wiki already for regular 2A03 channels ?
APU period table, linked from basics and libraries. Where did you expect it to be linked, so that I can help fix that?
Then if you know the formula to compute the chanel's output frequency in function of the value in the frequency reg, you just need to solve the equation for the frequency reg, and you find the formula that gives you the frequency reg in function of the frequency, therefore in function of the note.
And the Python code in APU period table should help you write the program that turns said formula into an include file.
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Post by Hamtaro126 »

Thank you both for the info, I should make one out right away!

Both of you are very great help - Credit is now given
AKA SmilyMZX/AtariHacker.
Post Reply