Releases: clement-pages/gryannote
Releases · clement-pages/gryannote
0.3.1
v0.3.0
gryannote 0.3.0 update changelog
Breaking changes
- RTTM postprocessing no longer needs the audio to be passed as return value of the wrapped function, only
pyannote.core.Annotation
. (seeapp/demo.py
)
backend API
- add new component:
gryannote_audio.Player
. This component is dedicated to visualization purposes:
audio = ...
annotations = ...
# Equivalent to player = AudioLabeling(audio=audio, annotations=annotations, interactive=False, type="filepath")
player = Player(audio=audio, annotations=annotations)
demo = gr.Interface(lambda x : x, inputs=None, outputs=player)
- add
default_pipeline
parameter toPipelineSelection
. This parameter allows to select a default pipeline for the component's pipeline dropdown.
pipeline_selector = PipelineSelector(default_pipeline="pyannote/speaker-diarization-3.1")
- The RTTM component can now be used to upload annotations to the audio labeling one!
audio_labeling = AudioLabeling(type="filepath")
rttm = RTTM()
rttm.upload(
fn=audio_labeling.load_annotations,
inputs=[audio_labeling, rttm],
outputs=audio_labeling,
)
improvements
- label an audio using a gamepad! See here to check the available shortcuts.
⚠️ This feature has been tested with a Battletron Nintendo Switch on Firefox, and may not work with any other device or browser. - add a minimap of the waveform on audio component. This minimap can be enable / disable by setting
show_minimap
toTrue
(default) /False
when instantiatingAudioLabeling
. For now, only the waveform
is displayed on the minimap, but it is planned to also show annotation in a future release. - if audio is playing, time cursor will not jump to the start of the active annotation
- if audio is paused, time cursor will be set to the start of the active annotation only if this annotation is not visible on the screen.
- replace arithmetic zoom (z = z + delta) by a geometric one (z = z * coef)
- add new shortcuts to speed up zoom in / zoom out:
SHIFT+UP
/SHIFT+DOWN
- Management of overlapped regions is now devolved to
@gryannote/wavesurfer.js
fixes
- fix display of overlapping regions when splitting an annotation
- fix text not visible in the label name setting box when using dark mode
v0.2.0
package: prepare version 0.2.0
v0.1.6
Update pyproject.toml
0.1.5.1
Bump version to 0.1.5