Music: Difference between revisions
(expanded on the justification for rolling your own) |
Rainwarrior (talk | contribs) (remove migrated SNES Audio article) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Audio]] | |||
Music is available for the NES. It is most often stored in NSF files, which package the data for one or more songs along with 6502 machine code to play it back. NSF files can be played on a NES or on a PC with an appropriate player which emulates the NES sound hardware and CPU. | Music is available for the NES. It is most often stored in NSF files, which package the data for one or more songs along with 6502 machine code to play it back. NSF files can be played on a NES or on a PC with an appropriate player which emulates the NES sound hardware and CPU. | ||
The music from a large number of NES games has been "ripped" into NSF format, and people are actively creating [http://www.2a03.org/ new NES music] with sequencing tools. | The music from a large number of NES games has been "ripped" into NSF format, and people are actively creating [http://www.2a03.org/ new NES music] with sequencing tools. | ||
Refer to the [[Tools#Music_tools|Music tools]] wiki page for details. | |||
Some of these general-purpose music engines are designed for making NSFs where the only thing executing is the music player. | |||
This means they can be fairly large, and in an [[NROM]] game, their features might not justify their size. | This means they can be fairly large, and in an [[NROM]] game, their features might not justify their size. | ||
If you want to write your own music engine that targets the NES [[APU]], you'll first need a lookup table for the note periods. | If you want to write your own music engine that targets the NES [[APU]], you'll first need a lookup table for the note periods. | ||
This means you'll need the frequencies that correspond to various pitches. See [[Wikipedia:Pitch (music)]], [[Wikipedia:Semitone]], and [[Wikipedia:Equal temperament]]. | This means you'll need the frequencies that correspond to various pitches. See [[APU period table]], [[Wikipedia:Pitch (music)]], [[Wikipedia:Semitone]], and [[Wikipedia:Equal temperament]]. | ||
== NES Audio == | |||
* [[NES APU]] |
Latest revision as of 00:27, 3 October 2022
Music is available for the NES. It is most often stored in NSF files, which package the data for one or more songs along with 6502 machine code to play it back. NSF files can be played on a NES or on a PC with an appropriate player which emulates the NES sound hardware and CPU.
The music from a large number of NES games has been "ripped" into NSF format, and people are actively creating new NES music with sequencing tools.
Refer to the Music tools wiki page for details.
Some of these general-purpose music engines are designed for making NSFs where the only thing executing is the music player. This means they can be fairly large, and in an NROM game, their features might not justify their size.
If you want to write your own music engine that targets the NES APU, you'll first need a lookup table for the note periods. This means you'll need the frequencies that correspond to various pitches. See APU period table, Wikipedia:Pitch (music), Wikipedia:Semitone, and Wikipedia:Equal temperament.