---
title: 'Between: 2012/12/01 en 2012/12/31 - 0110.be'
canonical: https://0110.be/date/2012/12
markdown_url: https://0110.be/date/2012/12.md
page: 0
posts_per_page: 30
total_posts: 4
filters:
  year: 2012
  month: 12
previous:
next:
---

# Between: 2012/12/01 en 2012/12/31 - 0110.be

## [TarsosDSP Christmas Edition: Jingle Cats](https://0110.be/posts/TarsosDSP_Christmas_Edition%3A_Jingle_Cats.md)

- Published: 2012-12-21T14:38:52Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 373
- Canonical: https://0110.be/posts/TarsosDSP_Christmas_Edition%3A_Jingle_Cats

- Tags: [Code](https://0110.be/tags/Code.md), [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md)

The DSP library for Taros, aptly named TarsosDSP, now includes an example showing how to synthesize cat sounds. The inspration came from this [youtube video](http://www.youtube.com/watch?v=vEg4SEch27w)

To hear what exactly it does, listen to the following audio example.

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F72084966">
</iframe>
There is also a command line interface, the following command does

<code>\
java -jar Catify-latest.jar in.mid\
</code>

     _______                       _____   _____ _____  
    |__   __|                     |  __ \ / ____|  __ \ 
       | | __ _ _ __ ___  ___  ___| |  | | (___ | |__) |
       | |/ _` | '__/ __|/ _ \/ __| |  | |\___ \|  ___/ 
       | | (_| | |  \__ \ (_) \__ \ |__| |____) | |     
       |_|\__,_|_|  |___/\___/|___/_____/|_____/|_|     

    ----------------------------------------------------
    Name:
        TarsosDSP catify'er
    ----------------------------------------------------
    Synopsis:
        java -jar Catify-latest.jar input.mid
    ----------------------------------------------------
    Description:

The source code of the Java implementation of the catify'er can be found on the [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP).


---

## [TarsosDSP Pitch Estimation Synthesizer](https://0110.be/posts/TarsosDSP_Pitch_Estimation_Synthesizer.md)

- Published: 2012-12-19T15:07:10Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 359
- Canonical: https://0110.be/posts/TarsosDSP_Pitch_Estimation_Synthesizer

- Tags: [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md), [TarsosDSP](https://0110.be/tags/TarsosDSP.md)

The DSP library for Taros, aptly named TarsosDSP, now includes an example showing how to synthesize pitch estimations. The goal of the example is to show which errors are made by different pitch detectors.

<div align="center">
<a href="https://0110.be/releases/TarsosDSP/TarsosDSP-latest/TarsosDSP-latest-Examples/Resynthesizer-latest.jar"><img src="https://0110.be/files/attachments/359/Pitch_Estimation_Synthesizer.png" alt="Pitch estimation synthesizer"/></a>

</div>
To test the application, download and execute the [Resynthesizer.jar](http://tarsos.0110.be/releases/TarsosDSP/TarsosDSP-latest/TarsosDSP-latest-Examples/Resynthesizer-latest.jar) file and load an audio file. For the moment only 44.1kHz mono wav is allowed. To hear what exactly it does, compare the following two audio fragments:

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F71830992">
</iframe>
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F71831213">
</iframe>
There is also a command line interface, the following command does pitch tracking, and follows the envelope of `in.wav` and immediately plays it on the default audio device. If you want to save the audio, see the command line options. The "flute example":\[flute.wav\] is provided for your convenience.

<code>\
java -jar Resynthesizer-latest.jar in.wav\
</code>

     _______                       _____   _____ _____  
    |__   __|                     |  __ \ / ____|  __ \ 
       | | __ _ _ __ ___  ___  ___| |  | | (___ | |__) |
       | |/ _` | '__/ __|/ _ \/ __| |  | |\___ \|  ___/ 
       | | (_| | |  \__ \ (_) \__ \ |__| |____) | |     
       |_|\__,_|_|  |___/\___/|___/_____/|_____/|_|     

    ----------------------------------------------------
    Name:
        TarsosDSP resynthesizer
    ----------------------------------------------------
    Synopsis:
        java -jar CommandLineResynthesizer.jar [--detector DETECTOR] [--output out.wav] [--combined combined.wav] input.wav
    ----------------------------------------------------
    Description:
        Extracts pitch and loudnes from audio and resynthesises the audio with that information.
        The result is either played back our written in an output file. 
        There is als an option to combine source and synthezized material
        in the left and right channels of a stereo audio file.

        input.wav       a readable wav file.

        --output out.wav        a writable file.

        --combined combined.wav     a writable output file. One channel original, other synthesized.
        --detector DETECTOR defaults to FFT_YIN or one of these:
                    YIN
                    MPM
                    FFT_YIN
                    DYNAMIC_WAVELET
                    AMDF

The source code of the Java implementation of the synthesizer can be found on the [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP).


- [Pitch\_Estimation\_Synthesizer.png](https://0110.be/files/attachments/359/Pitch_Estimation_Synthesizer.png)

- [flute.wav](https://0110.be/files/attachments/359/flute.wav)

---

## [Phase Vocoding: Time Stretching and Pitch Shifting with TarsosDSP Java](https://0110.be/posts/Phase_Vocoding%3A_Time_Stretching_and_Pitch_Shifting_with_TarsosDSP_Java.md)

- Published: 2012-12-13T00:00:00Z
- Updated: 2020-11-17T09:02:35Z
- Author: Joren
- ID: 355
- Canonical: https://0110.be/posts/Phase_Vocoding%3A_Time_Stretching_and_Pitch_Shifting_with_TarsosDSP_Java

- Tags: [HoGent](https://0110.be/tags/HoGent.md), [TarsosDSP](https://0110.be/tags/TarsosDSP.md), [WSOLA](https://0110.be/tags/WSOLA.md)

The DSP library for Taros, aptly named TarsosDSP, now includes an implementation of a *pitch shifting algorithm* (as of version 1.4) and a time stretching algorithm. Combined, the two can be used for something like [phase vocoding](http://en.wikipedia.org/wiki/Phase_vocoder). With a phase vocoder you can load an audio snippet, change the pitch and duration and e.g. create a library of snippets. E.g. by recording one piano key stroke, it is possible to generate two octaves of samples of different lengths, and use those in stead of synthesized samples. The following example application shows exactly that, implemented in the java programming language.

The example application below shows how to pitch shift and time stretch a sample to create a sample library with the TarsosDSP library.

<div align="center">
<a href=/releases/TarsosDSP/TarsosDSP-latest/TarsosDSP-latest-Examples/SampleExtractor-latest.jar"><img src="https://0110.be/files/attachments/355/_Extract___Modify_Samples.png" alt="Pitch shifting in Java"/></a>

</div>
Find your oven fresh baked binaries at the [TarsosDSP Release Repository](https://0110.be/releases/TarsosDSP/).


- [\_Extract\_\_\_Modify\_Samples.png](https://0110.be/files/attachments/355/_Extract___Modify_Samples.png)

---

## [Tarsos 1.0: Transcription Features](https://0110.be/posts/Tarsos_1.0%3A_Transcription_Features.md)

- Published: 2012-12-05T00:00:00Z
- Updated: 2020-11-17T09:00:24Z
- Author: Joren
- ID: 335
- Canonical: https://0110.be/posts/Tarsos_1.0%3A_Transcription_Features

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Tarsos](https://0110.be/tags/Tarsos.md), [WSOLA](https://0110.be/tags/WSOLA.md), [featured](https://0110.be/tags/featured.md)

Today marks the reslease of Tarsos 1.0 . The new Tarsos release contains practical transcription features. As can be seen in the screenshot below, a time stretching feature makes it easy to loop a certain audio fragment while it is playing in a slow tempo. The next loop can be played with by pressing the `n` key, the one before by pressing `b`.

Since the pitch classes can be found in a song, and there is a feature that lets you play a `MIDI` keyboard in the tone scale of the song under analysis, transcription of ethnic music is made a lot easier.

<div align="center">
<a href="http://0110.be/releases/Tarsos/Tarsos-latest/Tarsos-latest.jar">\
<img src='https://0110.be/files/attachments/335/Tarsos-1.0.png' alt="Tarsos 1.0" width="400px"/>\
</a>

</div>
The new release of Tarsos can be found in the [Tarsos release repository](http://0110.be/releases/Tarsos/). From now on, nightly releases are uploaded there automatically.


---
