I have had a few days to work on the most complex part of the Synth... the operating system in the 6502 that runs the tracker.
Originally, I was moving towards 16 full channels (each with its own 6502 and RAM), and did manage to get 2 basic channels working.
Then I woke at 2:00am one morning and had a crazy idea that would allow an infinite number of tracks with only 10% of the RAM I would have needed for 16 tracks.
This idea seemed too good to be true as it would also reduce the number of 6502's needed from 18 to only 3 or 4.
It would also allow for individual HQ samples to be called for every single key on the piano instead of pitch changing in blocks.
The idea : Use only one HQ channel and tracker, but render and layer to dual recording RAMs.
I realized this obvious idea when I was using a modern DAW to make a music track on an ad the other day.
I always start with a full drum track, then do some bass, then fill, then maybe lead, etc.
So instead of trying to control and sync 16 massive channels and tracks, I only need one!
It was a lot of wiring, but I strapped up a proof of concept with one channel having 16MB of SRAM, which is enough to load an entire sampled piano with great quality or a drum kit with 50+ hits.
I then wired up dual 16MB SRAMs on 32KHz counters, one that allowed recording from the output of and ADC fed from the channel and the other that allowed playback to a DAC mixed back with the live channel. I am only using 12 bit samples for now, but will probably move to a 16 bit DAC now that I only need a single ADC and DAC in the entire system.
Keeping the output from the live channel to 12 bits into the recording RAM will allow for more mixing headroom if the final output is 16 bits.
This configuration will allow even more room for the live keyboard samples and allow full volume output up to 16 layers before clipping out of a 16 bit DAC.
So even a 32 track song is completely doable by keeping the max live channel volume just below the clipping level. 64 channels? Sure! This thing is infinite.
This trial worked so well that I am now moving into the final design stage on this Infinite Tracker!
I don't know why this was never done in the 80's or 90's as it opens up an endless ability to create thick layers of music.
It also allows easy storage on my 5.25 floppy disk drives as I am only saving the track data.
Samples are loaded from disk to the piano, and tracks are loaded to the tracking system in the OS.
For full editing of merged tracks, the system does a "rewind" of time, starting by remixing up to the point you want to start over.
Yes, this takes as long as a track in time, but still... this is 1980 after all and still way better than lossy tape editing.
The end result of this new design is a full production ready song without using any external mixer or analog tape!
Here is a very basic 5 layer test I did just now. Tried for an 80's Disco+SynthWave type of thing.
Keep in mind that there is no quantizing or tracker done yet, I just riffed out live into the RAM banks with my keyboard hanging half off the desk.
I used 5 different samples loaded in mono 12 bit format so that each used piano key had it's own sample.
Some "sample packs" might have one for all 8 keys and some may only need an octave or two. It's really quite versatile and efficient this way.
https://lucidscience.com/temp/SynthTest1.mp3
This sounds so much better than my original frequency changing system.... no aliasing or timbral oddities.
The first design used a 20MHz clock fed into dual 8 bit counters and comparators to set playback frequency, so there were artifacts as you move too far from the original sample.
The Fairlight CMI had this strange effect, which is what gave the Terminator II score it's robotic sound.
Here is an example of the frequency shift design I did 10 years ago. This was only 8 bit into a cheap resistor DAC as it was only for a game system.
Dual 74590 counters fed by 16 MHz being reset by values in dual 74688 comparators. Simple, and still better than a phase accumulator for sound quality...
https://www.youtube.com/watch?v=fuJz3ERi8Kg
I also have no effects working yet, and plan to include echo, distortion, lowpass, resonance, pitch bend, etc.
Since there is only one live channel, I can really go all out on the effects chain as I only need to build one and not 16 of them now.
When the tracker is done, it will have note level editing, quantize, FX controls, etc.
This project just took a massive upturn in quality. Wish I was actually living in 1984 - it would change the industry.
I am still using ONLY tech that was available in 1980 for this project, including only DIP ICs.
So yes... this could have been done in 1980.
Oh well, better never than late.
Will post more videos and photos of this beast when it is not a huge mess hanging off my desk.
I also need to chill out and make a schematic of where I am going before I get too far ahead.
Happy Holidays Retro Freaks!
Radical Brad