parent
1b8676156b
commit
062057e8ba
Binary file not shown.
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>BioloGeek's blog - audio</title><link href="https://blog.ortion.xyz/" rel="alternate"></link><link href="https://blog.ortion.xyz/feeds/audio.atom.xml" rel="self"></link><id>https://blog.ortion.xyz/</id><updated>2021-03-25T10:40:00+01:00</updated><subtitle>The Blog of a juvenile Geekus biologicus</subtitle><entry><title>Analyse Sound on GNU/Linux using Wine</title><link href="https://blog.ortion.xyz/analyse-sound-on-gnulinux-using-wine.html" rel="alternate"></link><published>2021-03-25T10:40:00+01:00</published><updated>2021-03-25T10:40:00+01:00</updated><author><name>Samuel ORTION</name></author><id>tag:blog.ortion.xyz,2021-03-25:/analyse-sound-on-gnulinux-using-wine.html</id><summary type="html"><p>After recording bats, orthoptera or birds, it is often necesserary to see the spectrograms of the sounds, for instance while analysing <a href="http://www.vigienature.fr/fr/chauves-souris">Vigie-Chiro Program</a> bat records</p>
|
||||
<p>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 …</p></summary><content type="html"><p>After recording bats, orthoptera or birds, it is often necesserary to see the spectrograms of the sounds, for instance while analysing <a href="http://www.vigienature.fr/fr/chauves-souris">Vigie-Chiro Program</a> bat records</p>
|
||||
<p>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).</p>
|
||||
<h2>Install Wine</h2>
|
||||
<p>Wine is a software that enable .exe software to run on UNIX systems such as Linux or Mac OS.</p>
|
||||
<h3>On Debian and derivatives (Ubuntu...)</h3>
|
||||
<p>Enable 32 bit packages (if you haven't already):</p>
|
||||
<div class="highlight"><pre><span></span><code>sudo dpkg --add-architecture i386
|
||||
</code></pre></div>
|
||||
|
||||
<p>Download and install the repository key:</p>
|
||||
<div class="highlight"><pre><span></span><code>wget -nc https://dl.winehq.org/wine-builds/winehq.key
|
||||
sudo apt-key add winehq.key
|
||||
</code></pre></div>
|
||||
|
||||
<p>Add the repository to /etc/apt/sources.list or create a wine.list under /etc/apt/sources.list.d/ with the following content:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">deb</span> <span class="s">https://dl.winehq.org/wine-builds/debian/</span> <span class="kp">buster</span> <span class="kp">main</span>
|
||||
</code></pre></div>
|
||||
|
||||
<p>Update packages</p>
|
||||
<div class="highlight"><pre><span></span><code>sudo apt update
|
||||
</code></pre></div>
|
||||
|
||||
<p>Install Wine stable</p>
|
||||
<div class="highlight"><pre><span></span><code>sudo apt install --install-recommends winehq-stable
|
||||
</code></pre></div>
|
||||
|
||||
<h3>On Fedora, RHEL, and derivatives</h3>
|
||||
<p>Add repository :</p>
|
||||
<div class="highlight"><pre><span></span><code>dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo
|
||||
</code></pre></div>
|
||||
|
||||
<p>Install stable package :</p>
|
||||
<div class="highlight"><pre><span></span><code>dnf install winehq-stable
|
||||
</code></pre></div>
|
||||
|
||||
<h2>Install Kaleidoscope</h2>
|
||||
<p>Kaleidoscope is available on both fedora and debian based distros at <a href="https://www.wildlifeacoustics.com/">wildlife acoustics</a>.</p>
|
||||
<h2>Install Syrinx</h2>
|
||||
<p>As all following softwares, Syrinx is not available for GNU/Linux, we need Wine to execute the <code>.exe</code>.
|
||||
Syrinx-PC is available at <a href="https://drive.google.com/file/d/0B5ZM90wrDzUOM0ZfYlpDR2l1cU0/view">Google Drive</a>.
|
||||
You will also need the config files available at <a href="https://drive.google.com/file/d/0B5ZM90wrDzUOQnBhRjNVRFM1Rkk/view">Google Drive</a>.</p>
|
||||
<p>You have almost two options :
|
||||
You can either right click on the <code>.exe</code> installer and select <code>Open with other application</code> and <code>Wine Windows Program Loader</code>, or either run <code>wine syrinxalphainst.exe</code> in Terminal.</p>
|
||||
<h3>Set up app launcher</h3>
|
||||
<p>You have to create a new file <code>.local/share/applications/syrinx.desktop</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">[Desktop Entry]</span>
|
||||
<span class="na">Type</span><span class="o">=</span><span class="s">Application</span>
|
||||
<span class="na">Encoding</span><span class="o">=</span><span class="s">UTF-8</span>
|
||||
<span class="na">Name</span><span class="o">=</span><span class="s">Syrinx</span>
|
||||
<span class="na">Comment</span><span class="o">=</span><span class="s">Acoustic analysis</span>
|
||||
<span class="na">Exec</span><span class="o">=</span><span class="s">/usr/bin/wine /home/&lt;USER&gt;/.wine/drive_c/Program\ Files\ (x86)/syrinx/Syrinx.exe</span>
|
||||
<span class="na">Icon</span><span class="o">=</span><span class="s">/home/&lt;USER&gt;/.wine/drive_c/Program Files (x86)/syrinx/img/vigie-chiro.png</span>
|
||||
<span class="na">Terminal</span><span class="o">=</span><span class="s">false</span>
|
||||
</code></pre></div>
|
||||
|
||||
<p>Change <code>&lt;USER&gt;</code> by your username. To have the icon, you can download <a href="images/vigie-chiro.png"><code>vigie-chiro.png</code></a>.
|
||||
To analyse ultrasound, with a 384 kHz sampling frequency, we have to open <code>Configs_syrinx/exp384.dsp</code>; and next Load sound file (<code>Ctrl+L</code>). To switch to other sound file in same folder, we can use <code>alt+arrows</code>. For more tips, you can view <a href="https://www.youtube.com/watch?v=BPPSw2FSLxs">the video of Charlotte ROEMER (Fr)</a>.</p>
|
||||
<h2>Install and Configure Batsound 4</h2>
|
||||
<p>The procedure is quite similar with Syrinx-PC installation.</p>
|
||||
<h3>Set up app launcher</h3>
|
||||
<p>Create a new file <code>.local/share/applications/batsound.desktop</code>:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">[Desktop Entry]</span>
|
||||
<span class="na">Type</span><span class="o">=</span><span class="s">Application</span>
|
||||
<span class="na">Encoding</span><span class="o">=</span><span class="s">UTF-8</span>
|
||||
<span class="na">Name</span><span class="o">=</span><span class="s">Batsound</span>
|
||||
<span class="na">Comment</span><span class="o">=</span><span class="s">Acoustic analysis</span>
|
||||
<span class="na">Exec</span><span class="o">=</span><span class="s">/usr/bin/wine /home/&lt;USER&gt;/.wine/drive_c/Program\ Files\ (x86)/Pettersson/Batsound4/BatSound.exe</span>
|
||||
<span class="na">Icon</span><span class="o">=</span><span class="s">/home/&lt;USER&gt;/.wine/drive_c/Program Files (x86)/Pettersson/Batsound4/img/batsound.png</span>
|
||||
<span class="na">Terminal</span><span class="o">=</span><span class="s">false</span>
|
||||
</code></pre></div>
|
||||
|
||||
<p>(Do not forget to change <code>&lt;USER&gt;</code> to your username.)</p>
|
||||
<p>To have the icon, you can download <a href="images/batsound.png"><code>batsound.png</code></a>.</p>
|
||||
<h3>Configure Batsound to analyse ultrasounds</h3>
|
||||
<ul>
|
||||
<li>Enter the <code>Sound/Sound Format</code> menu.</li>
|
||||
</ul>
|
||||
<p><img alt="Entering Sound/Sound Forma menu" src="images/batsound/enter-sound-format-menu.png"></p>
|
||||
<ul>
|
||||
<li>Change <code>Time expansion</code> value to 10 (according to your recorder settings)</li>
|
||||
<li>
|
||||
<p>Keep 44 100 as <code>Samples per second</code> value.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Enter the <code>Analysis/Spectrogram Settings - Defaults</code> menu.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p><img alt="Entering Spectrogram Setting - Defaults menu" src="images/batsound/spectrogram-settings-default-values.png"></p>
|
||||
<ul>
|
||||
<li>Change <code>Max frequency</code> to <code>150000</code>;</li>
|
||||
<li>Set <code>Amplitude color mapping</code> to <code>Yellow, Red &amp; Blue</code>;</li>
|
||||
<li>
|
||||
<p>Adapt <code>Threshold</code> to sound intensity.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>You can zoom in.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>With a <em>Pipistrellus kuhlii</em> record, I obtain the following spectrogram with the above settings :
|
||||
<img alt="pipkuh spectro" src="images/batsound/pipkuh-spectro-batsound.png"></p>
|
||||
<h2>Install 7-zip</h2>
|
||||
<p>7-zip is useful in Vigie-Chiro process to compress audio files for faster upload to <a href="https://vigiechiro.herokuapp.com">https://vigiechiro.herokuapp.com</a>.</p>
|
||||
<ol>
|
||||
<li>Download <code>.exe</code> installer at <a href="https://www.7-zip.org/">https://www.7-zip.org/</a></li>
|
||||
<li>Execute <code>7z1900.exe</code> with wine.</li>
|
||||
</ol>
|
||||
<h2>Install Lupas-Rename</h2>
|
||||
<p>Lupas-Rename is used in Vigie-Chiro protocole to batch rename audio file to add protocoles informations such as pass and square.</p>
|
||||
<ol>
|
||||
<li>Dowload <code>.exe</code> installer at <a href="https://rename.lupasfreeware.org/download.php">https://rename.lupasfreeware.org/download.php</a></li>
|
||||
<li>Execute installer with wine</li>
|
||||
<li>Batch rename audio files...</li>
|
||||
</ol>
|
||||
<h2>Conclusion</h2>
|
||||
<p>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 <a href="https://vigiechiro.herokuapp.com">https://vigiechiro.herokuapp.com</a> !</p></content><category term="audio"></category><category term="bat"></category><category term="bird"></category><category term="ultrasound"></category><category term="syrinx"></category><category term="batsound"></category></entry></feed>
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"><title>BioloGeek's blog - sysadmin</title><link href="https://blog.ortion.xyz/" rel="alternate"></link><link href="https://blog.ortion.xyz/feeds/sysadmin.atom.xml" rel="self"></link><id>https://blog.ortion.xyz/</id><updated>2021-03-26T18:25:00+01:00</updated><subtitle>The Blog of a juvenile Geekus biologicus</subtitle><entry><title>Install Nvidia drivers on fedora 34</title><link href="https://blog.ortion.xyz/install-nvidia-drivers-on-fedora-34.html" rel="alternate"></link><published>2021-03-26T18:25:00+01:00</published><updated>2021-03-26T18:25:00+01:00</updated><author><name>Samuel ORTION</name></author><id>tag:blog.ortion.xyz,2021-03-26:/install-nvidia-drivers-on-fedora-34.html</id><content type="html"><h2>Update package manager and reboot</h2>
|
||||
<div class="highlight"><pre><span></span><code>dnf update
|
||||
reboot
|
||||
</code></pre></div>
|
||||
|
||||
<h2>Enable Nvidia driver repository</h2>
|
||||
<div class="highlight"><pre><span></span><code>sudo dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver
|
||||
</code></pre></div>
|
||||
|
||||
<h2>Sources</h2>
|
||||
<ul>
|
||||
<li><a href="https://fedoramagazine.org/install-nvidia-gpu/">fedora magazine</a></li>
|
||||
</ul></content><category term="sysadmin"></category><category term="Nvidia"></category><category term="drivers"></category><category term="gpu"></category><category term="fedora"></category></entry></feed>
|