Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
/ annotation-agent Public archive

PoC: experimental audio annotating agent

License

Notifications You must be signed in to change notification settings

radiorabe/annotation-agent

RaBe Annotation Agent

The RaBe Annotation Agent is used to annotate audio files and other assets at RaBe. It is also an experiment in using linked data at RaBe.

  • is triggered via several keys on a amqp topic
  • downloads files from our archive
  • stores speech/music segmentation in annnotations
  • stores audiowaveform dat files in an object store and links them with files via an annotation
  • receives events from acrcloud and links them with a show (unfinished, doesn't work yet)

Development

# clone the repo
git clone https://github.com/radiorabe/annotation-agent.git
cd annotation-agent

# run the command line locally
go run main.go --help

# build a binary
go build main.go -o annotation-agent

pre-commit hook

pre-commit configuration

# setup hooks
pre-commit install

# run them all
pre-commit run -a

Release Process

Create a git tag and push it to this repo or use the git web ui.

This is built on GitHub Actions and uses a GH_PAT_TOKEN secret to work. The access key must have repo, read:packages, write:packages and delete:packages in it's scope.

License

This software is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

Copyright

Copyright (c) 2020 Radio Bern RaBe