Skip to content

Releases: clement-pages/gryannote

0.3.1

15 Oct 13:51
Compare
Choose a tag to compare

Changelog

  • Fix: update gradio version in package dependencies to 4.27.0

v0.3.0

30 Sep 13:54
878be36
Compare
Choose a tag to compare

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. (see app/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 to PipelineSelection. 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 to True (default) / False when instantiating AudioLabeling. 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

22 Aug 09:42
Compare
Choose a tag to compare
package: prepare version 0.2.0

v0.1.6

05 Jul 13:21
4e2de04
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release
Update pyproject.toml

0.1.5.1

01 Jul 07:42
9c3bf59
Compare
Choose a tag to compare
0.1.5.1 Pre-release
Pre-release
Bump version to 0.1.5