Annotation Pro API
|
Editor for annotation. More...
Inherits UserControl.
Public Member Functions | |
AnnotationEditor () | |
Default constructor. More... | |
void | AddNewLayer () |
Adds new layer. More... | |
void | AutoAlign () |
Automatically align segment on selected layers. More... | |
void | AutoGroup () |
Automatic group. More... | |
void | AutoResizeSegments () |
Automatic resize segments. More... | |
void | AutoSegmentation () |
Automatic segmentation. More... | |
void | ChangeSelectionToSilence () |
Changes selected audio fragment to silence. More... | |
void | ChangeToSilenceUsingSelectedSegments () |
Changes audio to silence in selected segments regions. More... | |
void | ClearAudio () |
Clears the audio. More... | |
void | ClearAudioSelection () |
Removes selection from audio. More... | |
void | ClearParameters () |
Clears the parameters. More... | |
void | ClearSegmentSelection () |
Removes selection in annotation layers. More... | |
void | ClearUndo () |
Clears the undo. More... | |
void | CloseSound () |
Closes the sound. More... | |
void | CohensKappaAgreement () |
Calculates CohensKappaAgreement for two selected layers. More... | |
void | Consolidate () |
Consolidates this object. More... | |
void | ConsolidateSegments () |
Consolidate segments. More... | |
void | ConvertTextGridToAnt () |
Converts all selected TextGrid files into ANT. More... | |
void | Copy () |
Copies this object. More... | |
void | CropSelected () |
Crops selected audio and annotation. More... | |
void | Cut () |
Cuts this object. More... | |
void | Delete () |
Deletes selecte layers or segments. More... | |
void | DuplicateLayer () |
Duplicate selected layer. More... | |
void | ExportCSV () |
Export CSV file. More... | |
void | ExportEAF () |
Export EAF (ELAN). More... | |
void | ExportLayerToCSV () |
Export layer to CSV. More... | |
void | ExportLayerToText () |
Export layer to text. More... | |
void | ExportSplitIntoTextAndAudioFiles () |
Export split into text and audio files. More... | |
void | ExportTextGrid () |
Export TextGrid file. More... | |
void | ExportToAntAndAudioFiles () |
Export to ant and audio files. More... | |
void | ExportXRA () |
Export XRA (Sppas). More... | |
void | FillPauses () |
Fill pauses. More... | |
void | Find (string searchText, FindReplaceOptions options) |
Searches for the first match. More... | |
void | FindAll (string findText, FindReplaceOptions options) |
Searches for the first all. More... | |
void | FindReplace () |
Searches for the first replace. More... | |
void | FundamentalFrequencyEstimation () |
Estimates fundamental frequency (window 40 ms, overlap 20 ms). More... | |
void | FundamentalFrequencyEstimation (int windowSizeInMs, int stepInMs, bool showParameters) |
Estimates fundamental frequency amd creates new layer as result. More... | |
void | GoDownOnAnnotation () |
Go down on annotation. More... | |
void | GoNextSegment (bool withSelection) |
Go next segment. More... | |
void | GoPrevSegment (bool withSelection) |
Go previous segment. More... | |
void | GoToEnd () |
Goes to end of file. More... | |
void | GoToNextLayer () |
Goes to next layer. More... | |
void | GoToPrevLayer () |
Goes to previous layer. More... | |
void | GoToStart () |
Goes to start. More... | |
void | GoUpOnAnnotation () |
Go up on annotation. More... | |
void | Group () |
Groups this object. More... | |
void | ImportBLF () |
Import BLF file. More... | |
void | ImportCSV () |
Import CSV. More... | |
void | ImportEAF (string fileName) |
Imports EAF file. More... | |
void | ImportEAF () |
Import EAF file using open file dialog. More... | |
void | ImportPraatF0 () |
Import layers from Praat F0 CSV file. More... | |
void | ImportPraatFormants () |
Import layers from Praat Formants CSV file. More... | |
void | ImportText () |
Import text file with open file dialog. More... | |
void | ImportTextGrid (string filePath) |
Imports text grid from path. More... | |
void | ImportTextGrid () |
Import text grid. More... | |
void | ImportTRS () |
Import TRS file. More... | |
void | ImportXRA (string fileName) |
Imports XRA file. More... | |
void | ImportXRA () |
Opens XRA file using open file dialog. More... | |
void | InsertSegment () |
Inserts a segment. More... | |
void | InvertSegmentSelection () |
Inverts segment selection. More... | |
void | LockLayer () |
Locks the layer. More... | |
bool | NewAnnotation () |
Creates a new annotation. More... | |
bool | NewAudio () |
Creates a new audio. More... | |
void | OpenAnnotation (string fileName) |
Opens an annotation. More... | |
void | OpenAudio () |
Opens an audio. More... | |
void | OpenAudio (AudioFileObject audioFile) |
Opens audio using audio file object. More... | |
void | OpenAudio (string waveFilePath, bool updateAnnotation) |
Opens an audio. More... | |
void | OpenRPlotsFolder () |
Opens r plots folder. More... | |
void | Paste () |
Pastes this object. More... | |
void | PlayStop () |
Stops playing. More... | |
void | RecordStop () |
Stops recording. More... | |
void | Redo () |
Redoes this object. More... | |
void | RefreshLayers (bool audioLayers) |
Refresh layers. More... | |
void | Replace (string findText, string replaceText, FindReplaceOptions options) |
Replaces. More... | |
void | ReplaceAll (string findText, string replaceText, FindReplaceOptions options) |
Replace all. More... | |
void | ResizeToAudioSelection () |
Resize to audio selection. More... | |
void | SaveAnnotation () |
Saves the annotation. More... | |
void | SaveAnnotationAs () |
Saves the annotation as. More... | |
void | SaveAudio () |
Saves the audio changes. More... | |
void | SegmentationConsistency () |
Open segmentation consistency form and begin analysis. More... | |
void | SelectAllSegmentsOnLayer () |
Select all segments on layer. More... | |
void | SelectAudioFromSegment () |
Select audio from segment. More... | |
void | SelectSegment (SegmentObject segment) |
Select segment. More... | |
void | Settings () |
Opens Settings dialog. More... | |
void | SpaceSegmentsEqually () |
Space all or selected segments equally on layer. More... | |
void | SplitSegment () |
Splits a segment. More... | |
void | StatisticsDurationSpectrumAnalysis () |
Statistics duration spectrum analysis. More... | |
void | StatisticsParameters () |
Statistics parameters. More... | |
void | StatisticsTimeGroupAnalysis () |
Statistics time group analysis. More... | |
void | TakeAudioScreenshoot () |
Take audio screenshoot to clipboard. More... | |
void | Undo () |
Undoes this object. More... | |
void | Ungroup () |
Ungroups this object. More... | |
void | ZoomIn () |
Changes zoom in. More... | |
void | ZoomOut () |
Changes zoom out. More... | |
void | ZoomToAllSegments () |
Shows all segments. More... | |
void | ZoomToAudioSelection () |
Change zoom to show audio selection. More... | |
void | ZoomToFullAudio () |
Change zoom to show full audio. More... | |
void | ZoomToSelectedSegments () |
Shows the selected segments. More... | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Properties | |
AnnotationLayers | AnnotationLayers [get] |
Gets the annotation layers. More... | |
bool | AutoEditMode [get, set] |
Enable/Disable auto edit mode. More... | |
bool | AutoRewind [get, set] |
Enable/Disable auto rewind after stop audio. More... | |
bool | AutoSelection [get, set] |
Enable/Disable auto selection audio after click segment. More... | |
bool | BlackAndWhite [get, set] |
Enable/Disable black and white mode. More... | |
bool | Boundaries [get, set] |
Show/Hide segments boundaries on audio. More... | |
bool | CanPausePlaySound [get] |
Check if there is no selected segment and pause can play sound instead insert space in label. More... | |
CoordinateControlStyle | CoordinateStyle [get, set] |
Default Coordinate Control Style for new Layer, chenged when Coordinate Control Style has changed. More... | |
bool | CorpusProVisible [get, set] |
Gets or sets a value indicating whether the corpus pro is visible. More... | |
bool | FeatureSpaceVisible [get, set] |
Gets or sets a value indicating whether the feature space is visible. More... | |
FFTFilterWindow | FFTFilterWindow [get, set] |
Spectrogram Fast Fourier Transform Filter Widndow Type (Bartlett, Bartlett-Hann, Blackman, Gauss, Hamming, Hann, Triangle). More... | |
int | FFTWindowWidth [get, set] |
Alias for Spectrogram.FFTWindowWidth. Gets or sets Fast Fourier Transform Window Width. More... | |
bool | FollowCursor [get, set] |
Enable/Disable follow cursor mode while play audio. More... | |
bool | HighQualityAnnotationDisplay [get, set] |
Gets or sets value indicating whether high quality annotation display is enabled More... | |
bool | HighQualityAudioDisplay [get, set] |
Gets or sets value indicating whether high quality audio display is enabled. More... | |
bool | InSessionMode [get, set] |
Gets or sets a value indicating whether the in session mode. More... | |
bool | IsAnnotationModified = 0 [get] |
Gets a value indicating whether annotation in this object is modified. More... | |
bool | IsAudioModified [get] |
Gets a value indicating whether audio in this object is modified. More... | |
bool | IsSelectedSegment [get] |
Check if is selected segment in annotation. More... | |
bool | LayerListVisible [get, set] |
Gets or sets value indicating whether layer list is visible. More... | |
bool | LoopAudio [get, set] |
Enable/Disable loop audio. More... | |
bool | Magnify [get, set] |
Enable/Disable magnify mode in audio. More... | |
bool | PropertiesVisible [get, set] |
Gets or sets a value indicating whether the properties is visible. More... | |
bool | RememberOpenAudioFiles [get, set] |
Enables / Disables automaticly adding open audio files to Audio Files Collection. More... | |
bool | SaveOpenAudio [get, set] |
Enables auto save audio files mode. More... | |
LayerObject | SelectedLayer [get] |
Gets the selected layer. More... | |
bool | SelectedLayerIsLocked [get] |
Gets a value indicating whether the selected layer is is locked. More... | |
LayerCollection | SelectedLayers [get] |
Gets the selected layers. More... | |
int | SelectedLayersCount [get] |
Gets the number of selected layers. More... | |
SegmentObject | SelectedSegment [get] |
Gets the selected segment. More... | |
SegmentCollection | SelectedSegments [get] |
Gets the selected segments. More... | |
SessionEventComponent | SessionEvents [get, set] |
Gets or sets the session events. More... | |
int | SessionListenCount [get, set] |
Gets or sets the number of session listens. More... | |
bool | SnapToSegments [get, set] |
Enable/Disable snapping to segment in edit. More... | |
double | SpectrogramBrightness [get, set] |
Gets or sets spectrogram brightness. More... | |
double | SpectrogramContrast [get, set] |
Gets or sets spectrogram contrast. More... | |
bool | SpectrogramVisible [get, set] |
Gets or sets a value indicating whether the spectrogram is visible. More... | |
bool | StickToNeighbours [get, set] |
Enable/Disable sticking to neighbours in edit. More... | |
Synchronizer | Synchronizer [get] |
Gets the synchronizer. More... | |
bool | ToolbarsVisible [get, set] |
Gets or sets a value indicating whether the toolbars are visible. More... | |
bool | VideoVisible [get, set] |
Gets or sets a value indicating whether the video player is visible. More... | |
LayerCollection | VisibleLayers [get] |
Gets selected layers collection. More... | |
bool | WaveformVisible [get, set] |
Gets or sets value indicating whether the waveform is visible. More... | |
WorkspaceControl | Workspace [get, set] |
Workspace manager. More... | |
bool | WorkspaceModeEnabled [get, set] |
Gets or sets a value indicating whether the workspace mode is enabled. More... | |
bool | WorkspaceVisible [get, set] |
Gets or sets a value indicating whether the workspace is visible. More... | |
Events | |
ChangedHandler | AnnotationChanged |
Event queue for all listeners interested in AnnotationChanged events. More... | |
ModifiedHandler | AnnotationModified |
Event queue for all listeners interested in AnnotationModified events. More... | |
ChangedHandler | AudioChanged |
Event queue for all listeners interested in AudioChanged events. More... | |
ChangedHandler | AudioModified |
Event queue for all listeners interested in AudioModified events. More... | |
SelectionChangedHandler | SelectionChanged |
Event queue for all listeners interested in SelectionChanged events. More... | |
SessionModeChangedHandler | SessionModeChanged |
Event queue for all listeners interested in SessionModeChanged events. More... | |
StateChangedHandler | StateChanged |
Event queue for all listeners interested in StateChanged events. More... | |
Editor for annotation.
|
inline |
Default constructor.
|
inline |
Adds new layer.
|
inline |
Automatically align segment on selected layers.
|
inline |
Automatic group.
|
inline |
Automatic resize segments.
|
inline |
Automatic segmentation.
|
inline |
Changes selected audio fragment to silence.
|
inline |
Changes audio to silence in selected segments regions.
|
inline |
Clears the audio.
|
inline |
Removes selection from audio.
|
inline |
Clears the parameters.
|
inline |
Removes selection in annotation layers.
|
inline |
Clears the undo.
|
inline |
Closes the sound.
|
inline |
Calculates CohensKappaAgreement for two selected layers.
|
inline |
Consolidates this object.
|
inline |
Consolidate segments.
|
inline |
Converts all selected TextGrid files into ANT.
|
inline |
Copies this object.
|
inline |
Crops selected audio and annotation.
|
inline |
Cuts this object.
|
inline |
Deletes selecte layers or segments.
|
inlineprotected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
|
inline |
Duplicate selected layer.
|
inline |
Export CSV file.
|
inline |
Export EAF (ELAN).
|
inline |
Export layer to CSV.
|
inline |
Export layer to text.
|
inline |
Export split into text and audio files.
|
inline |
Export TextGrid file.
|
inline |
Export to ant and audio files.
|
inline |
Export XRA (Sppas).
|
inline |
Fill pauses.
|
inline |
Searches for the first match.
searchText | The search text. |
options | The options. |
|
inline |
Searches for the first all.
findText | The find text. |
options | The options. |
|
inline |
Searches for the first replace.
|
inline |
Estimates fundamental frequency (window 40 ms, overlap 20 ms).
|
inline |
Estimates fundamental frequency amd creates new layer as result.
windowSizeInMs | window analysis size in ms |
stepInMs | step in ms |
showParameters | if true shows enter parameters dialog |
|
inline |
Go down on annotation.
|
inline |
Go next segment.
withSelection | true to with selection. |
|
inline |
Go previous segment.
withSelection | true to with selection. |
|
inline |
Goes to end of file.
|
inline |
Goes to next layer.
|
inline |
Goes to previous layer.
|
inline |
Goes to start.
|
inline |
Go up on annotation.
|
inline |
Groups this object.
|
inline |
Import BLF file.
|
inline |
Import CSV.
|
inline |
Imports EAF file.
fileName | File to import |
|
inline |
Import EAF file using open file dialog.
|
inline |
Import layers from Praat F0 CSV file.
|
inline |
Import layers from Praat Formants CSV file.
|
inline |
Import text file with open file dialog.
|
inline |
Imports text grid from path.
filePath | TextGrid File Path |
|
inline |
Import text grid.
|
inline |
Import TRS file.
|
inline |
Imports XRA file.
fileName | File name to import |
|
inline |
Opens XRA file using open file dialog.
|
inline |
Inserts a segment.
|
inline |
Inverts segment selection.
|
inline |
Locks the layer.
|
inline |
Creates a new annotation.
|
inline |
Creates a new audio.
|
inline |
Opens an annotation.
fileName | Filename of the file. |
|
inline |
Opens an audio.
|
inline |
Opens audio using audio file object.
audioFile | Audio file object |
|
inline |
Opens an audio.
waveFilePath | Full pathname of the wave file. |
updateAnnotation | If true, updates annotation |
|
inline |
Opens r plots folder.
|
inline |
Pastes this object.
|
inline |
Stops playing.
|
inline |
Stops recording.
|
inline |
Redoes this object.
|
inline |
Refresh layers.
audioLayers | true to audio layers. |
|
inline |
Replaces.
findText | The find text. |
replaceText | The replace text. |
options | The options. |
|
inline |
Replace all.
findText | The find text. |
replaceText | The replace text. |
options | The options. |
|
inline |
Resize to audio selection.
|
inline |
Saves the annotation.
|
inline |
Saves the annotation as.
|
inline |
Saves the audio changes.
|
inline |
Open segmentation consistency form and begin analysis.
|
inline |
Select all segments on layer.
|
inline |
Select audio from segment.
|
inline |
Select segment.
segment | The segment. |
|
inline |
Opens Settings dialog.
|
inline |
Space all or selected segments equally on layer.
|
inline |
Splits a segment.
|
inline |
Statistics duration spectrum analysis.
|
inline |
Statistics parameters.
|
inline |
Statistics time group analysis.
|
inline |
Take audio screenshoot to clipboard.
|
inline |
Undoes this object.
|
inline |
Ungroups this object.
|
inline |
Changes zoom in.
|
inline |
Changes zoom out.
|
inline |
Shows all segments.
|
inline |
Change zoom to show audio selection.
|
inline |
Change zoom to show full audio.
|
inline |
Shows the selected segments.
Gets the annotation layers.
The annotation layers.
|
getset |
Enable/Disable auto edit mode.
|
getset |
Enable/Disable auto rewind after stop audio.
|
getset |
Enable/Disable auto selection audio after click segment.
|
getset |
Enable/Disable black and white mode.
|
getset |
Show/Hide segments boundaries on audio.
|
get |
Check if there is no selected segment and pause can play sound instead insert space in label.
|
getset |
Default Coordinate Control Style for new Layer, chenged when Coordinate Control Style has changed.
|
getset |
Gets or sets a value indicating whether the corpus pro is visible.
true if workspace visible, false if not.
|
getset |
Gets or sets a value indicating whether the feature space is visible.
true if feature space visible, false if not.
|
getset |
Spectrogram Fast Fourier Transform Filter Widndow Type (Bartlett, Bartlett-Hann, Blackman, Gauss, Hamming, Hann, Triangle).
|
getset |
Alias for Spectrogram.FFTWindowWidth. Gets or sets Fast Fourier Transform Window Width.
|
getset |
Enable/Disable follow cursor mode while play audio.
|
getset |
Gets or sets value indicating whether high quality annotation display is enabled
|
getset |
Gets or sets value indicating whether high quality audio display is enabled.
|
getset |
Gets or sets a value indicating whether the in session mode.
true if in session mode, false if not.
|
get |
Gets a value indicating whether annotation in this object is modified.
true if this object is modified, false if not.
|
get |
Gets a value indicating whether audio in this object is modified.
true if this object is modified, false if not.
|
get |
Check if is selected segment in annotation.
|
getset |
Gets or sets value indicating whether layer list is visible.
|
getset |
Enable/Disable loop audio.
|
getset |
Enable/Disable magnify mode in audio.
|
getset |
Gets or sets a value indicating whether the properties is visible.
true if properties visible, false if not.
|
getset |
Enables / Disables automaticly adding open audio files to Audio Files Collection.
|
getset |
Enables auto save audio files mode.
|
get |
Gets the selected layer.
The selected layer.
|
get |
Gets a value indicating whether the selected layer is is locked.
true if selected layer is locked, false if not.
|
get |
Gets the selected layers.
The selected layers.
|
get |
Gets the number of selected layers.
The number of selected layers.
|
get |
Gets the selected segment.
The selected segment.
|
get |
Gets the selected segments.
The selected segments.
|
getset |
Gets or sets the session events.
The session events.
|
getset |
Gets or sets the number of session listens.
The number of session listens.
|
getset |
Enable/Disable snapping to segment in edit.
|
getset |
Gets or sets spectrogram brightness.
|
getset |
Gets or sets spectrogram contrast.
|
getset |
Gets or sets a value indicating whether the spectrogram is visible.
|
getset |
Enable/Disable sticking to neighbours in edit.
Gets the synchronizer.
The synchronizer.
|
getset |
Gets or sets a value indicating whether the toolbars are visible.
true if toolbars visible, false if not.
|
getset |
Gets or sets a value indicating whether the video player is visible.
true if video player visible, false if not.
|
get |
Gets selected layers collection.
|
getset |
Gets or sets value indicating whether the waveform is visible.
|
getset |
Workspace manager.
|
getset |
Gets or sets a value indicating whether the workspace mode is enabled.
true if workspace mode enabled, false if not.
|
getset |
Gets or sets a value indicating whether the workspace is visible.
true if workspace visible, false if not.
ChangedHandler AnnotationChanged |
Event queue for all listeners interested in AnnotationChanged events.
ModifiedHandler AnnotationModified |
Event queue for all listeners interested in AnnotationModified events.
ChangedHandler AudioChanged |
Event queue for all listeners interested in AudioChanged events.
ChangedHandler AudioModified |
Event queue for all listeners interested in AudioModified events.
SelectionChangedHandler SelectionChanged |
Event queue for all listeners interested in SelectionChanged events.
SessionModeChangedHandler SessionModeChanged |
Event queue for all listeners interested in SessionModeChanged events.
StateChangedHandler StateChanged |
Event queue for all listeners interested in StateChanged events.