Impressive... I played with GW-Basic in 1991 as a kid. My first language, but I never made anything as good as that with it. Soon as i found out how powerful C++ and assembly was, GW-Basic, Q-Basic and Turing were put off onto a dusty shelf.
@SuperDav3 ..."and Turing"? I never knew there was a programming language by that name. But yeah, nowadays I too do mostly C++ and PHP programming. I only use GW-BASIC and the like for the fun of programming itself, when I want to make presentations like this. I don't think I have created a single BASIC program within last 10 years that did not end up as a video in YouTube or at least a source code listing on some forum.
@mattedj The attraction with it for me is that it allows for great music without the use of any copyright data - e.g. audio recordings, i.e. samples. (And I cannot choose good samples anyway.) With OPL, it's just input a few numbers, and there you have a good instrument.
I remember writing small programs with it as a child in the early 90s :-)
I even created a stupid "key smasher" game in GW-BASIC complete with characters and animations made in Autodesk Animator (shown through AAPLAY with the shell command xD). It was a terrible game but fun to play with friends :-)
@OMA2k I use it for creating entertaining videos. Pretty much for nothing else. I use QBasic marginally more (in the recent 8 years or so, PHP took its place for me), but for these videos, sometimes GW-BASIC is the handier tool, because it naturally allows for more concise implementations. Also, I can have syntax highlighting for GW-BASIC within its "IDE", which I cannot do for QBasic. (In a recent video, I used an editor that I created myself to provide similar experience for QBasic.)
@waytostoned PAS8 unfortunately does not contain OPL3, which this program requires (for panning). You need PAS16 or some other card that has OPL3. You can make this program OPL2 compatible with little changes, though. (It might even work verbatim, with reduced functionality, but I cannot guarantee it.)
Ive been looking for a way to manipulate midi files in GW or QBASIC. It looks like this could be expanded into a sequencer, right? OH THANKS so much! This is the best video I ever seen for me :^)
@uilium Thanks for the feedback! Yes, this could be expanded into a sequencer, though not without significant redesign. It is rather trivial to read data from MPU-401 (MIDI I/O port), but timing it is difficult if one wants to store it into a MIDI file. Stuff read from MPU-401 (which is same data as is in MIDI files) can be synthesized with OPL3 as is done in this program.
Impressive... I played with GW-Basic in 1991 as a kid. My first language, but I never made anything as good as that with it. Soon as i found out how powerful C++ and assembly was, GW-Basic, Q-Basic and Turing were put off onto a dusty shelf.
well done
SuperDav3 3 days ago
@SuperDav3 ..."and Turing"? I never knew there was a programming language by that name. But yeah, nowadays I too do mostly C++ and PHP programming. I only use GW-BASIC and the like for the fun of programming itself, when I want to make presentations like this. I don't think I have created a single BASIC program within last 10 years that did not end up as a video in YouTube or at least a source code listing on some forum.
Bisqwit 2 days ago
You have to use CTRL-Scroll lock now instead of CTRL - Break.
kiyotewolf 4 months ago
@kiyotewolf Thanks for the tip: It did not work, though. I tried it, back then. DOSBox simply does not generate the break signal.
Bisqwit 4 months ago
OPL sounded amazing
mattedj 6 months ago
@mattedj The attraction with it for me is that it allows for great music without the use of any copyright data - e.g. audio recordings, i.e. samples. (And I cannot choose good samples anyway.) With OPL, it's just input a few numbers, and there you have a good instrument.
Bisqwit 6 months ago
Wow, GW-BASIC still being used in 2010?! O__o
I remember writing small programs with it as a child in the early 90s :-)
I even created a stupid "key smasher" game in GW-BASIC complete with characters and animations made in Autodesk Animator (shown through AAPLAY with the shell command xD). It was a terrible game but fun to play with friends :-)
OMA2k 6 months ago
@OMA2k I use it for creating entertaining videos. Pretty much for nothing else. I use QBasic marginally more (in the recent 8 years or so, PHP took its place for me), but for these videos, sometimes GW-BASIC is the handier tool, because it naturally allows for more concise implementations. Also, I can have syntax highlighting for GW-BASIC within its "IDE", which I cannot do for QBasic. (In a recent video, I used an editor that I created myself to provide similar experience for QBasic.)
Bisqwit 6 months ago
@OMA2k
Gw-Basic is fun, it's what I started with on IBM-Compatibles. I still tinker with it.
kiyotewolf 3 months ago
wich program are you using?
supepat 7 months ago
@supepat GW-BASIC.
Bisqwit 7 months ago
WOW! I'm really digging this... Time to download this for my old XT and get playing with my pas8!!!! You rawk! ^_^
waytostoned 8 months ago
@waytostoned PAS8 unfortunately does not contain OPL3, which this program requires (for panning). You need PAS16 or some other card that has OPL3. You can make this program OPL2 compatible with little changes, though. (It might even work verbatim, with reduced functionality, but I cannot guarantee it.)
Bisqwit 8 months ago
Well done. Very impressive.
tutorialbiz 1 year ago
Ive been looking for a way to manipulate midi files in GW or QBASIC. It looks like this could be expanded into a sequencer, right? OH THANKS so much! This is the best video I ever seen for me :^)
uilium 1 year ago
@uilium Thanks for the feedback! Yes, this could be expanded into a sequencer, though not without significant redesign. It is rather trivial to read data from MPU-401 (MIDI I/O port), but timing it is difficult if one wants to store it into a MIDI file. Stuff read from MPU-401 (which is same data as is in MIDI files) can be synthesized with OPL3 as is done in this program.
Bisqwit 1 year ago