A nice stint today as I made the initial audio chain and update to the effects box work. There is no audio, yet, but I could probably try some of that soon. The QT app can now create an audio effects pipeline, basically, in the effects box. The plus side is that the Mac can be used to create and control the audio effects pipeline. The downside is that only the Mac and a connection to effects box lets everything work. More work to do!
As it turns out, the Qt app did not have a bad start on organizing the modules. There are two lists to go by, and it takes a cross reference to obtain both the order of modules and module type. I'll have to optimize this a bit soon; but, for now, I have a workable solution to returning the correct device manifest for the effects box.
This is a big test of the platform, I guess. I am attempting to port an effect from the iPad/iOS synth I released in 2014 and 2019. It's called "alien wah" and it was a hit with users on the App Store. I have around 512Kbytes of memory to work with, so I think the effect can fit in an effects chain. I may have to limit the number of instances - but it may only make sense to use it once in a chain, anyway. This gets tricky if the platform goes stereo, and a memory expansion is needed..
Well, I completely cracked the composite USB driver deal! I now have a serial USB interface transmitting/receiving while an audio interface works as an audio input to macOS / Logic. Very happy, indeed! There's a little work to be done on the packet code/decode, but not much, really. This opens up the ability to configure/reconfigure DSP modules on the fly which is insanely cool. You might say I on the way to creating a software-defined DSP system.
Well, I have this much figured out, with some still to go. I have managed to place the audio portion of the USB driver, successfully, underneath an overriding composite USB class. Logic Pro appears to even register the audio in as a live signal, which is a great sign! More to come.....combining this with the CDC part.
The “kitted” DSP platform is altogether now, such that it is. It’s not the cleanest-looking mock-up in the world, but it will get the job done. I believe I may hold off on working with it much until I arrive back later this week. It might be a good idea to clean up the lab area since I finally have a sensible hardware platform for prototyping.
The “new” amplified I prototyped probably isn’t required, and it is not quite right, in terms of design, due to the reliance on a double-ended power supply and amplifier configuration. The single supply amplifier design from the other week was tweaked to amplify at 10x, rather than only 2x, and the result is a maximum Vpp of 1V, which is the current target.
These oscilloscope pics show the original and then output signals, along with the iPhone playing the constant synth sound!
Born: Radford, Va. USA 1973
Lives in Charlotte, NC
Occupation: Software Engineer
#nobot