This post is a sequel to my previous post, titled "Making music with SAS." Here are a bunch of thoughts/ questions in bold, all revolving around an idea of making music chords from array coordinates of the notes. There is probably software devoted just to that (is there a free one?), but I would like to discuss how it is done in SAS. Although there are many questions, they belong to the same topic.
The CALL SOUND routine sounds the system bell. Is it kind of like "\a" command in Python? Unlike "\a" command, CALL SOUND can modify the frequency and duration of the bell. How does it do it?
What is that system bell? Is there only one? The main question is, can these sounds be simultaneous, producing music chords?
For example, if there are input coordinates of chord note positions, like [ 0, 3, 6, 9 ], where A is 0, C sharp is 3 and so on, can the chord sound all at once? If not, how would you make arpeggio (sequential) sounds from these arrays? (The answer to the previous question can probably base on Rick Wicklin's code for a Christmas Carol.)
How would you map this array to the sounds? (Last question seems like it would need a hash.)
References
https://lexjansen.com/search/searchresults.php?q=music