Synth Keyboard in BASIC
Posted: Sun Jan 07, 2024 6:54 am
This is my first program I've written in BASIC and the first application I've written that runs on an 8-bit machine, so I really enjoyed doing it.
It mostly allows the user to use their keyboard to call the FMPLAY command a lot. It's not very good as a proper instrument. It can only play one note at a time, it's not very responsive, and it lags in between notes. But it's seems to be stable and running without any errors. I think it'll help new users like me discover what all the various instruments you can load onto the YM2151 sound like.
I made it using the BASLOAD utility, so a big thank you goes out to Stefan who I understand is the author of BASLOAD. Very exciting to learn that tool was available so I could forget about managing line numbers all the time .
The source code can be found here:
https://github.com/aalexander05/x16-basic-synth
Try It Now!
It mostly allows the user to use their keyboard to call the FMPLAY command a lot. It's not very good as a proper instrument. It can only play one note at a time, it's not very responsive, and it lags in between notes. But it's seems to be stable and running without any errors. I think it'll help new users like me discover what all the various instruments you can load onto the YM2151 sound like.
I made it using the BASLOAD utility, so a big thank you goes out to Stefan who I understand is the author of BASLOAD. Very exciting to learn that tool was available so I could forget about managing line numbers all the time .
The source code can be found here:
https://github.com/aalexander05/x16-basic-synth
Try It Now!