I need a short little code to produce a high pitched sound (frequency) from my computer. I used to be able to write this code but I have long since forgotten. It can be in BASIC or any other programing language but I will also need a link to download the software to run the code. I need a program code that won’t lock up my computer but will continue to run this high pitched sound until I choose to stop it. Any assistance will be appreciated.
Example of code needed:
10 Sound = 20000
20 goto 10
This is very very old BASIC I know, but I don’t have any software to run it and I am not even sure if it is the correct code or not.