A standardized fieldset for note input through Svelte.
Currently there are only three attributes for the note that this component cares about:
The Octave An octave is the distance between one pitch and another with is double it's frequency. Every octave is divided into 12 semitones.
The Musical Alphabet The Musical Alphabet "A B C D E F G" defines every note in an octave.
The Alter The Alter represents the chromatic alteration of a note in semitones (e.g., -1 for flat, 1 for sharp)
The NoteInput component is responsible for the composition of the fields inside it's fieldset, the labels, a default legend, and the fieldset itself.
The element used to fill a Svelte slot require at the minimum a slot attribute. Additionally for this particular component, any Svelte slot that has a <\label> preceding it must be filled by some kind of form field with a name attribute corresponding to it's slot attribute in order to match up with it's <label>.
There are 4 Svelte slots that NoteInput cares about:
Note that the child content is simply what I used to place in the slot, feel free to use any kind of form input that you think best suits your needs
I went through a couple of simple changes making this component and the last version should represent the current styling used in this repo