Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.8.0 Released!
#67
(12-26-2023, 05:58 AM)a740g Wrote:
(12-19-2023, 08:06 PM)madscijr Wrote:
(06-14-2023, 08:19 AM)RhoSigma Wrote:
  • #347 - Audio enhancements. - @a740g
    • Updates miniaudio to v0.11.17, which adds support for Apple AIFF and AIFC audio formats. So, we get those too.
    • PLAY has been extended to:
      • Select waveforms @n (square = 1, sawtooth = 2, triangle = 3 (default), sine = 4, noise = 5).
      • Adjust volume ramping Qn (0ms to 100ms).
    • SOUND has been extended to use the following syntax:
      • SOUND frequency#, duration#[, volume#][, panning#][, waveform&]
Just this alone is HUGE! I've been wanting an out-of-the-box SOUND command where one can easily select the waveform, volume, panning, etc., literally for years. This opens up so many possibilities for me -  many thanks to the QB64PE team! 

Question: are there any tutorials or examples of the new audio features? 

(06-14-2023, 01:01 PM)a740g Wrote: Muli-channel SOUND is a planned feature. This update just lays the foundation for that to happen. If things go as planned, we might even implement custom waveforms.

See this issue report:  Amiga BASIC like `WAVE` and `SOUND` improvements · Issue #187 · QB64-Phoenix-Edition/QB64pe (github.com)

The ON PLAY() stuff would surely be a nice-to-have feature. But that is not on our roadmap yet. Please feel free to add it to the QB64-PE GitHub issue tracker.
Even without multi-channel I'm very excited to give these features a go. 
But when you do add multi-channel, QB64PE will be a great tool for creating music applications. 

I haven't been following the releases to closely for some months, so I need to do more digging and see what else has been added. I saw mention of `Hively Tracker` and `TinySoundFont`, and am curious what that's all about. Does QB64PE have a built in tracker for music? Any MIDI support? I have some catching up to do. 

Again, any links to some good examples of any or all of these audio features would be great. 

Thanks again guys, great work!
The QB64-PE wiki has several examples using the new features. You can find some of them in the links below.
https://qb64phoenix.com/qb64wiki/index.php/SOUND
https://qb64phoenix.com/qb64wiki/index.php/PLAY
https://qb64phoenix.com/qb64wiki/index.php/SNDOPEN
https://qb64phoenix.com/qb64wiki/index.php/MEMSOUND
https://qb64phoenix.com/qb64wiki/index.php/SNDNEW

QB64-PE has support for playing tracker formats like .MOD, .XM, .S3M and .IT. It can also play FM and PSG formats like .RAD, .AHX and .HVL. See:
https://qb64phoenix.com/qb64wiki/index.php/SNDOPEN

MIDI playback is supported using the default or custom SoundFont. See:
https://qb64phoenix.com/qb64wiki/index.p...ISOUNDFONT
Great, thanks for all the links, I'll definitely give this a look!!
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.8.0 Released! - by madscijr - 01-05-2024, 05:06 PM



Users browsing this thread: 1 Guest(s)