Page 3 of 3

Re: Sound advise

Posted: Saturday 7th October 2023 8:13pm
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.