Roe deer · 1 alarm bark
requested calls: 1roe deer | alarm bark | count: 1 | call length: 0.4 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
Prompt-controllable, never-repeating animal calls for wildlife deterrence. We fine-tuned a text-to-audio model on open recordings, so a short tag prompt produces a new variant of a wolf, roe deer or red deer call every time. The same pipeline added three bird species in under an hour.
Flox steers animals away from roads, rails and airports with sound. Fixed sounds stop working.
Text is a clumsy way to describe an animal call. Here the input is the call's own structure: tap a rhythm, and every tap becomes a different AI-generated call on exactly your beat, in real field ambience. No words needed, and the timing is exact, which text prompts could not control.
How it works. Each tap triggers one call cut from our model's generated audio, a different variant every time (14 per animal; deer and wolf from the deer/wolf model, birds from the 6-species model, the ones our independent checker rated most species-like). They are placed exactly on your taps over a real call-free field recording, at the background level real recordings of that animal have. "Far" lowers and muffles the calls. Everything runs in your browser; nothing is generated live.
Why rhythm. Count and spacing are what change an alarm call's meaning (one bark vs a rapid series), and they were exactly what text prompts failed to control (interval correlation 0.1). A rhythm is a non-verbal, animal-centred "score". Next step: condition the model directly on the tapped rhythm instead of placing calls afterwards. In the field, the same input could come from Flox's sensors instead of a finger: closer and faster animal → faster, more urgent rhythm.
Species: grey wolf (howl, bark), roe deer (alarm bark), red deer (alarm bark, roar).
roe deer | alarm bark | count: 3 | interval: 2.0 s | distance: near
Why tags instead of sentences: the units are the animal's own call events (how many, how fast, how long, how near), closer to a musical score than to human words. This is the brief's "tags / musical notes" idea, and it reduces anthropocentric bias in how we describe the calls.
Each prompt below was rendered with 6 random seeds by the final model (fine-tuned, epoch 10). For each prompt we show the 3 variants that BioLingual, an independent zero-shot model, rated most likely to be the requested species. Nothing else was filtered. Detected call counts come from a simple energy detector and are shown unedited, misses included.
roe deer | alarm bark | count: 1 | call length: 0.4 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
roe deer | alarm bark | count: 3 | interval: 2.0 s | call length: 0.4 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
roe deer | alarm bark | count: 5 | interval: 2.0 s | call length: 0.4 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
grey wolf | howl | count: 2 | interval: 4.0 s | call length: 2.5 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
The energy detector is unreliable for long howls, so treat wolf counts as approximate.
grey wolf | bark | count: 3 | interval: 1.0 s | call length: 0.4 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
Only 1 of the 6 wolf-bark seeds was recognised as wolf by BioLingual. Its label set has wolf howl and growl but no wolf-bark class, so this is a weak point and a weak test at the same time.
red deer | roar | count: 2 | call length: 1.5 s | distance: near | background: quiet
3 of 6 seeds shown: the ones BioLingual rated most likely to be the requested species.
Red deer is our weakest species: 75 training clips against 780 for roe deer. Many red deer alarm-bark prompts are heard as roe deer.
Excerpts of held-out iNaturalist field recordings. The model never trained on these.
Same request, same seed (0). Zero-shot TangoFlux was never trained on our tags, so it got the equivalent plain-English prompt. Out of the box it renders "roe deer" as a dog bark; after fine-tuning, the independent model hears roe deer.
Heard as a dog bark.
A roe deer barks twice, about 2 seconds apart, far away in the distance, in a quiet forest
A roe deer barks three times, about 2 seconds apart, far away in the distance, in a quiet forest
Heard as roe deer.
roe deer | alarm bark | count: 2 | interval: 2.0 s | call length: 0.4 s | distance: far | background: quiet
roe deer | alarm bark | count: 3 | interval: 2.0 s | call length: 0.4 s | distance: far | background: quiet
Held-out recordings, never used for training.
Real field recordings never sit in silence. Measured against held-out recordings, our fine-tuned model already matched the real background level, but its background was hissier (roe deer spectral centroid 2.4 kHz vs 1.1 kHz real). So we gate out the generated hiss where it is measurably wrong and lay the calls into real field ambience (call-free stretches of training recordings, credited per file) at the background level real recordings of that species have. The calls stay SYNTHETIC; only the background is real.
roe deer | alarm bark | count: 3 | interval: 2.0 s | call length: 0.4 s | distance: near | background: quiet
roe deer | alarm bark | count: 5 | interval: 2.0 s | call length: 0.4 s | distance: far | background: quiet
grey wolf | howl | count: 2 | interval: 4.0 s | call length: 2.5 s | distance: near | background: quiet
Zero-shot TangoFlux vs our final fine-tuned model (epoch 10), measured on a seeded control grid: 24 prompts × 4 seeds = 96 distinct clips (roe deer n = 72, wolf n = 24).
| Metric | Zero-shot | Fine-tuned (final) |
|---|---|---|
| Validation loss on real audio (val_masked, lower is better) | 1.338 | 1.012 (−24 %) |
| Roe deer prompts heard as roe deer (BioLingual) | 0 % (dog bark) | 56 % |
| Roe deer bark count: exact | 26 % | 35 % |
| Roe deer bark count: within ±1 | 58 % | 76 % |
| Roe deer count correlation (requested vs detected) | 0.62 | 0.62 |
| Roe deer interval correlation (requested vs detected) | −0.17 | −0.18 (not followed) |
| Wolf prompts heard as wolf (BioLingual) | 88 % | 100 % |
| Wolf call count: within ±1 | 75 % | 96 % |
| Wolf call count: exact (from the count matrices below) | 46 % | 29 % |
| Fréchet distance to real roe deer test recordings (BioLingual embeddings; real train vs test = 0.27) | 1.02 | 0.55 |
| Human listening test: listeners who picked the real recording (50 % = can't tell) | 100 % (10/10; pilot, background not matched) | 48 % (26/54; 11 listeners, background matched) |
Binomial standard error at n = 72 is about ±6 points. Data: 1,028 training clips (99 min), 126 validation, 66 test, split by iNaturalist observation. Species = share of clips BioLingual hears as the requested species. Count = energy-detector count vs requested count.
Listening test with 7 named pairs (roe deer ×2, red deer, wolf, goose, jackdaw, crow), one real held-out recording and one AI clip each, with the background level matched inside each pair. Listeners picked the real recording in 48 % of 54 pairs (95 % CI 35–61 %): chance level. Without matching, off-the-shelf AI clips were spotted every time (10/10). Experts did no better (8/18). Even our jackdaw, which the independent checker says we have not learned, fooled listeners (4/10 correct): human ears are not the final judge of species, animals are.

| Fine-tuned model, BioLingual embedding distance | Roe deer | Grey wolf |
|---|---|---|
| Variation between seeds of one prompt | 0.26 | 0.28 |
| Reference: two random real recordings of the species | 0.39 | 0.48 |
| Nearest training clip, generated (median) | 0.18 | 0.16 |
| Nearest training clip, held-out real recording (median) | 0.16 | 0.19 |
| Flagged as possible copies (closer than the 5th percentile of real; about 5 % expected) | 3 % | 33 % |
Variants of one prompt differ by about two thirds of the spread between real recordings, so they are genuine variants. Generated roe deer calls are no closer to the training set than new real recordings are, so the model is not memorising them. Wolf has a copy risk: it had only about 100 training clips.
To test whether the pipeline scales beyond deer and wolves, we added three bird species that matter for airports and bird strikes (Canada goose, jackdaw, hooded crow) with no new code: one config line per species and three labels for the independent checker. Same pipeline end to end: download open recordings, find and count calls, auto-caption, fine-tune one model on all six species. Total wall-clock time: 50 minutes on one GPU (6 epochs; the epoch-3 model shown here was ready after about half of the training time).
Result. Goose and crow are learned: heard as the right species in 56 % and 84 % of clips after 3 epochs, vs 19 % and 44 % zero-shot. Jackdaw is not (0 %), even though the checker recognises 86 % of real jackdaw recordings. Adding birds did not hurt the deer: the 6-species model is heard as roe deer more often (89 % vs 56 %) and counts barks as well (within ±1: 81 % vs 76 %); wolf counting dropped (96 % → 79 %). Training on to epoch 6 broke roe-deer counting (38 %), so balancing multi-species training is the next step.
| Request | Zero-shot TangoFlux | Our 6-species model |
|---|---|---|
| 1 call, close | detected 4 · canada goose p = 0.18 · top: hooded crow | detected 2 · canada goose p = 0.01 · top: hooded crow |
| 3 calls, close | detected 3 · canada goose p = 0.91 | detected 2 · canada goose p = 0.49 · top: hooded crow |
| 4 calls, far | detected 3 · canada goose p = 0.22 · top: hooded crow | detected 2 · canada goose p = 0.40 · top: hooded crow |
Reference:
| Request | Zero-shot TangoFlux | Our 6-species model |
|---|---|---|
| 1 call, close | detected 0 · jackdaw p = 0.00 · top: wind | detected 2 · jackdaw p = 0.00 · top: hooded crow |
| 3 calls, close | detected 1 · jackdaw p = 0.00 · top: birdsong | detected 2 · jackdaw p = 0.00 · top: hooded crow |
| 4 calls, far | detected 0 · jackdaw p = 0.00 · top: wind | detected 2 · jackdaw p = 0.00 · top: hooded crow |
Reference:
| Request | Zero-shot TangoFlux | Our 6-species model |
|---|---|---|
| 1 call, close | detected 0 · hooded crow p = 0.00 · top: traffic | detected 2 · hooded crow p = 0.88 |
| 3 calls, close | detected 0 · hooded crow p = 0.99 | detected 2 · hooded crow p = 1.00 |
| 4 calls, far | detected 1 · hooded crow p = 1.00 | detected 3 · hooded crow p = 1.00 |
Reference:
| Heard as the species (BioLingual) | Training clips | Zero-shot | 6-species model, epoch 3 | 6-species model, epoch 6 | Real recordings (checker ceiling) |
|---|---|---|---|---|---|
| canada goose | 362 | 19 % | 56 % | 66 % | 85 % |
| jackdaw | 274 | 0 % | 0 % | 12 % | 86 % |
| hooded crow | 149 | 44 % | 84 % | 31 % | 63 % |
| Did adding birds hurt deer and wolf? (same 96-clip grid) | Deer/wolf model | 6-species, epoch 3 | 6-species, epoch 6 |
|---|---|---|---|
| roe deer heard as roe deer | 56 % | 89 % | 82 % |
| roe deer count exact | 35 % | 43 % | 8 % |
| roe deer count ±1 | 76 % | 81 % | 38 % |
| roe deer count corr | 0.62 | 0.62 | 0.49 |
| wolf heard as wolf | 100 % | 100 % | 100 % |
| wolf count ±1 | 96 % | 79 % | 83 % |
Heard as the species = share of 96 generated clips (3 species × 4 counts × near/far × 4 seeds) that BioLingual, an independent model, assigns to the requested species (p ≥ 0.5) among bird, mammal and noise labels. Zero-shot TangoFlux got plain-English prompts, our models got score tags. Bird calls in field recordings overlap with other birds and flocks, so the energy call counter is rough for jackdaws. Examples above: seed 0 for both models, not cherry-picked.


Data pipeline, captioning, fine-tuning, evaluation, experiment log.
Sample dataset (Hugging Face)703 clips: SYNTHETIC (zero-shot, fine-tuned, + ambience, birds) and held-out real recordings, with prompts, scores, attribution.
Listening test (live during the event)Real or AI? 7 named pairs (deer, wolf, birds), same background level inside each pair, about 3 minutes. Runs on our GPU server; it closes after the event and the results are in the Results tab.
Clips on this pageEvery file: SYNTHETIC or REAL, prompt, seed, model, detected count, classifier score, licence and attribution.
Architecture diagramTraining data → fine-tuned flow transformer → independent checks.





