ChanServ changed the topic of ##yamahasynths to: Channel dedicated to questions and discussion of Yamaha FM Synthesizer internals and corresponding REing. Discussion of synthesis methods similar to the Yamaha line of chips, Sound Blasters + clones, PCM chips like RF5C68, and CD theory of operation are also on-topic. Channel logs: https://freenode.irclog.whitequark.org/~h~yamahasynths
<gruetzkopf> (ab)using danboorus translation annotationoverlay thing for boards
<andlabs> oh
_whitelogger has joined ##yamahasynths
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ej5 has quit [Quit: Leaving]
andlabs has joined ##yamahasynths
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
kode54 has joined ##yamahasynths
Xyz39808 has joined ##yamahasynths
Xyz_39808 has quit [Ping timeout: 260 seconds]
l_oliveira has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
KillaMaaki2 has joined ##yamahasynths
<KillaMaaki2> Hey, was directed to try and ask this here: Looking at integrating a YM2151 with a project of mine. For a few reasons, I'm looking at driving this at 3.072 MHz. I know this will have an affect on the output note frequencies, so my question is: does anyone know of a formula to determine what frequency I will hear given certain input note values and
<KillaMaaki2> this clock rate? (or the reverse, so I can figure out what note value is needed to, say, produce a 440Hz output tone?)
l_oliveira has joined ##yamahasynths
<superctr> YM2151 uses logarithmic pitch (key code + key fraction)
<superctr> so you just need to add/subtract to the combined keycode/keyfraction
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<superctr> to get the reference frequency for the chip clock, for example with standard clock 3579545/8135 = ~440
<superctr> and finally if you do the inverse of the formula you can get the keycode for any given frequency
<superctr> if you're workign with VGM, it's probably just easiest to use this https://vgmrips.net/forum/viewtopic.php?f=3&t=2024&p=6334&hilit=opm+clock+rescaler#p6334
andlabs has joined ##yamahasynths
<cr1901_modern> I finally upgraded to Windoze 10 b/c 7 is EOL in < 2 weeks. Upgrade was botched, so I switched to a spare/clean hard drive. Holy shit everything runs so much better now. I might even be able to run dietools locally now.
<cr1901_modern> .Sarayan: Dunno if you can easily get these numbers, but on your machine for 68k reversing, what's the most amount of memory you remember generate-circuit ever using?
cr1901_modern has quit [Read error: Connection reset by peer]
andlabs has quit [Ping timeout: 252 seconds]
cr1901_modern has joined ##yamahasynths
<Sarayan> cr1901: hard to say because it's mostly not real memory, it's a memory-mapped file
andlabs has joined ##yamahasynths
<Sarayan> gigantic mind you
<Sarayan> 16000x12000x12
<Sarayan> so real memory used, not much
<cr1901_modern> fair, but doesn't gc zero out that memory as one of the first things it does?
<cr1901_modern> generate-circuit*
<Sarayan> sure, but it's still file-backed
<cr1901_modern> which means by temporal locality, a large chunk of the whole file will be in mem at once
<andlabs> I assume that's 16000x12000 12-bit words
<andlabs> 1.5GB of RAM is not much :V
<Sarayan> 3x4-byte ints actually :-)
<andlabs> oh that's the byte count
<andlabs> who needs 16GB of free RAM anyway
<cr1901_modern> I guess I better download more RAM soon
<Sarayan> one int per layer with the circuit number
<Sarayan> yes, there are more than 64K circuits
<Sarayan> Iwas running it on a 4G machine for years
<andlabs> heh
<KillaMaaki2> Awesome superctr, those should be helpful. Thanks!
andlabs has quit [Ping timeout: 248 seconds]
<Sarayan> '/lastlig whitequark:
<Sarayan> gah
andlabs has joined ##yamahasynths