Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64PE v4.0 is now live!!
#18
(12-15-2024, 02:03 PM)a740g Wrote:
(12-15-2024, 01:14 PM)doppler Wrote: First bug of V4 ???
example:
Do
    Print ".";
    c = c + 1
    If c Mod 10 = 0 Then Play "a64g64"
Loop
Play volume is not default 50% and not changeable with the Q##  "play" variable.  Tested with 3.14 as a baseline.  V4.0 is much louder 100% and harsh distorted because of it.  Sorry you got to kill the window, didn't leave an escape route.

The volume is still 50% by default. It is just that it uses a square waveform by default just like QB45 did back in the day. Previously, QB64 used a triangle waveform, which has a much softer sound compared to a square waveform. For compatibility, we always reference QB45 as the standard.

You can adjust the volume using the "v" MML command. For example:
Code: (Select All)
PLAY "v20"

Alternatively, you can change the waveform to a triangle with an optional volume ramp like so:
Code: (Select All)
PLAY "@3Q1"
Once set, all subsequent PLAY commands will use the triangle waveform. If you are using multi-voice playback, remember to apply this change for each voice.
So it was a bug.  THAT WAS FIXED to be qb45 compatible.  Thanks for the unfix suggestions (qb64 compatible).  Square waves contain too many harmonics that made it sound harsh.
Reply


Messages In This Thread
QB64PE v4.0 is now live!! - by SMcNeill - 12-14-2024, 10:17 AM
RE: QB64PE v4.0 is now live!! - by PhilOfPerth - 12-14-2024, 12:37 PM
RE: QB64PE v4.0 is now live!! - by RhoSigma - 12-14-2024, 01:36 PM
RE: QB64PE v4.0 is now live!! - by mdijkens - 12-14-2024, 01:04 PM
RE: QB64PE v4.0 is now live!! - by Kernelpanic - 12-14-2024, 03:54 PM
RE: QB64PE v4.0 is now live!! - by JRace - 12-14-2024, 09:53 PM
RE: QB64PE v4.0 is now live!! - by PhilOfPerth - 12-14-2024, 11:10 PM
RE: QB64PE v4.0 is now live!! - by JRace - 12-14-2024, 11:20 PM
RE: QB64PE v4.0 is now live!! - by SMcNeill - 12-14-2024, 11:38 PM
RE: QB64PE v4.0 is now live!! - by GareBear - 12-14-2024, 11:34 PM
RE: QB64PE v4.0 is now live!! - by RhoSigma - 12-15-2024, 12:53 AM
RE: QB64PE v4.0 is now live!! - by bert22306 - 12-15-2024, 10:37 PM
RE: QB64PE v4.0 is now live!! - by grymmjack - 12-15-2024, 11:08 AM
RE: QB64PE v4.0 is now live!! - by RhoSigma - 12-15-2024, 11:42 AM
RE: QB64PE v4.0 is now live!! - by doppler - 12-15-2024, 11:25 AM
RE: QB64PE v4.0 is now live!! - by doppler - 12-15-2024, 01:14 PM
RE: QB64PE v4.0 is now live!! - by a740g - 12-15-2024, 02:03 PM
RE: QB64PE v4.0 is now live!! - by doppler - 12-15-2024, 02:36 PM
RE: QB64PE v4.0 is now live!! - by zaadstra - 12-15-2024, 04:59 PM
RE: QB64PE v4.0 is now live!! - by hanness - 12-15-2024, 10:38 PM
RE: QB64PE v4.0 is now live!! - by bert22306 - 12-15-2024, 11:10 PM
RE: QB64PE v4.0 is now live!! - by madscijr - 12-16-2024, 01:50 PM
RE: QB64PE v4.0 is now live!! - by hsiangch_ong - 12-16-2024, 03:21 PM
RE: QB64PE v4.0 is now live!! - by Kernelpanic - Yesterday, 08:05 PM
RE: QB64PE v4.0 is now live!! - by a740g - Yesterday, 09:09 PM
RE: QB64PE v4.0 is now live!! - by a740g - Yesterday, 09:14 PM
RE: QB64PE v4.0 is now live!! - by RhoSigma - Yesterday, 09:28 PM
RE: QB64PE v4.0 is now live!! - by Kernelpanic - Yesterday, 10:36 PM
RE: QB64PE v4.0 is now live!! - by RhoSigma - Yesterday, 11:04 PM
RE: QB64PE v4.0 is now live!! - by bert22306 - Yesterday, 10:04 PM



Users browsing this thread: 19 Guest(s)