To be clear I did a quick calculation to make sure I'm following you. Some math showing how you would get a 440Hz signal from a 50MHz clock:
*50MHz/440Hz = 113636.36(counter to make a 440Hz signal) ------> 113636 X 2 = 227272.7(counter to make a 880Hz signal) -----> this requires a counter of 18 bits correct?
Then once I get the 880Hz signal I can then feed that into my flip flop as the clock input and connect Q_not to the input of the D-FF. This will get the 440Hz out of that due to the nature of FF's dividing clock down by 2.
I think this is all making sense except how I would take in the 4 input bits. I know that a mux is probably involved but not really sure how to do it yet. Do you have any thoughts?
-mike