think i've figured out how i wanna do sound effects in my #QBasic engine.
-
@eniko Btw, it doesn't have to be 18.2. Yuo can reconfigure the timer interrupt generator.
@riley yeah, except its finicky and can mess stuff up so i'd rather not
-
@riley yeah, except its finicky and can mess stuff up so i'd rather not
@eniko Oh, and I think Microsoft released the QBasic interpreter's source code some time ago, if that would help.
-
@eniko Oh, and I think Microsoft released the QBasic interpreter's source code some time ago, if that would help.
-
-
@eniko @riley
I thought QBASIC was compiled, but I just looked it up. While it was based on QuickBASIC, it lacked QuickBASIC's compiler.
Having never used any of these (except maybe by using DOS EDIT on rare occasions), I suppose it's not surprising that I have some misconceptions.
Back when these were current, I mostly used Turbo Pascal, and a little later, Turbo C. I still feel like those were an improvement over many of their successors. -
@eniko Oh, and I think Microsoft released the QBasic interpreter's source code some time ago, if that would help.
@riley did they?
-
@eniko @riley
I thought QBASIC was compiled, but I just looked it up. While it was based on QuickBASIC, it lacked QuickBASIC's compiler.
Having never used any of these (except maybe by using DOS EDIT on rare occasions), I suppose it's not surprising that I have some misconceptions.
Back when these were current, I mostly used Turbo Pascal, and a little later, Turbo C. I still feel like those were an improvement over many of their successors. -
@eniko @riley
I thought QBASIC was compiled, but I just looked it up. While it was based on QuickBASIC, it lacked QuickBASIC's compiler.
Having never used any of these (except maybe by using DOS EDIT on rare occasions), I suppose it's not surprising that I have some misconceptions.
Back when these were current, I mostly used Turbo Pascal, and a little later, Turbo C. I still feel like those were an improvement over many of their successors. -
@riley did they?
@eniko Probably not :(
I thought I had a copy, but I dug it up, and it is for GW-BASIC instead indeed.
-
think i've figured out how i wanna do sound effects in my #QBasic engine. gonna make a tool that lets me author sounds with 30 square waves slices per second, with each slice having a frequency and volume
then i can play those using an OPL channel by updating every (other) frame
and i can export a PC speaker PLAY string for 18.2fps mode or machines without soundblaster that has 60 notes per second and plays in the background and use pulse width modulation to set 4 discrete volume levels
@eniko What you're doing seems likely to intersect something that I've been working on. If you publish any code, I'd be interested in reading it.
-
undefined oblomov@sociale.network shared this topic on