baseFreq: float
Base frequency of the string
x: float
Location of the string
playing: bool
Whether or not the string is emitting sound
osc: Oscillator
Processing Oscillator to produce sound
distReq: float
Distance requirement to be active
playingChord: bool
Whether or not there is a chord being played
chordFret: int
Integer of the fret passed by the chord
constructor(baseFreq, x)
Sets attributes to params, initializes else to defaults
freq()
Trivial getter for freqAtFret()
freqAtFret()
Determines string's current frequency
play()
Plays the current frequency
display()
Displays the string at its position. Current string is highlighted