[Solved] Sound advise

Post your Gambas programming questions here.
User avatar
Technopeasant
Posts: 144
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Sound advise

Post by Technopeasant »

AndyGable wrote: Wednesday 4th October 2023 11:24amYea I did that and and it worked but it was the quietest beep ever lol
Fortunately not if you run this through a VT131 data terminal. :lol:

I implemented this code when I was trying to port a quick test program I wrote in Commodore Basic on my VIC-20 to modern Linux using Gambas (and Lazarus).

Code: Select all

Exec ["play", "-n", "synth", "1", "sine", Rnd(1, 500)]
This will play a different tone each time.
Technical director,
Piga Software
http://icculus.org/piga/
Post Reply