Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.8.0 Released!
#61
(09-22-2023, 08:31 PM)NakedApe Wrote: I've been having QB64 sound issues - thankfully I'm back up and running now - but in trying to resolve the issue I loaded v3.8.0 on my M2 Mac Mini. It set up fine, but when I went to run my current project the program crashed repeatedly and almost instantly. When I reverted back to v3.6.0 everything ran as expected with no crashes. Would the forum's Mac specialist like to see the "Unexpected Termination Report" that the OS spits out? Or is there somewhere else I should post this?  Thnx.

Would you be able to share the code that is crashing for you in v3.8.0?

Also, I do not have any Apple Silicon based Macs so I am not really sure if QB64 works correctly on those.

@grymmjack do you run any Apple Silicon based Macs?
Reply
#62
(09-24-2023, 10:59 AM)a740g Wrote:
(09-22-2023, 08:31 PM)NakedApe Wrote: I've been having QB64 sound issues - thankfully I'm back up and running now - but in trying to resolve the issue I loaded v3.8.0 on my M2 Mac Mini. It set up fine, but when I went to run my current project the program crashed repeatedly and almost instantly. When I reverted back to v3.6.0 everything ran as expected with no crashes. Would the forum's Mac specialist like to see the "Unexpected Termination Report" that the OS spits out? Or is there somewhere else I should post this?  Thnx.

Would you be able to share the code that is crashing for you in v3.8.0?

Also, I do not have any Apple Silicon based Macs so I am not really sure if QB64 works correctly on those.

@grymmjack do you run any Apple Silicon based Macs?

@a740g I don't personally have a M1/M2 mac, but work laptop is a M2 mac. That said, I can't put anything on it not work specific. I am aware of the pain and incompatibilities that exist however.

I know that isn't helpful, but it's the truth. I'd kick in $50 and if we could find another 9 folks to do the same, we could buy one for QB64pe development and compatibility testing. Mac Mini https://www.apple.com/shop/buy-mac/mac-m...-gpu-256gb

It looks like you can use platform emulation on the M2 to do the other way around using Rosetta. e.g. M1/M2 can emulate amd64, but not vice versa. In my short stint doing a bit of research the closest I found was qemu which had mentioned stuff.

GitHub runners don't support Apple Silicon either: https://docs.github.com/en/actions/using...-resources

qemu does not seem to have the ability to guest virtualization of arm apple silicon either.

via the process of elimination you could try the other way around, have the user having an issue try it on emulation of amd64 and if it works, then you know something is up with the native arm m1/m2 stuff?

Hope this part helps..
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#63
There is a way to do a Virtualbox VM of MacOS, I think. However, it requires so many workarounds that it would be absolutely horrible to get set up.
Tread on those who tread on you

Reply
#64
(09-25-2023, 06:49 PM)SpriggsySpriggs Wrote: There is a way to do a Virtualbox VM of MacOS, I think. However, it requires so many workarounds that it would be absolutely horrible to get set up.

I set that up a while back and yeah it was brutal. But MacOS I don't think is the issue as much as apple silicon for this problem that was mentioned?

I have a mac just intel one, that I use for QB64 among other things. That won't help in his situation I think.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply
#65
(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:
(06-14-2023, 12:36 PM)mnrvovrfc Wrote: The additional functionality to SOUND is great, but it's destined to do only one-channel sound. One still has to work for multichannel playback with _SNDRAW and the like. ON PLAY() was never supported by QB64. This is just a reminder for the ambitious ones.
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!
Reply
#66
(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:
(06-14-2023, 12:36 PM)mnrvovrfc Wrote: The additional functionality to SOUND is great, but it's destined to do only one-channel sound. One still has to work for multichannel playback with _SNDRAW and the like. ON PLAY() was never supported by QB64. This is just a reminder for the ambitious ones.
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
Reply
#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




Users browsing this thread: 1 Guest(s)