NoteEvent

data class NoteEvent(val tStartSeconds: Float, val tEndSeconds: Float, val freqHz: Float, val label: String)

A transcribed note: a time-bounded span labelled with a svara and its frequency.

Produced by com.musicmuni.voxatrace.tona.PitchAnalysis.transcribeNotes. Distinct from TonalSegment (sliding-window labelling, which carries cents / slope metadata): a NoteEvent carries the note's frequency in Hz and the svara label drawn from a SvaraTemplate.

Constructors

Link copied to clipboard
constructor(tStartSeconds: Float, tEndSeconds: Float, freqHz: Float, label: String)

Properties

Link copied to clipboard

Note duration in seconds.

Link copied to clipboard

Svara frequency in Hz (tonic · 2^(cents/1200)).

Link copied to clipboard

Svara label (e.g., "S", "g", "Ṡ").

Link copied to clipboard

Note offset in seconds.

Link copied to clipboard

Note onset in seconds.