After recording bats, orthoptera or birds, it is often necesserary to see the spectrograms of the sounds, for instance while analysing Vigie-Chiro Program bat records
The software needed to do so are often only for Windows, in the present article, we will learn how to install these softwares (i.e. Kaleidoscope, Syrinx, Batsound 4, 7-zip, Lupas-Rename).
Wine is a software that enable .exe software to run on UNIX systems such as Linux or Mac OS.
On Debian and derivatives (Ubuntu...)
Enable 32 bit packages (if you haven't already):
sudo dpkg --add-architecture i386
Download and install the repository key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key
Add the repository to /etc/apt/sources.list or create a wine.list under /etc/apt/sources.list.d/ with the following content:
deb https://dl.winehq.org/wine-builds/debian/ buster main
sudo apt update
Install Wine stable
sudo apt install --install-recommends winehq-stable
On Fedora, RHEL, and derivatives
Add repository :
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo
Install stable package :
dnf install winehq-stable
Kaleidoscope is available on both fedora and debian based distros at wildlife acoustics.
As all following softwares, Syrinx is not available for GNU/Linux, we need Wine to execute the
Syrinx-PC is available at Google Drive.
You will also need the config files available at Google Drive.
You have almost two options :
You can either right click on the
.exe installer and select
Open with other application and
Wine Windows Program Loader, or either run
wine syrinxalphainst.exe in Terminal.
Set up app launcher
You have to create a new file
[Desktop Entry] Type=Application Encoding=UTF-8 Name=Syrinx Comment=Acoustic analysis Exec=/usr/bin/wine /home/<USER>/.wine/drive_c/Program\ Files\ (x86)/syrinx/Syrinx.exe Icon=/home/<USER>/.wine/drive_c/Program Files (x86)/syrinx/img/vigie-chiro.png Terminal=false
<USER> by your username. To have the icon, you can download
To analyse ultrasound, with a 384 kHz sampling frequency, we have to open
Configs_syrinx/exp384.dsp; and next Load sound file (
Ctrl+L). To switch to other sound file in same folder, we can use
alt+arrows. For more tips, you can view the video of Charlotte ROEMER (Fr).
Install and Configure Batsound 4
The procedure is quite similar with Syrinx-PC installation.
Set up app launcher
Create a new file
[Desktop Entry] Type=Application Encoding=UTF-8 Name=Batsound Comment=Acoustic analysis Exec=/usr/bin/wine /home/<USER>/.wine/drive_c/Program\ Files\ (x86)/Pettersson/Batsound4/BatSound.exe Icon=/home/<USER>/.wine/drive_c/Program Files (x86)/Pettersson/Batsound4/img/batsound.png Terminal=false
(Do not forget to change
<USER> to your username.)
To have the icon, you can download
Configure Batsound to analyse ultrasounds
- Enter the
Time expansionvalue to 10 (according to your recorder settings)
Keep 44 100 as
Samples per secondvalue.
Analysis/Spectrogram Settings - Defaultsmenu.
Amplitude color mappingto
Yellow, Red & Blue;
Thresholdto sound intensity.
You can zoom in.
With a Pipistrellus kuhlii record, I obtain the following spectrogram with the above settings :
7-zip is useful in Vigie-Chiro process to compress audio files for faster upload to https://vigiechiro.herokuapp.com.
.exeinstaller at https://www.7-zip.org/
Lupas-Rename is used in Vigie-Chiro protocole to batch rename audio file to add protocoles informations such as pass and square.
.exeinstaller at https://rename.lupasfreeware.org/download.php
- Execute installer with wine
- Batch rename audio files...
With all these functionnal softwares, you are able to perform Vigie-Chiro protocole and sound analysis on GNU/Linux. I look forward to see your participation at https://vigiechiro.herokuapp.com !