Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JobSavelsberg/music-structure
/ functions
Functions
503 in github.com/JobSavelsberg/music-structure
⨍
Functions
503
◇
Types & classes
22
↓ 121 callers
Method
forEach
(callback)
client/src/app/dataStructures/Matrix.js:182
↓ 42 callers
Method
fill
* * @param {*} callback dunction that returns number (compatible with DataType)
client/src/app/dataStructures/Matrix.js:153
↓ 34 callers
Method
from
(matrix, options)
client/src/app/dataStructures/Matrix.js:34
↓ 26 callers
Method
map
(callback)
client/src/app/dataStructures/Matrix.js:208
↓ 25 callers
Method
getValueMirrored
(x, y, f = 0)
client/src/app/dataStructures/Matrix.js:106
↓ 23 callers
Method
overlaps
(otherSection)
client/src/app/Section.js:62
↓ 20 callers
Method
clone
()
client/src/app/Section.js:93
↓ 15 callers
Method
getBuffer
()
client/src/app/dataStructures/Matrix.js:234
↓ 15 callers
Method
getSampleDuration
()
client/src/app/dataStructures/Matrix.js:259
↓ 14 callers
Method
getValue
(x, y, f = 0)
client/src/app/dataStructures/Matrix.js:109
↓ 13 callers
Method
getValueNormalized
(x, y, f = 0)
client/src/app/dataStructures/Matrix.js:130
↓ 13 callers
Method
getValueNormalizedMirrored
(x, y)
client/src/app/dataStructures/Matrix.js:127
↓ 12 callers
Method
fill
* * @param {*} callback dunction that returns number (compatible with DataType)
client/src/app/dataStructures/HalfMatrix.js:144
↓ 10 callers
Method
calculateSSM
* Self similarity matrix, takes a few seconds so async is needed
client/src/app/Track.js:285
↓ 9 callers
Method
getSampleAmount
()
client/src/app/dataStructures/Matrix.js:255
↓ 9 callers
Method
setValue
(x, y, value)
client/src/app/dataStructures/Matrix.js:103
↓ 8 callers
Method
getAnalysis
()
client/src/app/Track.js:446
↓ 8 callers
Method
getNestedArray
()
client/src/app/dataStructures/HalfMatrix.js:264
↓ 8 callers
Method
getSize
()
client/src/app/dataStructures/Matrix.js:250
↓ 7 callers
Method
getValue
(x, y, f = 0)
client/src/app/dataStructures/HalfMatrix.js:89
↓ 6 callers
Method
getSegments
()
client/src/app/Track.js:473
↓ 6 callers
Method
setValue
(x, y, value)
client/src/app/dataStructures/HalfMatrix.js:76
↓ 5 callers
Function
MDSColorGivenDistanceMatrix
(segments, distanceMatrix, coloringStrategy)
client/src/app/structure.js:912
↓ 5 callers
Function
addNonOverlapping
(sectionsA, sectionsB, overlapRatioThreshold = 0)
client/src/app/structure.js:573
↓ 5 callers
Function
computeInducedCoverage
(pathFamily)
client/src/app/familyFitness.js:143
↓ 5 callers
Method
forEachCell
(callback)
client/src/app/dataStructures/Matrix.js:189
↓ 5 callers
Method
fromHalfMatrix
(halfMatrix)
client/src/app/dataStructures/Matrix.js:45
↓ 5 callers
Function
getConfidence
(pitches, chord, bassNote)
client/src/app/chordDetection.js:52
↓ 5 callers
Function
getExtendedPathFamily
(section, sampleDuration, groupID, pathSSM, strategy)
client/src/app/structure.js:520
↓ 5 callers
Function
getPathFamily
(section, sampleDuration, groupID)
client/src/app/structure.js:492
↓ 5 callers
Method
hasCell
(x, y)
client/src/app/dataStructures/Matrix.js:100
↓ 5 callers
Function
medianSmoothing
(ssm, length, tempoRatio, resolution = 128)
client/src/app/SSM.js:145
↓ 5 callers
Function
penalize
(value)
client/src/app/pathExtraction.js:37
↓ 5 callers
Function
pruneLowConfidence
(sections, minConfidence)
client/src/app/structure.js:565
↓ 4 callers
Method
addFeaturesScaled
(sampleIndex, segmentIndex, scalar)
client/src/app/Features.js:465
↓ 4 callers
Method
applyRenderMode
()
client/src/app/visualization/ZoomCanvas.js:59
↓ 4 callers
Method
covers
(otherSection)
client/src/app/Section.js:77
↓ 4 callers
Function
createCandidate
(pathSSM, start, end, scoreMatrixBuffer, strategy, groupID)
client/src/app/structure.js:1263
↓ 4 callers
Function
generate1DgaussianKernel
(size, sigma = size / 2)
client/src/app/filter.js:5
↓ 4 callers
Method
getEnd
()
client/src/app/SpotifySegment.js:137
↓ 4 callers
Method
getID
()
client/src/app/Track.js:437
↓ 4 callers
Method
getLoudnessFeatures
()
client/src/app/SpotifySegment.js:158
↓ 4 callers
Method
getOffsetXNormalized
()
client/src/app/visualization/ZoomCanvas.js:77
↓ 4 callers
Function
loadTracksFromSpotify
* Load tracks from spotify api result
client/src/app/app.js:96
↓ 4 callers
Function
onedirectionalSmoothing
(ssm, direction, length, tempoRatio)
client/src/app/SSM.js:103
↓ 4 callers
Method
splits
(otherSection)
client/src/app/Section.js:73
↓ 3 callers
Function
classicalMDS
(distances, dimensions)
client/src/app/mds.js:443
↓ 3 callers
Function
computeAccumulatedScoreMatrix
(ssm, start, end, D)
client/src/app/pathExtraction.js:22
↓ 3 callers
Function
computeOptimalPathFamily
(D, width, height)
client/src/app/pathExtraction.js:84
↓ 3 callers
Function
currentLevel
()
client/src/dev/log.js:10
↓ 3 callers
Method
divideFeatures
(sampleIndex, divisor)
client/src/app/Features.js:478
↓ 3 callers
Function
euclidianDistance
(a, b)
client/src/app/similarity.js:52
↓ 3 callers
Method
fillByIndex
(callback)
client/src/app/dataStructures/Matrix.js:142
↓ 3 callers
Method
fillFeatures
(callback)
client/src/app/dataStructures/Matrix.js:161
↓ 3 callers
Method
getAnalysisDuration
()
client/src/app/Track.js:510
↓ 3 callers
Method
getDuration
()
client/src/app/Track.js:461
↓ 3 callers
Method
getFeatures
()
client/src/app/SpotifySegment.js:143
↓ 3 callers
Function
getHighestConfidenceChord
(pitches, chordSet)
client/src/app/chordDetection.js:200
↓ 3 callers
Function
getInducedSegmentsFromSampleRange
(start, end, pathSSM)
client/src/app/pathExtraction.js:271
↓ 3 callers
Function
getMdsCoordinatesWithGradientDescentMatrix
* Solves a Multidimensional Scaling problem with gradient descent. * * If momentum is != 0, the update is: * * accumulation = momentum * accumulat
client/src/app/mds.js:174
↓ 3 callers
Function
mean
(A)
client/src/app/mds.js:450
↓ 3 callers
Function
pause
()
client/src/app/player.js:58
↓ 3 callers
Method
subtract
(otherSection)
client/src/app/Section.js:103
↓ 3 callers
Function
subtractSegments
(segmentsA, segmentsB)
client/src/app/structure.js:1286
↓ 3 callers
Function
updateLogs
(currentLevel)
client/src/dev/log.js:20
↓ 2 callers
Method
add
(number)
client/src/app/dataStructures/Matrix.js:227
↓ 2 callers
Method
amountOfSectionsAfterSubtract
(otherSection)
client/src/app/Section.js:97
↓ 2 callers
Function
calculateSSM
(data, threshold, similarityFunction = "cosine")
client/src/app/workers/ssmWorker.js:758
↓ 2 callers
Method
clear
()
client/src/app/visualization/ZoomCanvas.js:28
↓ 2 callers
Method
clearAndDraw
()
client/src/app/visualization/ZoomCanvas.js:68
↓ 2 callers
Function
color
(events)
client/src/app/events.js:35
↓ 2 callers
Function
computeSeparateStructureCandidates
( pathSSM, separateSegmentSets, strategy, minDurationSeconds = 1, maxRatio = 0.25 )
client/src/app/structure.js:84
↓ 2 callers
Function
correlate
(pitches)
client/src/app/keyDetection.js:169
↓ 2 callers
Method
createDataArray
(track, ssm)
client/src/app/webgl/WebGLMatrixPool.js:35
↓ 2 callers
Function
createScoreMatrixBuffer
(sampleAmount)
client/src/app/pathExtraction.js:6
↓ 2 callers
Method
createWithAnalysis
(trackData, analysisData)
client/src/app/Track.js:419
↓ 2 callers
Method
fillNormalized
* Expect normalized number [0,1] and stores this as number of specified type, with 1 being scaled to the number's max * @param {*} callback funct
client/src/app/dataStructures/Matrix.js:200
↓ 2 callers
Function
findBetterFit
( pathSSM, section, sampleOffset = 4, comparisonProperty, strategy, structureSections
client/src/app/structure.js:653
↓ 2 callers
Function
gaussianSmoothing
(ssm, length, tempoRatio)
client/src/app/SSM.js:183
↓ 2 callers
Method
getAverageLoudness
(nextSegmentLoudness)
client/src/app/SpotifySegment.js:166
↓ 2 callers
Function
getBassNote
(pitches)
client/src/app/chordDetection.js:188
↓ 2 callers
Function
getInitialMdsCoordinates
* Initializes the solution by sampling from a uniform distribution, which * only allows distances in [0, 1]. * * @param {!number} numCoordinates -
client/src/app/mds.js:288
↓ 2 callers
Function
getMdsLoss
* Returns the loss of a given solution to the Multidimensional Scaling * problem by computing the mean squared difference between target distances *
client/src/app/mds.js:305
↓ 2 callers
Method
getMeanAndStandardDeviation
()
client/src/app/dataStructures/HalfMatrix.js:301
↓ 2 callers
Method
getName
()
client/src/app/Track.js:464
↓ 2 callers
Function
getNumberTypeByName
(objectOrString)
client/src/app/dataStructures/NumberType.js:38
↓ 2 callers
Method
getOriginalTimbres
()
client/src/app/SpotifySegment.js:140
↓ 2 callers
Function
getResult
(model, features)
client/src/app/workers/tsneWorker.js:53
↓ 2 callers
Method
getSSM
()
client/src/app/Track.js:486
↓ 2 callers
Method
getSegment
(i)
client/src/app/Track.js:476
↓ 2 callers
Method
getSegmentStartDuration
()
client/src/app/Track.js:479
↓ 2 callers
Function
linearSmoothing
(ssm, length, tempoRatio)
client/src/app/SSM.js:123
↓ 2 callers
Function
mergeSection
(sectionA, sectionB)
client/src/app/structure.js:647
↓ 2 callers
Method
processPitch
()
client/src/app/SpotifySegment.js:43
↓ 2 callers
Function
prunePathFamily
(pathFamily, pathScores, width, smallestRatio = 0.3, smallestScore = 0.3)
client/src/app/familyFitness.js:158
↓ 2 callers
Function
seekMS
(time_ms)
client/src/app/player.js:73
↓ 2 callers
Function
segmentDistanceOverlap
(inducedSegmentsA, inducedSegmentsB)
client/src/app/pathExtraction.js:357
↓ 2 callers
Method
setAnalysis
(analysis)
client/src/app/Track.js:455
↓ 2 callers
Method
setBufferData
(bufferData)
client/src/app/webgl/WebGL.js:84
↓ 2 callers
Method
setValueNormalizedMirrored
(x, y, value)
client/src/app/dataStructures/HalfMatrix.js:82
next →
1–100 of 503, ranked by callers