Yamaha internal waveform info
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
Yamaha internal waveform info
Hey guys,
Not sure if this is the correct forum (or place) for this, but I'm looking for the resolution and length of the internal sine wave used by the YM2612, OPL2, and some other Yamaha FM chips. I *think* I remember TmEE mentioning the 2612 had a 9bit resolution on the sine wave, but no mention of length.
Also looking for more info on phase distortion synthesis by Casio. This is for a synth emulation project on a non PC platform.
Thanks,
Tom
Not sure if this is the correct forum (or place) for this, but I'm looking for the resolution and length of the internal sine wave used by the YM2612, OPL2, and some other Yamaha FM chips. I *think* I remember TmEE mentioning the 2612 had a 9bit resolution on the sine wave, but no mention of length.
Also looking for more info on phase distortion synthesis by Casio. This is for a synth emulation project on a non PC platform.
Thanks,
Tom
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
AFAIK, the sampling rate is around 52KHz (53203424(PAL) / something), accuracy 9 or 10 bits on discrete Yamaha YM2612 and about 12 bits on Sega internal YM2612. The bit count is an estimate, which I estimated by listening the amount of aliasing noise produced and comparing with WAV files degraded to some bit count.
OPL2/3 is 49KHz... I don't know about accuracy, it can't be less than 12 bits I think, my sound card sound very clean.
OPL2/3 is 49KHz... I don't know about accuracy, it can't be less than 12 bits I think, my sound card sound very clean.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
Hmm but that doesn't tell me anything about the digital sine waveform stored on the internal rom. Couldn't you silence all but one channel and silence all but one operator to get a clean/unmodified carrier output? Setting it to some like 40-80hz and record that. One could figure out the length of one the sine wave and possibly the resolution of it (assuming the DAC is equal or higher res than the internal waveform). That or decap the chip.TmEE co.(TM) wrote:AFAIK, the sampling rate is around 52KHz (53203424(PAL) / something), accuracy 9 or 10 bits on discrete Yamaha YM2612 and about 12 bits on Sega internal YM2612. The bit count is an estimate, which I estimated by listening the amount of aliasing noise produced and comparing with WAV files degraded to some bit count.
OPL2/3 is 49KHz... I don't know about accuracy, it can't be less than 12 bits I think, my sound card sound very clean.
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
OK, I'll run some tests when I've finished my exam tomorrow.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I recorded form my MD2 and MD1, and MD2 looks way nicer... I'm waiting when my friend uploads it on his site... I'll give a link when its done.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
http://www.epicgaming.us/tiido/MD_Sine.rar
Kindly done by Epicenter
I hope this sheds some light on YM2612's internals
Each WAV has 5 or 6 samples in it, First with Total Level at 00h, and each following has it incremented. 0, 1, 2... notice how the wave gets better with lower TLs... and they should be 27.5Hz...
Kindly done by Epicenter
I hope this sheds some light on YM2612's internals
Each WAV has 5 or 6 samples in it, First with Total Level at 00h, and each following has it incremented. 0, 1, 2... notice how the wave gets better with lower TLs... and they should be 27.5Hz...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
The graph of MD1 is bigger than MD2.... and I recorded the sound both having about same level. and MD1 does have bad peaks, on all TL values.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
directly
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 746
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
So, that's means it is not true signal. Because YM2612's output more complex - all 6 channels is separated in time with gaps between them. The channel change speed is about 120kHz, so one channel discretization is about 20kHz. If you got normal oscilloscope, please make a record YM2612 output at 120-200kHz samplerate.TmEE co.(TM) wrote:directly
I had made very deep analysis of analog output of YM2612 at one russian forum, but now this forum is dead. I can rebuild that job, if you want it.
-
- Very interested
- Posts: 2442
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Unfortunately I have no access to oscilloscope... actually my friend has one, 2ch 50MHz, but its non digital and I have no idea how would I record its output... my sound card can record at 500KHz(according to chip datasheet) but Win drivers don't allow it...
It would be nice if you rebuild your job. MD1 and MD2 sound different, MD2 seems to have more accuracy (less aliasing noise) and better sine output (at least according to the recordings above)... MD1 used is same what HardWareMan has, just less modded.
It would be nice if you rebuild your job. MD1 and MD2 sound different, MD2 seems to have more accuracy (less aliasing noise) and better sine output (at least according to the recordings above)... MD1 used is same what HardWareMan has, just less modded.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen