YM2612 - Square & Triangle Waves
Posted: Wed Oct 10, 2012 3:10 pm
Does anyone know what is the best approximation on the YM2612 for NES-style square and triangle waves?
For square waves, you could set the multiples for the operators to 1, 3, 5, and 7, since those are the odd harmonics used there. The fundamental frequency has full amplitude, the 3rd harmonic has 1/3 amplitude, the 5th harmonic has 1/5 amplitude, and and the 7th harmonic has 1/7 amplitude. You could set the total levels (TLs) accordingly. Rate Scaling (RS) should probably be 0, then the Attack Rate (AR) should be as steep as possible. The decay rate and release rate should be 0. And since it's just a sum of four harmonics, the algorithm should probably be #7 (assuming you number algorithms from 0-7; this is the one that just adds all 4 operators together).
What would be the best approximation for triangle waves?
For square waves, you could set the multiples for the operators to 1, 3, 5, and 7, since those are the odd harmonics used there. The fundamental frequency has full amplitude, the 3rd harmonic has 1/3 amplitude, the 5th harmonic has 1/5 amplitude, and and the 7th harmonic has 1/7 amplitude. You could set the total levels (TLs) accordingly. Rate Scaling (RS) should probably be 0, then the Attack Rate (AR) should be as steep as possible. The decay rate and release rate should be 0. And since it's just a sum of four harmonics, the algorithm should probably be #7 (assuming you number algorithms from 0-7; this is the one that just adds all 4 operators together).
What would be the best approximation for triangle waves?