Posts: 176
Threads: 13
Joined: Apr 2022
Reputation:
5
I am some-what familiar with the sound command and its parameters. My question is: How does QB64pe generate the tones? Does it have some kind of library of tones or some other method in generating the tones or perhaps accesses the hardware (sound card) directly? Just curious...
Have a great Xmax and an even better New Year!!!
J
May your journey be free of incident. Live long and prosper.
Posts: 2,180
Threads: 222
Joined: Apr 2022
Reputation:
104
It's no use. I checked, and couldn't find a single cute librarian in all of those sound files.
QuickBASIC used sound libraries, and if you could cough up a few extra bucks, you could extend those sounds with a sound card like Sound Blaster. I didn't have one of those, because I had the good sense not to swallow money in the first place. If you've ever frequented a strip club, looking for a cute librarian, you'd understand.
So I imagine QB64 uses the same method, but maybe Santa Steve will unwrap the mystery for you. Right now I heard he has Vince on his lap, in another discussion thread, but should be along shortly. Ho, ho ho....
Pete
Posts: 176
Threads: 13
Joined: Apr 2022
Reputation:
5
Thanks Pete... I think... Moo Ha Ha Ha...
May your journey be free of incident. Live long and prosper.
Posts: 301
Threads: 16
Joined: Apr 2022
Reputation:
51
_SNDRAW might be the closest thing to what you're looking for
Posts: 2,180
Threads: 222
Joined: Apr 2022
Reputation:
104
Well that's font-astic!
Pete
And we heard him exclaim, as he sped out out sight
Merry Christmas to all, and tell Pete to go bite!
Posts: 176
Threads: 13
Joined: Apr 2022
Reputation:
5
Thank you guys for all the responses. "Soundfont" is a library I am familiar with (in "use" only and not understanding how it is put together) as I dabble in music notation... not very well mind you... lol
So... According to the 'wiki', one should be able to select/load a "sf2" soundfont... You just know I am going to test that... I have a collection of sf2 soundfonts that are just "itching" to be used...
I will keep you updated... Moo Ha Ha Ha...
J
May your journey be free of incident. Live long and prosper.
Posts: 176
Threads: 13
Joined: Apr 2022
Reputation:
5
Ok. I tested the "Default" soundfont with a midi file I have and it played very well. Then I tested the same midi file on the FluidR3_GM.sf2 (fluidsynth soundfont) and the sound was even better. I cannot post the soundfont as it is 148mb in size. But just want to let you know that, on my Linux machine, both "default" and "other" soundfonts seem to work very well.
My next question is in relation to 'channels'... When it comes to midi playback is QB64pe capable of being polyphonic?
Can an individual instrument be selected from the soundfont or must the soundfont be of only one instrument?
Can you guess where this line of questioning is going? Moo Ha Ha Ha...
J
May your journey be free of incident. Live long and prosper.