From number to note
Posted: Wed Jun 04, 2025 5:28 pm
For a musical project, I needed a way to choose musical tones at equal intervals on the musical scale. Therefore, I created a function that generates the desired note string from a note number.
The function is in the attached file that can be 'included' in the main program. If you remove the */ and /* characters, the file can be started as a test program. The output is shown in the screenshot below.
The function is in the attached file that can be 'included' in the main program. If you remove the */ and /* characters, the file can be started as a test program. The output is shown in the screenshot below.