The next update to the kotlin-oscillator-demo is going to be fairly large. So it's taking some time.
In a nutshell, I'm creating the capability of playing a simple song. This song is going to be fairly simple to start off, but it will eventually have multiple voices. To accomplish this, I am establishing some new classes.
There are classes to contain the actual song data, classes to generate the PCM data for the song, and classes to handle the actual placement of the audio data into the source data line. I will put these in packages called song, pcm, and player. The player package already exists.
This also means I will be moving the code that generates the PCM data into the pcm package (it's in the player right now). The oscillator package will still generate an oscillator signal, but an oscillator signal is not PCM data (not yet, anyway).
Getting the code organization is important since it's also going to factor into my creation of a kotlin-based protracker player as well. It will likely have a similar structure.
Just wanted to post this update so you know what's going on.
Comments
Post a Comment