


I've got my prototype Hz# function working. Done with BASIC statements/functions with some macro help from TiddlyWiki.
A "Musical Notes Dictionary" tiddler to store the name-value pairs of NoteNameAndOctave and frequency.
The "Hz#(note$)" tiddler that defines the Hz# function.
the quickest no-fuss-no-muss approach involves putting in browser local storage all of the name-value pairs of musical notes, and getting the Hz# function to take the note$ parameter and look it up in browser local storage
the list of SetLocalStorage() statements is generated by TiddlyWiki at program run time
For any program in which I want to use Hz#, I add an "include" macro call at the top of the program: <<include "Hz#(note$)">>
Sample program: Amazing Grace (crude first attempt)
view the source code at run-time (i.e. the "wikified" source code)