Menu

#71 Bug With 'SOUND'

v1.0_(example)
closed
nobody
None
5
2020-10-29
2017-06-26
Mike83200
No

Hi, all !
Try this little program :


  • cls
  • Print "'+' for go up, '-' for go down. 'F' for exit !"
  • Fr=1000
  • B=0
  • Do
  • B=key
  • If B<>0 Then
  • If B=43 Then Fr=Fr+10 # Key = '+'
  • If B=45 Then Fr=Fr-10 # Key='-'
  • Print Fr
  • Sound Fr,200
  • End If
  • Until B=70
  • end

For 2200 Hz, no output! If we increase more, audio is going down !
Between 2000 and 2400 Hz, audio is not clear, she sound like a mix of two (or more ?) frequency.
Thank you! Best regards. Mike.

Discussion

  • Florin Oprea

    Florin Oprea - 2017-06-27

    Hi Mike,

    The SOUND module has been rewritten.
    The new module is very, very powerful and solves all these problems.
    PS The sound (like two or more mixed sounds) is because the older version of BASIC256 supports only 4000Hz frequency (not 44100Hz like new version).

    Thanks for reporting this.

     
  • Mike83200

    Mike83200 - 2017-06-27

    Hi, Florin.
    Thank you for the respons ! and all the best.
    Mike.

     
  • Jim Reneau

    Jim Reneau - 2020-10-29
    • status: open --> closed
     
  • Jim Reneau

    Jim Reneau - 2020-10-29

    Tested myself with 2.0.99.1 and it works correcty.

     

Log in to post a comment.