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

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Wiki proposal - FDS Sound Frequency, Octave, and Note list!
by on (#72118)
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.

by on (#72126)
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.

by on (#72129)
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?

Quote:
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.

by on (#72133)
Thank you both for the info, I should make one out right away!

Both of you are very great help - Credit is now given