07-29-2022, 01:13 PM
(07-28-2022, 11:22 PM)madscijr Wrote: :
For digital audio, I'd be happy with a simple 2-track recorder that lets you record track 2 from whatever audio interface, while track 1 plays back, and vice-versa.
:
https://qb64phoenix.com/forum/showthread.php?tid=333
This is a program that I liked a lot, with brilliant execution. Maybe you would like to study it. However it's impossible to get more than one event on the same exact step. One of the songs demonstrates "flamming" when two tones try to sound at the same time. Nevertheless, this is a good example of recording and playing back sounds in polyphony. It demonstrates that timing is crucial.
This is best demonstrated by this gem:
https://github.com/a740g/QB64-MOD-Player
Getting that to create a MOD and to record in it would add a new layer of complication.
Oh OK it's not an example of recording MIDI nor audio but it's what could be achieved in QB64. What you would like such as "simple" duplex sound card stuff might be possible only by connecting with Portaudio, programming with threads and stuff like that. LOL @ "Sonar or Cubase killer", but this is just for "simple" stuff.