Search the Community
Showing results for tags 'computer.beep'.
Found 1 result
Song API (play whole songs using computer.beep)
Vexatos posted a topic in Libraries & API'sBasically, this API provides a single function: song.play(notes: table or string,shortest: number) Input being either a table or a string. Using a table, each note-duration combination is a string in a table value. The function will iterate through every entry of the table and play all the notes with their specified duration. Using a string, every note-duration combination is seperated by a free space " ". Regarding the special syntax used, this is copied from the header of the song API: Examples: "E5": Plays the note "E5" for the duration specified in the second parameter (default 0.1