Users browsing this thread: 1 Guest(s)
How do you calculate BRR sample rates?
04-18-2012, 06:10 AM
Thanks for the link, interesting tool.
16000hz is good for a lot of instruments.
Currently I have the formula: 74.437869822 * wave_rate (first byte) = sample_rate (hz)
The first byte of each 2 bytes in the "Wave Rate Multiplying Data for Samples" holds the sample rate/wave rate information for each instrument.
The formula is slightly off though, so it would be best to figure out where the routine for this byte is located.
The "wave rate" data is loaded to the SPC through $2142 at C5/049F -- http://slickproductions.org/docs/FF6/Ban...sembly.txt
Now the "wave rate" should be loaded to the SPC with "MOV A,$F6". I can find 2 instances of that command. But I need to take a better look at the routines they pertain to. -- http://novaliaspirit.99k.org/ff6/file/ff6_spc.txt
16000hz is good for a lot of instruments.
Currently I have the formula: 74.437869822 * wave_rate (first byte) = sample_rate (hz)
The first byte of each 2 bytes in the "Wave Rate Multiplying Data for Samples" holds the sample rate/wave rate information for each instrument.
The formula is slightly off though, so it would be best to figure out where the routine for this byte is located.
The "wave rate" data is loaded to the SPC through $2142 at C5/049F -- http://slickproductions.org/docs/FF6/Ban...sembly.txt
Now the "wave rate" should be loaded to the SPC with "MOV A,$F6". I can find 2 instances of that command. But I need to take a better look at the routines they pertain to. -- http://novaliaspirit.99k.org/ff6/file/ff6_spc.txt
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)