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
<cr1901_modern> whitequark: I would have to see your code, and it's been too long since I did this stuff myself to give you an explanation beyond "here is my code that I've seen work, study it"
<cr1901_modern> With that out of the way, I would really _really_ advise you not to go the PLL on FPGA route... nothing is there but a world of pain.
<cr1901_modern> Base your sync circuit off figure 17 here and you'll be fine: https://archive.org/details/bitsavers_necdatashe79_1461697/page/n23
<whitequark> cr1901_modern: are you suggesting analog parts?
<cr1901_modern> whitequark: A "Digital" PLL is only digital in the phase detector part typically. You can create an "All Digital PLL", where you represent the loop filter and VCO digitally. ADPLL is what I tried to do, and I would advise against it unless you are extremely persistent
<cr1901_modern> the sync circuit on figure 17 is completely digital, but it's not what I would call a Phase Locked Loop
<whitequark> cr1901_modern: that can only handle MFM at a specific frequency though, no?
<cr1901_modern> You should be able to adapt it to other frequencies
<whitequark> i mean, that means it has to know what kind of encoding it's working with to lock to it
<cr1901_modern> I don't know how to generalize a PLL like you're asking, and even if I did I'm not sure I would
<cr1901_modern> (Unless someone was paying me :P)
<cr1901_modern> >i mean, that means it has to know what kind of encoding it's working with to lock to it
<cr1901_modern> A synchronous counter should be able to handle Run-Length-Limited encodings (1,3), (2,7), (n,k)... the larger "n" is the higher the frequency that the counter needs to be. But the counter doesn't really care about which RLL scheme you're using.
<whitequark> cr1901_modern: well about that: https://i.imgur.com/IWXwF5y.png
<cr1901_modern> whitequark: ack. Not feeling well. Will get back to you.
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<Lord_Nightmare> I remember someone about 6-12 months ago posted a really compact block of code for PLL on twitter
<Lord_Nightmare> davidc__ maybe?
<Lord_Nightmare> it was short enough that it was a bit tricky to understand how it worked, but it did
<Lord_Nightmare> ah no it was whitequark ! https://twitter.com/whitequark/status/1055258028503715841
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
l_oliveira has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
futarisIRCcloud has joined ##yamahasynths
* Wohali preps another 11 snark barker shipments
kode54 has joined ##yamahasynths
linkmauve has joined ##yamahasynths
<cr1901_modern> whitequark: Not directly related to anything, but I found this: https://www.researchgate.net/publication/2984369_Runlength-Limited_Sequences
l_oliveira has joined ##yamahasynths
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cr1901_modern1 has joined ##yamahasynths
cr1901_modern has quit [Ping timeout: 250 seconds]
cr1901_modern has joined ##yamahasynths
cr1901_modern1 has quit [Ping timeout: 246 seconds]
cr1901_modern1 has joined ##yamahasynths
cr1901_modern has quit [Ping timeout: 255 seconds]
andlabs has joined ##yamahasynths
<whitequark> Lord_Nightmare: that's not a very good PLL though
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined ##yamahasynths