Skip to content

Commit

Permalink
update deps and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Seanitzel committed Apr 19, 2023
1 parent cbd31c1 commit a58cfb5
Show file tree
Hide file tree
Showing 98 changed files with 838 additions and 556 deletions.
2 changes: 1 addition & 1 deletion docs/__fileCache.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"__version__":"0.4.4","/Users/sdvir/Documents/programming/Note-Art/src/index.ts":1657539856079.3257,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/index.ts":1657539856081.0383,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/GeneralFunctions.ts":1657539856080.5017,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/ScientificFunctions.ts":1657539856080.9153,"/Users/sdvir/Documents/programming/Note-Art/src/types.ts":1657539856080.2917,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/PureMusicUtils.ts":1657539856080.8,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/MusicFunctions.ts":1657539856080.6392,"/Users/sdvir/Documents/programming/Note-Art/src/notation/index.ts":1657539856080.173,"/Users/sdvir/Documents/programming/Note-Art/src/notation/Measure.ts":1657539856079.5361,"/Users/sdvir/Documents/programming/Note-Art/src/notation/Score.ts":1659535253964.7805,"/Users/sdvir/Documents/programming/Note-Art/src/notation/ScoreHandler.ts":1657539856079.9463,"/Users/sdvir/Documents/programming/Note-Art/src/Theory.ts":1657539856079.2175,"/Users/sdvir/Documents/programming/Note-Art/src/Constants.ts":1657539856078.9734}
{"__version__":"0.4.4","/Users/sdvir/Documents/programming/Note-Art/src/index.ts":1668258649095.3105,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/index.ts":1668258649098.1091,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/GeneralFunctions.ts":1681911927109.2756,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/ScientificFunctions.ts":1668258649097.826,"/Users/sdvir/Documents/programming/Note-Art/src/types.ts":1668258649096.6975,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/PureMusicUtils.ts":1668259717827.2275,"/Users/sdvir/Documents/programming/Note-Art/src/utilities/MusicFunctions.ts":1681932636041.3193,"/Users/sdvir/Documents/programming/Note-Art/src/notation/index.ts":1668258649096.5505,"/Users/sdvir/Documents/programming/Note-Art/src/notation/Measure.ts":1668258649095.5308,"/Users/sdvir/Documents/programming/Note-Art/src/notation/Score.ts":1668258649095.9258,"/Users/sdvir/Documents/programming/Note-Art/src/notation/ScoreHandler.ts":1668258649096.205,"/Users/sdvir/Documents/programming/Note-Art/src/Theory.ts":1668258649095.1643,"/Users/sdvir/Documents/programming/Note-Art/src/Constants.ts":1668258649094.793}
2 changes: 1 addition & 1 deletion docs/assets/search.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[[2,[["Measure",[["_duration",0,null],["_maxDuration",0,null],["_data",0,null]],[["maxDuration",1,"Returns the maximum sum of durations for the measure as a number,\nwhere each unit is 1/64 bit."],["data",1,"Returns the data of the measure - an array of objects where each\nobject has a set of notes and the duration for those notes."],["length",1,"Returns the number of sixteenth notes in the measure."],["measureDataToString",0,null],["parseMeasureNoteMemberString",0,null],["stringToMeasure",0,null],["clone",0,"Returns a deep clone of the measure."],["durationLeft",0,"Returns the duration left for notes in the measure."],["addNote",0,"Adds a note to the measure at some position."],["addNotes",0,"Adds notes to the note set at the position."],["addChord",0,"Adds notes to the measure plus a name that represents the chord and is saved in\nthe data at the position as name"],["deleteNote",0,"Delete note at the position."],["deleteNotes",0,"Deletes notes from the noteset at the position."],["deleteMember",0,"Delete member from the measure's data - removes all the notes from it\nand initializes a new data member with the measure's durat..."],["isFull",0,"Returns true if the duration has space, else false."],["transpose",0,"Returns a new measure where all the notes are transposed by the interval."],["clear",0,"Removes all the data from the measure."],["toString",0,null],["initNext",4,"Creates a slot for the next notes that will be added in the measure if there is space.\nShould not be called as it's called autom..."],["canInsertToMeasure",4,"Checks whether a new data member can be added at a certain position in the measure."]],[2],null],["Score",[["measureSize",0,null],["timeSignature",0,null],["_name",0,null],["_bpm",0,null],["_voices",0,null]],[["name",2,"Set the score's name."],["bpm",2,"Set the score's BPM value."],["voices",1,"Returns an object with the scores voices."],["length",1,"Returns the length of the score as the length if it's longest voice.\nThe format is 'MM:QQ:SS' - Measures:Quarter-notes:Sixteenth..."],["getMeasureSize",0,"Returns the maximum size a measure has, calculated using the time signature."],["stringToScore",0,null],["setTimeSignature",0,"Set the score's time signature."],["getVoice",0,"Returns the voice with name.\nIf the voice doesn't exist it throws an error."],["addVoice",0,"Adds a voice to the score."],["deleteVoice",0,"Deletes a voice from the score."],["getMeasure",0,"Returns a measure from a voice"],["addMeasure",0,"Add measure to a voice at an index.\nIf no data object is sent it simply adds an empty measure to the end of the voice."],["addNote",0,"Add note to measure."],["addNotes",0,"Add notes to measure."],["addChord",0,"Add chord to measure."],["addOperation",0,"Private function to handle addition operations.\nShould not be called."],["deleteNote",0,"Delete note from measure."],["deleteNotes",0,"Delete notes from measure."],["deleteOperation",0,"Private function to handle deletion operations.\nShould not be called."],["deleteMember",0,"Deletes"],["clearMeasure",0,"Clears a measure."],["deleteMeasure",0,"Deletes a measure."],["cloneMeasure",0,"Clones a measure inside a voice and adds the clone next to the original measure."],["transposeMeasure",0,"Transpose a measure in one of the voices."],["transpose",0,"Transposes a voice in the score."],["toString",0,null]],[2],null],["ScoreHandler",[],[["measureToObject",0,"Convert a measure to object literal."],["notesToObject",0,"Convert a measure's notes member to object literal."],["objectToMeasure",0,"Convert object literal representing a measure to an instance of Measure."],["scoreToObject",0,"Convert a measure to object literal."],["objectToScore",0,"Convert object literal representing a Score to an instance of Score."],["cloneScore",0,null]],[2],null]],[["MeasureData",["notes","duration","name"],[2],null],["NormalizedMeasureData",["notes","duration","name"],[2],null],["ScoreProps",["name","voiceNames","bpm","timeSignature"],[2],null],["MeasureAsObject",["maxDuration","data"],[2],null],["ScoreAsObject",["name","voices","timeSignature","bpm"],[2],null]],[],[["PitchClassLetter",[]],["FlatAccidental",[]],["FlatPitchClass",[]],["SharpAccidental",[]],["SharpPitchClass",[]],["PitchClass",[]],["Octave",[]],["NoteAsObject",[]],["Accidental",[]],["Note",[]],["RawPitchClass",[]],["RawFlatPitchClass",[]],["RawSharpPitchClass",[]],["Chord",[]],["Scale",[]],["NoteDuration",[]]],[["transposePitchClass",[]],["transposeNote",[]],["transpose",[]],["noteFromFrequency",[]],["intervalsToNotes",[]],["invertChord",[]],["scaleDegree",[]],["getChordFromScale",[]],["scaleToChords",[]],["firstToUpper",[1]],["twoDigitFormat",[1]],["switchMembers",[1]],["rearrangeArray",[1]],["mapString",[1]],["occurrencesInString",[1]],["fitArrayToSize",[1]],["longestArray",[1]],["isNumberAsString",[1]],["freqFromPitch",[1]],["freqFromMidi",[1]],["freqToFloatMidi",[1]],["freqToMidi",[1]],["centsOffFromFreq",[1]],["midiToFreq",[1]],["getPitchClassesInterval",[1]],["getNotesInterval",[1]],["getInterval",[1]],["getClassSet",[1]],["getPitchClassSet",[1]],["extractOctave",[1]],["extractPitchClass",[1]],["normalizePitchClass",[1]],["normalizeNote",[1]],["noteToObject",[1]],["isPitchClass",[1]],["isNote",[1]],["isRest",[1]],["isDuration",[1]],["notesInRange",[1]],["getPitchClassIndex",[1]],["enharmonicPitchClass",[1]],["toFlat",[1]],["toSemitones",[1]],["maxInterval",[1]],["highestNote",[1]],["lowestNote",[1]],["lowestPitch",[1]],["lowestNoteFromArray",[1]],["highestNoteFromArray",[1]],["getPatternFromPitchClasses",[1]],["getPatternFromNotes",[1]],["pitchClassesToNotes",[1]],["pitchClassesToPianoChordNotes",[1]]],[["PITCH_STANDARD",[]],["NUMBER_OF_PITCH_CLASSES",[]],["SEMITONE",[]],["SHARP_CLASS_NOTES",[]],["FLAT_CLASS_NOTES",[]],["PITCH_CLASS_LETTERS",[]],["PITCH_CLASSES",[]],["INTERVALS",[]],["OCTAVES_ON_PIANO",[]],["NOTE_DURATIONS",[]],["TIME_SIG_NUMERATORS",[]],["NOTE_DURATIONS_AS_SIZE_IN_MEASURE",[]]]]],["note-art","utilities","notation"]]
[[[2,[["Measure",[["_duration",0,null],["_maxDuration",0,null],["_data",0,null]],[["maxDuration",1,"Returns the maximum sum of durations for the measure as a number,\nwhere each unit is 1/64 bit."],["data",1,"Returns the data of the measure - an array of objects where each\nobject has a set of notes and the duration for those notes."],["length",1,"Returns the number of sixteenth notes in the measure."],["measureDataToString",0,null],["parseMeasureNoteMemberString",0,null],["stringToMeasure",0,null],["clone",0,"Returns a deep clone of the measure."],["durationLeft",0,"Returns the duration left for notes in the measure."],["addNote",0,"Adds a note to the measure at some position."],["addNotes",0,"Adds notes to the note set at the position."],["addChord",0,"Adds notes to the measure plus a name that represents the chord and is saved in\nthe data at the position as name"],["deleteNote",0,"Delete note at the position."],["deleteNotes",0,"Deletes notes from the noteset at the position."],["deleteMember",0,"Delete member from the measure's data - removes all the notes from it\nand initializes a new data member with the measure's durat..."],["isFull",0,"Returns true if the duration has space, else false."],["transpose",0,"Returns a new measure where all the notes are transposed by the interval."],["clear",0,"Removes all the data from the measure."],["toString",0,null],["initNext",4,"Creates a slot for the next notes that will be added in the measure if there is space.\nShould not be called as it's called autom..."],["canInsertToMeasure",4,"Checks whether a new data member can be added at a certain position in the measure."]],[2],null],["Score",[["measureSize",0,null],["timeSignature",0,null],["_name",0,null],["_bpm",0,null],["_voices",0,null]],[["name",2,"Set the score's name."],["bpm",2,"Set the score's BPM value."],["voices",1,"Returns an object with the scores voices."],["length",1,"Returns the length of the score as the length if it's longest voice.\nThe format is 'MM:QQ:SS' - Measures:Quarter-notes:Sixteenth..."],["getMeasureSize",0,"Returns the maximum size a measure has, calculated using the time signature."],["stringToScore",0,null],["setTimeSignature",0,"Set the score's time signature."],["getVoice",0,"Returns the voice with name.\nIf the voice doesn't exist it throws an error."],["addVoice",0,"Adds a voice to the score."],["deleteVoice",0,"Deletes a voice from the score."],["getMeasure",0,"Returns a measure from a voice"],["addMeasure",0,"Add measure to a voice at an index.\nIf no data object is sent it simply adds an empty measure to the end of the voice."],["addNote",0,"Add note to measure."],["addNotes",0,"Add notes to measure."],["addChord",0,"Add chord to measure."],["addOperation",0,"Private function to handle addition operations.\nShould not be called."],["deleteNote",0,"Delete note from measure."],["deleteNotes",0,"Delete notes from measure."],["deleteOperation",0,"Private function to handle deletion operations.\nShould not be called."],["deleteMember",0,"Deletes"],["clearMeasure",0,"Clears a measure."],["deleteMeasure",0,"Deletes a measure."],["cloneMeasure",0,"Clones a measure inside a voice and adds the clone next to the original measure."],["transposeMeasure",0,"Transpose a measure in one of the voices."],["transpose",0,"Transposes a voice in the score."],["toString",0,null]],[2],null],["ScoreHandler",[],[["measureToObject",0,"Convert a measure to object literal."],["notesToObject",0,"Convert a measure's notes member to object literal."],["objectToMeasure",0,"Convert object literal representing a measure to an instance of Measure."],["scoreToObject",0,"Convert a measure to object literal."],["objectToScore",0,"Convert object literal representing a Score to an instance of Score."],["cloneScore",0,null]],[2],null]],[["MeasureData",["notes","duration","name"],[2],null],["NormalizedMeasureData",["notes","duration","name"],[2],null],["ScoreProps",["name","voiceNames","bpm","timeSignature"],[2],null],["MeasureAsObject",["maxDuration","data"],[2],null],["ScoreAsObject",["name","voices","timeSignature","bpm"],[2],null]],[],[["PitchClassLetter",[]],["FlatAccidental",[]],["FlatPitchClass",[]],["SharpAccidental",[]],["SharpPitchClass",[]],["PitchClass",[]],["Octave",[]],["NoteAsObject",[]],["Accidental",[]],["Note",[]],["RawPitchClass",[]],["RawFlatPitchClass",[]],["RawSharpPitchClass",[]],["Chord",[]],["Scale",[]],["NoteDuration",[]]],[["transposePitchClass",[]],["transposeNote",[]],["transpose",[]],["noteFromFrequency",[]],["intervalsToNotes",[]],["invertChord",[]],["scaleDegree",[]],["getChordFromScale",[]],["scaleToChords",[]],["firstToUpper",[1]],["twoDigitFormat",[1]],["switchMembers",[1]],["rearrangeArray",[1]],["mapString",[1]],["occurrencesInString",[1]],["fitArrayToSize",[1]],["longestArray",[1]],["isNumberAsString",[1]],["freqFromPitch",[1]],["freqFromMidi",[1]],["freqToFloatMidi",[1]],["freqToMidi",[1]],["centsOffFromFreq",[1]],["midiToFreq",[1]],["getPitchClassesInterval",[1]],["getNotesInterval",[1]],["getInterval",[1]],["getClassSet",[1]],["getPitchClassSet",[1]],["extractOctave",[1]],["extractPitchClass",[1]],["normalizePitchClass",[1]],["normalizeNote",[1]],["noteToObject",[1]],["isPitchClass",[1]],["isNote",[1]],["isRest",[1]],["isDuration",[1]],["notesInRange",[1]],["getPitchClassIndex",[1]],["enharmonicPitchClass",[1]],["toFlat",[1]],["toSemitones",[1]],["maxInterval",[1]],["highestNote",[1]],["lowestNote",[1]],["lowestPitch",[1]],["lowestNoteFromArray",[1]],["highestNoteFromArray",[1]],["getPatternFromPitchClasses",[1]],["getPatternFromNotes",[1]],["pitchClassesToNotes",[1]],["pitchClassesToPianoChordNotes",[1]],["spellScale",[1]]],[["PITCH_STANDARD",[]],["NUMBER_OF_PITCH_CLASSES",[]],["SEMITONE",[]],["SHARP_CLASS_NOTES",[]],["FLAT_CLASS_NOTES",[]],["PITCH_CLASS_LETTERS",[]],["PITCH_CLASSES",[]],["INTERVALS",[]],["OCTAVES_ON_PIANO",[]],["NOTE_DURATIONS",[]],["TIME_SIG_NUMERATORS",[]],["NOTE_DURATIONS_AS_SIZE_IN_MEASURE",[]]]]],["note-art","utilities","notation"]]
Loading

0 comments on commit a58cfb5

Please sign in to comment.