---
title: 0110.be
canonical: https://0110.be/?page=5
markdown_url: https://0110.be/index.md?page=5
page: 5
posts_per_page: 30
total_posts: 215
filters:
  content_page: _home_page
  tags:
  - HoGent
  - UGent
previous: https://0110.be/index.md?page=4
next: https://0110.be/index.md?page=6
---

## [ICMC 2012 - Sound to Scale to Sound, a Setup for Microtonal Exploration and Composition](https://0110.be/posts/ICMC_2012_-_Sound_to_Scale_to_Sound%2C_a_Setup_for_Microtonal_Exploration_and_Composition.md)

- Published: 2012-08-31T00:00:00Z
- Updated: 2014-02-13T10:53:56Z
- Author: Joren
- ID: 369
- Canonical: https://0110.be/posts/ICMC_2012_-_Sound_to_Scale_to_Sound%2C_a_Setup_for_Microtonal_Exploration_and_Composition

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md), [Presentation](https://0110.be/tags/Presentation.md), [Tarsos](https://0110.be/tags/Tarsos.md), [featured](https://0110.be/tags/featured.md)

<img src="https://0110.be/files/attachments/369/ICMC_Logo.png" width="120px" alt="Logo Universiteit Utrecht" style="float:right">At this years ICMC Conference, [ICMC 2012](http://www.icmc2012.si/) we presented a paper describing a way to experiment with tone scales and how to use Tarsos as a compositional tool. What follows are some pointers to the presentation, paper and to other interesting talks that were presented there.

ICMC 2012 was organized in Ljubljana from the 9 to 14 septembre and had a very dense program of talks, posters, presentations, demos and concerts.

<blockquote>
Since 1974 the International Computer Music Conference has been the major international forum for the presentation of the full range of outcomes from technical and musical research, both musical and theoretical, related to the use of computers in music. This annual conference regularly travels the globe, with recent conferences in the Americas, Europe and Asia. This year we welcome the conference to Slovenia for the first time.

</blockquote>
### Sound to Scale to Sound, a Setup for Microtonal Exploration and Composition

Our contribution to the conference was a paper titled "Sound to Scale to Sound, a Setup for Microtonal Exploration and Composition":\[icmc2012_submission_45.pdf\].

If you want to cite our work, this BibTeX entry is included for your convenience:

\`\`\`ruby\
\@inproceedings{cornelis2012sound_to_scale,\
author = {Olmo Cornelis and Joren Six},\
title = {{Sound to Scale to Sound, a Setup for Microtonal Exploration and Composition}},\
booktitle = {{Proceedings of the 2012 International Computer Music Conference,\
(ICMC 2012)}},\
year = {2012},\
publisher = {The International Computer Music Association}\
}\
\`\`\`

### Program highlights

What follows are a number of pointers to my personal program highlights.

Verena Thomas presented two very well polished software tools. One to detect patterns in scores, called motifviewer and a tool to search in score databases in a multi-modal way. The [Probado tool](http://probado.iai.uni-bonn.de:8080/) does score-to-audio alignment and much more.

[Gibber](http://www.charlie-roberts.com/gibber/) is an impressive live-coding environment with an easy syntax. Since it is all done with javascript you can start playing with it immediately. [Overtone](http://overtone.github.com/) Another live-coding environment, presented at the conference by Sam Aaron, was equally impressive. It is programmed using the Closure language.

At ICMC there were a number of tools to assist in composition. One of those is [The Bach Project](http://www.bachproject.net/bach/home_page.html), by Andrea Agostini. Togheter with CatART by Diemo Swartz it forms a very expressive platform to work with sound, which was demonstrated by Aaron Einbond and Christopher Trapani in their paper titled *Precise Pitch Control In Real Time Corpus-Based Concatenative Synthesis*. Diemo Swartz presented work on Audio Mosaicing, it can be seen as a follow-up to [AuidioGuild](http://crca.ucsd.edu/~ben/audioGuide/) by Ben Hackbarth.

I also got to know the work by [Thomas Grill](http://grrrr.org), on his website a nice piece of software can be found a Python implementation of the [Non Stationary Gabor Transform (NSGT)](http://grrrr.org/research/software/nsgt/). Another software system I got to know is the functional signal processing programming language [FAUST](http://en.wikipedia.org/wiki/FAUST_(programming_language))

My personal highlights of the concert programme include the works by Johannes Kreidler, Aura Pon, Daniel Mayer, Alexander Schubert and the remarkable performance by Dexter Ford. The concept behind Soundlog by Johannes Kretz was also interesting.


- [ICMC\_Logo.png](https://0110.be/files/attachments/369/ICMC_Logo.png)

- [2012.09.08-Sound\_to\_Scale\_to\_Sound\_\_a\_Setup\_for\_Microtonal\_Exploration\_and\_Composition.odp](https://0110.be/files/attachments/369/2012.09.08-Sound_to_Scale_to_Sound__a_Setup_for_Microtonal_Exploration_and_Composition.odp)

- [icmc2012\_submission\_45.pdf](https://0110.be/files/attachments/369/icmc2012_submission_45.pdf)

---

## [CIM 2012 - Revealing and Listening to Scales From the Past; Tone Scale Analysis of Archived Central-African Music Using Computational Means](https://0110.be/posts/CIM_2012_-_Revealing_and_Listening_to_Scales_From_the_Past%3B_Tone_Scale_Analysis_of_Archived_Central-African_Music_Using_Computational_Means.md)

- Published: 2012-08-31T00:00:00Z
- Updated: 2014-02-13T10:58:38Z
- Author: Joren
- ID: 351
- Canonical: https://0110.be/posts/CIM_2012_-_Revealing_and_Listening_to_Scales_From_the_Past%3B_Tone_Scale_Analysis_of_Archived_Central-African_Music_Using_Computational_Means

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

<img src="https://0110.be/files/attachments/351/Forkeljpg.jpg" width="120px" alt="Logo Universiteit Utrecht" style="float:right">What follows is about the [Conference on Interdisciplinary Musicology (CIM2012)](http://gfm2012.uni-goettingen.de/cim12/CIM12/Home.html) and the [15th international Conference of the Gesellschaft fur Musikfoschung](http://gfm2012.uni-goettingen.de/GfM2012/Home.html). First this text will give information about our contribution to CIM2012: *Revealing and Listening to Scales From the Past; Tone Scale Analysis of Archived Central-African Music Using Computational Means* and then a number of highlights of the conference follow. The joint conference took place from the 4th to the 8th of september 2012.

<blockquote>
In 2012, CIM will tackle the subject of History. Hosted by the University of Göttingen, whose one time music director Johann Nikolaus Forkel is widely regarded as one of the founders of modern music historiography, CIM12 aims to promote collaborations that provoke and explore new methods and methodologies for establishing, evaluating, preserving and communicating knowledge of music and musical practices of past societies and the factors implicated in both the preservation and transformation of such practices over time.

</blockquote>
### Revealing and Listening to Scales From the Past; Tone Scale Analysis of Archived Central-African Music Using Computational Means

Our contribution ton CIM 2012 is titled "Revealing and Listening to Scales From the Past; Tone Scale Analysis of Archived Central-African Music Using Computational Means":\[CIM12_Submission.pdf\]. The aim was to show how tone scales of the past, e.g. organ tuning, can be extracted and sonified. During the demo special attention was given to historic Central African tuning systems. The presentation I gave is included below and or available for "download":\[2012.09.05-Revealing_and_listening_to_scales_from_the_past\_\_tone_scale_analysis_of_archived_Central-African_music_using_computational_means..ppt\]

### Highlights

What follows are some personal highlights for the [Conference on Interdisciplinary Musicology (CIM2012)](http://gfm2012.uni-goettingen.de/cim12/CIM12/Home.html) and the [15th international Conference of the Gesellschaft fur Musikfoschung](http://gfm2012.uni-goettingen.de/GfM2012/Home.html). The joint conference took place from the 4th to the 8th of september 2012.

The work presented by Rytis Ambrazevicius et al. *Modal changes in traditional Lithuanian singing: Diachronic aspect* has a lot in common with our research, it was interesting to see their approach. Another highlight of the conference was the whole session organized by Klaus-Peter Brenner around Mbira music.

Rainer Polak gave a talk titled *'Swing, Groove and Metre. Asymmetric Feels, Metric Ambiguity and Metric Transformation in African Musics'*. He showed how research about rhythm in jazz research, music theory and empirical musicology ( amongst others) could be bridged and applied to ethnic music.

The overview Eleanore Selfridge-Field gave during her talk *Between an Analogue Past and a Digital Future: The Evolving Digital Present* was refreshing. She had a really clear view on all the different ways musicology and digital media can benifit from each-other.

From the concert programme I found two especially interesting: the lecture-performance by Margarete Maierhofer-Lischka and Frauke Aulbert of [*Lotofagos*](http://www.youtube.com/watch?v=tYD30v0PgoI), a piece by Beat Furrer and *Burdocks* composed and performed by Christian Wolff and a bunch of enthusiastic students.


- [Forkeljpg.jpg](https://0110.be/files/attachments/351/Forkeljpg.jpg)

- [CIM12\_Submission.pdf](https://0110.be/files/attachments/351/CIM12_Submission.pdf)

- [2012.09.05-Revealing\_and\_listening\_to\_scales\_from\_the\_past\_\_tone\_scale\_analysis\_of\_archived\_Central-African\_music\_using\_computational\_means..ppt](https://0110.be/files/attachments/351/2012.09.05-Revealing_and_listening_to_scales_from_the_past__tone_scale_analysis_of_archived_Central-African_music_using_computational_means..ppt)

---

## [Analytical Approaches To World Music - Microtonal Scale Exploration in Central Africa](https://0110.be/posts/Analytical_Approaches_To_World_Music_-_Microtonal_Scale_Exploration_in_Central_Africa.md)

- Published: 2012-06-06T06:54:04Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 342
- Canonical: https://0110.be/posts/Analytical_Approaches_To_World_Music_-_Microtonal_Scale_Exploration_in_Central_Africa

- 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), [Presentation](https://0110.be/tags/Presentation.md), [Tarsos](https://0110.be/tags/Tarsos.md), [featured](https://0110.be/tags/featured.md)

At the 2012 [AAWM (Analytical Approaches To World Music)](http://www.aawmconference.com/aawm2012/papers.htm) conference we presented a way to explore tone scales in the music of Central Africa. Since the audience consisted of (ethno)musicologists, the main focus of the presentation was on the applicication part, the technical aspects were only briefly mentioned.

The extended abstract can be consulted: [Towards the tangible: microtonal scale exploration in Central-African music](http://www.aawmconference.com/aawm2012/papers/cornelis_p.pdf)

The conference program itself was very diverse and interesting.


- [2012.05.11-Towards\_the\_Tangible\_-\_Microtonal\_Scale\_Exploration\_in\_Central-African\_Music.odp](https://0110.be/files/attachments/342/2012.05.11-Towards_the_Tangible_-_Microtonal_Scale_Exploration_in_Central-African_Music.odp)

- [AAWM\_abstract\_short.doc](https://0110.be/files/attachments/342/AAWM_abstract_short.doc)

---

## [TarsosDSP Release 1.2](https://0110.be/posts/TarsosDSP_Release_1.2.md)

- Published: 2012-06-05T13:26:22Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 336
- Canonical: https://0110.be/posts/TarsosDSP_Release_1.2

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

Today a new version of the TarsosDSP library was released. TarsosDSP is a small library to do audio processing in Java. It features two new pitch detectors. An AMDF (Average Magnitude Difference Function) pitch detector, contributed by [Eder Souza](http://ederwander.wordpress.com/) of Brazil and a faster implementation of YIN kindly provided by [Matthias Mauch](http://matthiasmauch.net/) of Queen Mary University, London.

<div align="center">
[![Pitch Detector in Java](https://0110.be/files/attachments/336/PitchDetector.png "Pitch Detector in Java")](https://0110.be/releases/TarsosDSP/TarsosDSP-1.2/TarsosDSP-1.2-Examples/PitchDetector-1.2.jar)

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


- [PitchDetector.png](https://0110.be/files/attachments/336/PitchDetector.png)

---

## [Guest Lecture at MIT - Ethnic Music Analysis:  Challenges & Opportunities - Tarsos as a Case Study](https://0110.be/posts/Guest_Lecture_at_MIT_-_Ethnic_Music_Analysis%3A__Challenges_%26_Opportunities_-_Tarsos_as_a_Case_Study.md)

- Published: 2012-05-07T00:00:00Z
- Updated: 2014-02-13T10:56:44Z
- Author: Joren
- ID: 362
- Canonical: https://0110.be/posts/Guest_Lecture_at_MIT_-_Ethnic_Music_Analysis%3A__Challenges_%26_Opportunities_-_Tarsos_as_a_Case_Study

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Presentation](https://0110.be/tags/Presentation.md)

Thursday the 3th of May I gave a guest lecture titled 'Ethnic Music Analysis: Challenges & Opportunities' it featured Tarsos as a Case Study. The goal was to identify the difficulties when dealing with ethnic music and to show a possible approach, the approach implemented by Tarsos.

The invitation to give the guest lecture came from [Michael Cuthbert](http://web.mit.edu/music/facstaff/cuthbert.html) who is one of the driving forces behind [music21](http://mit.edu/music21/). The audience was a small group of double majors in both musicology and computer science: the ideal profile to gather useful feedback.


- [2012.05.03-Ethnic\_Music\_Analysis.pdf](https://0110.be/files/attachments/362/2012.05.03-Ethnic_Music_Analysis.pdf)

- [2012.05.03-Ethnic\_Music\_Analysis.odp](https://0110.be/files/attachments/362/2012.05.03-Ethnic_Music_Analysis.odp)

---

## [TarsosDSP Release 1.0](https://0110.be/posts/TarsosDSP_Release_1.0.md)

- Published: 2012-04-24T14:25:32Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 352
- Canonical: https://0110.be/posts/TarsosDSP_Release_1.0

- Tags: [Code](https://0110.be/tags/Code.md), [Command Line Application](https://0110.be/tags/Command%20Line%20Application.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), [TarsosDSP](https://0110.be/tags/TarsosDSP.md), [WSOLA](https://0110.be/tags/WSOLA.md), [featured](https://0110.be/tags/featured.md)

After about a year of development and several revisions TarsosDSP has enough features and is stable enough to slap the 1.0 tag onto it. A 'read me', manual, API documentation, source and binaries can be found on the [TarsosDSP release directory](http://tarsos.0110.be/releases/TarsosDSP/). The source is present in the\
What follows below is the information that can be found in the read me file:

<p>
TarsosDSP is a collection of classes to do simple audio processing. It features an implementation of a percussion onset detector and two pitch detection algorithms: Yin and the Mcleod Pitch method. Also included is a Goertzel <acronym title="Dual tone multi frequency"><span class="caps">DTMF</span></acronym> decoding algorithm and a time stretch algorithm (<span class="caps">WSOLA</span>).

</p>
<p>
Its aim is to provide a simple interface to some audio (signal) processing algorithms implemented in pure <span class="caps">JAVA</span>. Some <a href="http://tarsos.0110.be/tag/TarsosDSP">TarsosDSP example applications</a> are available.

</p>
<p>
The following example filters a band of frequencies of an input file <code>testFile</code>. It keeps the frequencies form <code>startFrequency</code> to <code>stopFrequency</code>.

</p>
    <code>AudioInputStream inputStream = AudioSystem.getAudioInputStream(testFile);
    AudioDispatcher dispatcher = new AudioDispatcher(inputStream,stepSize,overlap);
    dispatcher.addAudioProcessor(new HighPass(startFrequency, sampleRate, overlap));
    dispatcher.addAudioProcessor(new LowPassFS(stopFrequency, sampleRate, overlap));
    dispatcher.addAudioProcessor(new FloatConverter(format));
    dispatcher.addAudioProcessor(new WaveformWriter(format,stepSize, overlap, "filtered.wav"));
    dispatcher.run();
    </code>

<h3>
Quickly Getting Started with TarsosDSP

</h3>
<p>
Head over to the <a href="http://tarsos.0110.be/releases/TarsosDSP/">TarsosDSP release repository</a> and download the latest <a href="http://tarsos.0110.be/releases/TarsosDSP/TarsosDSP-1.0.jar">TarsosDSP library</a>. To get up to speed quickly, check the <a href="http://tarsos.0110.be/releases/TarsosDSP/TarsosDSP-1.0-Examples/">TarsosDSP Example applications</a> for inspiration and consult the <a href="http://tarsos.0110.be/releases/TarsosDSP/TarsosDSP-1.0-Documentation/"><span class="caps">API</span> documentation</a>. If you, for some reason, want to build from source, you need <a href="http://ant.apache.org/">Apache Ant</a> and <a href="http://git-scm.com/">git</a> installed on your system. The following commands fetch the source and build the library and example jars: <br />

    <code>git clone https://JorenSix@github.com/JorenSix/TarsosDSP.git
    cd TarsosDSP/build
    ant tarsos_dsp_library #Builds the core TarsosDSP library
    ant build_examples #Builds all the TarsosDSP examples
    ant javadoc #Creates the documentation in TarsosDSP/doc
    </code>

<br />\
When everything runs correctly you should be able to run all example applications and have the latest version of the TarsosDSP library for inclusion in your projects. Also the Javadoc documentation for the <span class="caps">API</span> should be available in TarsosDSP/doc. Drop me a line if you use TarsosDSP in your project. Always nice to hear how this software is used.

</p>
<h3>
Source Code Organization and Examples of TarsosDSP

</h3>
<p>
The source tree is divided in three directories:

</p>
<ul>
<li>
<code>src</code> contains the source files of the core <span class="caps">DSP</span> libraries.

</li>
<li>
<code>test</code> contains unit tests for some of the <span class="caps">DSP</span> functionality.

</li>
<li>
<code>build</code> contains <span class="caps">ANT</span> build files. Either to build Java documentation or runnable <span class="caps">JAR</span>-files for the example applications.

</li>
<li>
<code>examples</code> contains a couple of example applications with a Java Swing user interface:

<ul>
<li>
<a href="http://tarsos.0110.be/artikels/lees/TarsosDSP%253A_a_small_JAVA_audio_processing_library">SoundDetector</a> show how you loudness calculations can be done. When input sound is over a defined limit an event is fired.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/TarsosDSP%253A_a_small_JAVA_audio_processing_library">PitchDetector</a> this demo application shows real-time pitch detection. When pitch is detected the hertz value is printed together with a probability.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/TarsosDSP%253A_a_small_JAVA_audio_processing_library">PercussionDetector</a> show the percussion (onset) dectection. Clapping your hands causes an event. This demo application also shows the influence of the two parameters on the algorithm.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/TarsosDSP_sample_application%253A_Utter_Asterisk">UtterAsterisk</a> a game with the goal to sing as close to a melody a possible. Technically it shows real-time pitch detection with <span class="caps">YIN</span> or <span class="caps">MPM</span>.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/Spectrogram_in_Java_with_TarsosDSP">Spectrogram in Java</a> shows a spectrogram and detected pitch, either live or from an audio file. It is interesting to see which frequencies are picked as fundamentals.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/Dual-Tone_Multi-Frequency_%2528DTMF%2529_Decoding_with_the_Goertzel_Algorithm_in_Java">Goertzel <acronym title="Dual tone multi frequency"><span class="caps">DTMF</span></acronym> decoding</a> an implementation of the Goertzel Algorithm. A fancy user interface shows what goes on under the hood.

</li>
<li>
<a href="http://tarsos.0110.be/artikels/lees/Audio_Time_Stretching_-_Implementation_in_Pure_Java_Using_WSOLA">Audio Time Stretching -- Implementation in Pure Java Using <span class="caps">WSOLA</span></a> an implementation of a time stretching algorithm. <acronym title="Waveform Similarity Overlap Add"><span class="caps">WSOLA</span></acronym> makes it possible to change the play back speed of audio without changing the pitch. The play back speed can be changed at any moment, even when there is audio playing.

</li>
</ul>
</li>
</ul>


---

## [Oscilloscope in TarsosDSP](https://0110.be/posts/Oscilloscope_in_TarsosDSP.md)

- Published: 2012-03-09T15:21:30Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 330
- Canonical: https://0110.be/posts/Oscilloscope_in_TarsosDSP

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

The DSP library for Taros, aptly named TarsosDSP, now includes an implementation of an oscilloscope.

<div align="center">
"![Oscilloscope in Java](https://0110.be/files/attachments/330/oscilloscope.png "Oscilloscope in Java")":\[OscilloscopeExample.jar\]

</div>
The source code of the Java implementation can be found on the [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP/). That is all.


---

## [Dan Ellis' Robust Landmark-Based Audio Fingerprinting - With Octave](https://0110.be/posts/Dan_Ellis%27_Robust_Landmark-Based_Audio_Fingerprinting_-_With_Octave.md)

- Published: 2012-03-08T00:00:00Z
- Updated: 2014-01-09T14:50:12Z
- Author: Joren
- ID: 337
- Canonical: https://0110.be/posts/Dan_Ellis%27_Robust_Landmark-Based_Audio_Fingerprinting_-_With_Octave

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

This blog post documents how to get the Matlab implementation by Dan Ellis of Avery Wangs [Industrial-Strength Audio Search Algorithm](http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf) running with [GNU Octave](http://en.wikipedia.org/wiki/GNU_Octave) on Ubuntu (and similar Linux distributions).

The Dan Ellis implementation is nicely documented here: [Robust Landmark-Based Audio Fingerprinting](http://labrosa.ee.columbia.edu/matlab/fingerprint/) . To download, get info about and decode mp3's some external binaries are needed:

\`\`\`bash\
#install octave if needed\
sudo apt-get install octave3.2\
#Install the required dependencies for the script\
sudo apt-get install mp3info curl

#mpg123 is not present as a package, install from source:\
wget http://www.mpg123.de/download/mpg123-1.13.5.tar.bz2\
tar xvvf mpg123-1.13.5.tar.bz2\
cd mpg123-1.13.5/\
./configure\
make\
sudo make install\
\`\`\`

In `mp3read.m` the following code was changed (line 111 and 112):

\`\`\`matlab\
mpg123 = 'mpg123'; % was fullfile(path,\['mpg123.',ext\]);\
mp3info = 'mp3info'; % was fullfile(path,\['mp3info.',ext\]);\
\`\`\`

Then, the demo program runs flawlessly when executing `octave -q demo_fingerprint.m`.

Running the demo with the original code with GNU Octave, version 3.2.3 takes 152 seconds on a PC with a Q9650 @ 3GHz processor. A small tweak can make it run almost 8 times faster. When working with larger data sets (10k audio files) this makes a big difference. I do not know why but storing a hash in the large hash table was really slow (0.5s per hash, with 900 hashes per song...). Caching the hashes and adding them all at once makes it faster (at least in Octave, YMMV). The optimized version of "record_hashes.m":\[record_hashes.m.txt\] can be found attached. With this alteration the same demo ran in 20s. When caching the data locally the difference is 11.5s to 141s or 12 times faster. The code with all the changes can be found here: "Robust Landmark-Based Audio Fingerprinting - optimized for Octave 3.2":\[fingerprint_fast.zip\]. Please note again that the implementation is done by Dan Ellis (2009) ( available on [Robust Landmark-Based Audio Fingerprinting](http://labrosa.ee.columbia.edu/matlab/fingerprint/)) and I did only some small tweaks.


- [record\_hashes.m.txt](https://0110.be/files/attachments/337/record_hashes.m.txt)

- [fingerprint\_fast.zip](https://0110.be/files/attachments/337/fingerprint_fast.zip)

---

## [Harmony and Variation in Music Information Retrieval](https://0110.be/posts/Harmony_and_Variation_in_Music_Information_Retrieval.md)

- Published: 2012-03-02T14:36:00Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 401
- Canonical: https://0110.be/posts/Harmony_and_Variation_in_Music_Information_Retrieval

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md)

<img src="https://0110.be/files/attachments/401/UUlogo.gif" alt="Logo Universiteit Utrecht" style="float:right;margin-left:-150px;margin-right:-80px">The 29th of February 2012 there was a symposium on Music Information Retreival in Utrecht. It was organized on the occasion of Bas de Haas' PhD defense. The title of the study day was [Harmony and variation in music information retrieval](http://research.cs.uu.nl/index.php/events/symposium-harmony-variation-in-mir).

During the talk by Xavier Serra rasikas.org was mentioned a forum with [discussions about Carnatic Music](http://rasikas.org). Since I could find a couple of discussions about pitch use on that forum I [plugged Tarsos](http://www.rasikas.org/forum/viewtopic.php?f=9&t=18763) there to see if I could gather some feedback.


---

## [Echo or Delay Audio Effect in Java With TarsosDSP](https://0110.be/posts/Echo_or_Delay_Audio_Effect_in_Java_With_TarsosDSP.md)

- Published: 2012-02-23T15:33:11Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 398
- Canonical: https://0110.be/posts/Echo_or_Delay_Audio_Effect_in_Java_With_TarsosDSP

- Tags: [Code](https://0110.be/tags/Code.md), [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 implementation of an audio echo effect. An echo effect is very simple to implement digitally and can serve as a good example of a DSP operation.

<div align="center">
"![Echo or delay effect in Java](https://0110.be/files/attachments/398/echo_or_delay_effect.png "Echo or delay effect in Java")":\[Delay.jar\]

</div>
The implementation of the effect can be seen below. As can be seen, to achieve an echo one simply needs to mix the current sample `i` with a delayed sample present in `echoBuffer` with a certain decay factor. The length of the buffer and the decay are the defining parameters for the sound of the echo. To fill the echo buffer the current sample is stored (line 4). Looping through the echo buffer is done by incrementing the position pointer and resetting it at the correct time (lines 6-9).

\`\`\`java\
//output is the input added with the decayed echo\
audioFloatBuffer\[i\] = audioFloatBuffer\[i\] + echoBuffer\[position\] \* decay;\
//store the sample in the buffer;\
echoBuffer\[position\] = audioFloatBuffer\[i\];\
//increment the echo buffer position\
position;\
//loop in the echo buffer\
if(position == echoBuffer.length)\
position = 0;\
\`\`\`

To test the application, download and execute the "Delay.jar":\[Delay.jar\] file and start singing in a microphone.

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


![](https://0110.be/files/photos/398/echo_or_delay_effect.png)

- [Delay.jar](https://0110.be/files/attachments/398/Delay.jar)

- [echo\_or\_delay\_effect.png](https://0110.be/files/attachments/398/echo_or_delay_effect.png)

---

## [Spectrogram in Java with TarsosDSP](https://0110.be/posts/Spectrogram_in_Java_with_TarsosDSP.md)

- Published: 2012-02-14T14:31:04Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 384
- Canonical: https://0110.be/posts/Spectrogram_in_Java_with_TarsosDSP

- Tags: [Code](https://0110.be/tags/Code.md), [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md), [TarsosDSP](https://0110.be/tags/TarsosDSP.md)

This is post presents a better version of the [spectrogram implementation](https://0110.be/artikels/lees/Tarsos_Spectrogram). Now it is included as an example in TarsosDSP, a small java audio processing library. The application show a live spectrogram, calculated using an FFT and the detected fundamental frequency (in red).

<div align="center">
<a href="https://0110.be/files/attachments/384/Spectrogram.jar"><img src="https://0110.be/files/attachments/384/spectrogram.png" alt="Spectrogram and pitch detection in Java"/></a>

</div>
To test the application, download and execute the "Spectrogram.jar":\[Spectrogram.jar\] file and start singing in a microphone.

There is also a command line interface, the following command shows the spectrum for `in.wav`:

<code>\
java -jar Spectrogram.jar in.wav\
</code>

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


![](https://0110.be/files/photos/384/spectrogram.png)

- [Spectrogram.jar](https://0110.be/files/attachments/384/Spectrogram.jar)

- [spectrogram.png](https://0110.be/files/attachments/384/spectrogram.png)

---

## [Démonstration de Tarsos](https://0110.be/posts/D%C3%A9monstration_de_Tarsos.md)

- Published: 2012-02-10T12:58:38Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 376
- Canonical: https://0110.be/posts/D%C3%A9monstration_de_Tarsos

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Tarsos](https://0110.be/tags/Tarsos.md), [français](https://0110.be/tags/fran%C3%A7ais.md)

Nous avons creé une video pour expliquer des possibilités de Tarsos, et maintenant en français.

<center>
<iframe width="550" height="355" src="http://www.youtube.com/embed/zM8fSlh7ZKI" frameborder="0" allowfullscreen>
</iframe>
</center>


---

## [Audio Time Stretching - Implementation in Pure Java Using WSOLA](https://0110.be/posts/Audio_Time_Stretching_-_Implementation_in_Pure_Java_Using_WSOLA.md)

- Published: 2012-02-06T14:52:34Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 372
- Canonical: https://0110.be/posts/Audio_Time_Stretching_-_Implementation_in_Pure_Java_Using_WSOLA

- Tags: [HoGent](https://0110.be/tags/HoGent.md), [Java](https://0110.be/tags/Java.md), [Tarsos](https://0110.be/tags/Tarsos.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 time stretching algorithm. The goal of time stretching is to change the duration of a piece of audio without affecting the pitch. The algorithm implemented is described in [An Overlap-add Technique Based On Waveform Similarity (WSOLA) for High Quality Time-Scale Modification of Speech](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.202.5460&rep=rep1&type=pdf).

<div align="center">
<a href="https://0110.be/files/attachments/372/TimeStretch.jar"><img src="https://0110.be/files/attachments/372/time_stretching_in_java.png" alt="Time Stretching (WSOLA) in Java"/></a>

</div>
To test the application, download and execute the "WSOLA jar":\[TimeStretch.jar\] file and load an audio file. For the moment only 44.1kHz mono wav is allowed. To get started you can try "this piece of audio":\[08.\_Ladrang_Kandamanyura_10s-20s.wav\].

There is also a command line interface, the following command doubles the speed of `in.wav`:

<code>\
java -jar TimeStretch.jar in.wav out.wav 2.0\
</code>

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

    ----------------------------------------------------
    Name:
        TarsosDSP Time stretch utility.
    ----------------------------------------------------
    Synopsis:
        java -jar TimeStretch.jar source.wav target.wav factor
    ----------------------------------------------------
    Description:
        Change the play back speed of audio without changing the pitch.

            source.wav  A readable, mono wav file.
            target.wav  Target location for the time stretched file.
            factor      Time stretching factor: 2.0 means double the length, 0.5 half. 1.0 is no change.

The source code of the Java implementation of WSOLA can be found on the [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP/blob/master/src/be/hogent/tarsos/dsp/filters/WaveformSimilarityBasedOverlapAdd.java).


- [time\_stretching\_in\_java.png](https://0110.be/files/attachments/372/time_stretching_in_java.png)

- [08.\_Ladrang\_Kandamanyura\_10s-20s.wav](https://0110.be/files/attachments/372/08._Ladrang_Kandamanyura_10s-20s.wav)

- [TimeStretch.jar](https://0110.be/files/attachments/372/TimeStretch.jar)

---

## [Tarsos CLI:  Detect Pitch](https://0110.be/posts/Tarsos_CLI%3A__Detect_Pitch.md)

- Published: 2012-02-03T15:00:06Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 390
- Canonical: https://0110.be/posts/Tarsos_CLI%3A__Detect_Pitch

- Tags: [Code](https://0110.be/tags/Code.md), [Command Line Application](https://0110.be/tags/Command%20Line%20Application.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)

<img src="http://tarsos.0110.be/attachment/cons/210/tarsos_logo_small.png"  alt="Tarsos Logo" style="float:right;margin-left:5px;"/>Tarsos contains a couple of useful command line applications. They can be used to execute common tasks on lots of files. [Dowload Tarsos](http://tarsos.0110.be/attachment/tarsos.jar) and call the applications using the following format:

`java -jar tarsos.jar command [argument...] [--option [value]...]`

The first part `java -jar tarsos.jar` tells the Java Runtime to start the correct application. The first argument for Tarsos defines the command line application to execute. Depending on the command, required arguments and options can follow.

`java -jar tarsos.jar detect_pitch in.wav --detector TARSOS_YIN`

To get a list of available commands, type `java -jar tarsos.jar -h`. If you want more information about a command type `java -jar tarsos.jar command -h`

## Detect Pitch

Detects pitch for one or more input audio files using a pitch detector. If a directory is given it traverses the directory *recursively*. It writes CSV data to standard out with five columns. The first is the start of the analyzed window (seconds), the second the estimated pitch, the third the saillence of the pitch. The name of the algorithm follows and the last column shows the original filename.

    Synopsis
    --------
    java -jar tarsos.jar detect_pitch [option] input_file...

    Option                                  Description                            
    ------                                  -----------                            
    -?, -h, --help                          Show help                              
    --detector <PitchDetectionMode>         The detector to use [VAMP_YIN |        
                                              VAMP_YIN_FFT |                       
                                              VAMP_FAST_HARMONIC_COMB |            
                                              VAMP_MAZURKA_PITCH | VAMP_SCHMITT |  
                                              VAMP_SPECTRAL_COMB |                 
                                              VAMP_CONSTANT_Q_200 |                
                                              VAMP_CONSTANT_Q_400 | IPEM_SIX |     
                                              IPEM_ONE | TARSOS_YIN |              
                                              TARSOS_FAST_YIN | TARSOS_MPM |       
                                              TARSOS_FAST_MPM | ] (default:        
                                              TARSOS_YIN) 

The output of the command looks like this:

    Start(s),Frequency(Hz),Probability,Source,file
    0.52245,366.77039,0.92974,TARSOS_YIN,in.wav
    0.54567,372.13873,0.93553,TARSOS_YIN,in.wav
    0.55728,375.10638,0.95261,TARSOS_YIN,in.wav
    0.56889,380.24854,0.94275,TARSOS_YIN,in.wav


---

## [A Robust Audio Fingerprinter Based on Pitch Class Histograms - Applications for Ethnic Music Archives](https://0110.be/posts/A_Robust_Audio_Fingerprinter_Based_on_Pitch_Class_Histograms_-_Applications_for_Ethnic_Music_Archives.md)

- Published: 2012-01-17T10:30:02Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 353
- Canonical: https://0110.be/posts/A_Robust_Audio_Fingerprinter_Based_on_Pitch_Class_Histograms_-_Applications_for_Ethnic_Music_Archives

- Tags: [Folk Music Analysis (FMA) conference](https://0110.be/tags/Folk%20Music%20Analysis%20%28FMA%29%20conference.md), [HoGent](https://0110.be/tags/HoGent.md)

For the [Folk Music Analyisis (FMA) 2012](http://congreso.us.es/infla3/en/) conference we (Olmo Cornelis and myself), wrote a paper presenting a new acoustic fingerprint scheme based on pitch class histograms.

The aim of acoustic fingerprinting is to generate a small representation of an audio signal that can be used to identify or recognize similar audio samples in a large audio set. A robust fingerprint generates similar fingerprints for perceptually similar audio signals. A piece of music with a bit of noise added should generate an almost identical fingerprint as the original. The use cases for audio fingerprinting or acoustic fingerprinting are myriad: detection of duplicates, identifying songs, recognizing copyrighted material,...

Using a pitch class histogram as a fingerprint seems like a good idea: it is unique for a song and it is reasonably robust to changes of the underlying audio (length, tempo, pitch, noise). The idea has probably been found a couple of times independently, but there is also a reference to it in the literature, by Tzanetakis, 2003: [Pitch Histograms in Audio and Symbolic Music Information Retrieval](http://marsyas.info/pdfs/0000/0008/jnmr03gtzan.pdf):

> Although mainly designed for genre classification it is possible that features derived from Pitch Histograms might also be applicable to the problem of content-based audio identification or audio fingerprinting (for an example of such a system see (Allamanche et al., 2001)). We are planning to explore this possibility in the future.

Unfortunately they never, as far as I know, did explore this possibility, and I also do not know if anybody else did. I found it worthwhile to implement a fingerprinting scheme on top of the Tarsos software foundation. Most elements are already available in the Tarsos API: a way to detect pitch, construct a pitch class histogram, correlate pitch class histograms with a pitch shift,... I created a GUI application which is presented here. It is, probably, acoustic / "audio fingerprinting system based on pitch class histograms":\[fingerprinter.jar\].

<center>
<a href="https://0110.be/files/attachments/353/fingerprinter.jar" title="Audio fingerprinter based on pitch class histograms"><img src="http://tarsos.0110.be/photo/cache/x360-6da51.fingerprinter.png?1327066892" alt="Audio fingerprinter based on pitch class histograms"></a>

</center>
It works using drag and drop and the idea is to find a needle (an audio file) in a hay stack (a large amount of audio files). For every audio file in the haystack and for the needle pitch is detected using an optimized, for speed, MPM implementation. A pitch class histogram is created for each file, the histogram for the needle is compared with each histogram in the hay stack and, hopefully, the needle is found in the hay stack.

An experiment was done on the audio collection of [the museum for Central Africa](http://www.africamuseum.be/). A test dataset was generated using [SoX](http://sox.sf.net) with the following "Ruby script":\[audio_fingerprinting_dataset_generator.rb.txt\]. The "raw results":\[fingerprinting_results.txt\] were parsed with another "Ruby script":\[fingerprinting_results_parser.rb.txt\]. With the data "a spreadsheet with the results":\[fingerprinting_on_dekkmma_results.ods\] was created (OpenOffice.org format). Those results are mentioned in the paper.

You can try the system yourself by "downloading the fingerprinter":\[fingerprinter.jar\].


![Drag and drop UI](https://0110.be/files/photos/353/fingerprinter.png)

- [fingerprinting\_results.txt](https://0110.be/files/attachments/353/fingerprinting_results.txt)

- [fingerprinting\_results\_parser.rb.txt](https://0110.be/files/attachments/353/fingerprinting_results_parser.rb.txt)

- [audio\_fingerprinting\_dataset\_generator.rb.txt](https://0110.be/files/attachments/353/audio_fingerprinting_dataset_generator.rb.txt)

- [fingerprinter.jar](https://0110.be/files/attachments/353/fingerprinter.jar)

- [fingerprinting\_on\_dekkmma\_results.ods](https://0110.be/files/attachments/353/fingerprinting_on_dekkmma_results.ods)

- [2012.03.02.fingerprinter.submitted.pdf](https://0110.be/files/attachments/353/2012.03.02.fingerprinter.submitted.pdf)

---

## [Pitch, Pitch Interval, and Pitch Ratio Representation](https://0110.be/posts/Pitch%2C_Pitch_Interval%2C_and_Pitch_Ratio_Representation.md)

- Published: 2011-12-21T13:42:05Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 354
- Canonical: https://0110.be/posts/Pitch%2C_Pitch_Interval%2C_and_Pitch_Ratio_Representation

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

To prevent confusion about pitch representation in general and pitch representation in Tarsos specifically I wrote a "document about pitch, pitch Interval, and pitch ratio representation":\[pitch_representation.pdf\]. The abstract goes as follows:

<blockquote>
This document describes how pitch can be represented using various units. More specifically it documents how a software program to analyse pitch in music, Tarsos, represents pitch. This document contains definitions of and remarks on different pitch and pitch interval representations. For good measure we need a definition of pitch, here the definition from \[McLeod 2009\] is used: *The pitch frequency is the frequency of a pure sine wave which has the same perceived sound as the sound of interest.* For remarks and examples of cases where the pitch frequency does not coincide with the fundamental frequency of the signal, also see \[McLeod 2009\] . In this text pitch, pitch interval and pitch ratio are briefly discussed.

</blockquote>
<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Ftarsos.0110.be%2Fattachment%2Fcons%2F327%2Fpitch_representation.pdf&embedded=true" width="600" height="780" style="border: none;">
</iframe>


- [pitch\_representation.pdf](https://0110.be/files/attachments/354/pitch_representation.pdf)

---

## [TarsosDSP sample application: Utter Asterisk](https://0110.be/posts/TarsosDSP_sample_application%3A_Utter_Asterisk.md)

- Published: 2011-12-15T14:30:42Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 404
- Canonical: https://0110.be/posts/TarsosDSP_sample_application%3A_Utter_Asterisk

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

<a href="https://0110.be/files/attachments/404/UtterAsterisk.jar" title="Download Utter Asterisk"><img src="https://0110.be/photo/cons/250/utter_asterisk.png" alt="Uttter Asterisk" style="float:right" width="210"></a>The DSP library of Tarsos, aptly named TarsosDSP, contains an implementation of a game that bares some resemblance to SingStar. It is called UtterAsterisk. It is meant to be a technical demonstration showing real-time pitch detection in pure java using a [YIN](http://recherche.ircam.fr/equipes/pcm/cheveign/ps/2002_JASA_YIN_proof.pdf) -implementation.

"Download Utter Asterisk":\[UtterAsterisk.jar\] and try to sing (utter) as close to the melody as possible. The [souce code for Utter Asterisk](https://github.com/JorenSix/TarsosDSP) is available on github.


![](https://0110.be/files/photos/404/utter_asterisk.png)

- [UtterAsterisk.jar](https://0110.be/files/attachments/404/UtterAsterisk.jar)

---

## [TarsosDSP used in jAM - Java Automatic Music Transcription](https://0110.be/posts/TarsosDSP_used_in_jAM_-_Java_Automatic_Music_Transcription.md)

- Published: 2011-12-12T09:13:14Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 399
- Canonical: https://0110.be/posts/TarsosDSP_used_in_jAM_-_Java_Automatic_Music_Transcription

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

<img src="https://0110.be/files/attachments/399/jAMlogo.png" width="40" alt="jAM logo" style="float:right">TarsosDSP, a small Java DSP library, has been used in a bachelor thesis: [Entwicklung eines Systems zur automatischen Notentranskription von monophonischem Audiomaterial](http://saeft.com/jAM/assets/Bachelorarbeit.pdf) by Michael Wager.

The goal of the thesis was to develop an automatic transcription system for monophonic music. You can download the latest version of [jAM - Java Automatic Music Transcription](http://saeft.com/jAM/index.php/index/download).

If you want to use TarsosDSP, please consult the [TarsosDSP page on github](https://github.com/JorenSix/TarsosDSP) or read [more about TarsosDSP](https://0110.be/tag/TarsosDSP) here.


---

## [Kinderuniversiteit - Muziek onder de microscoop!](https://0110.be/posts/Kinderuniversiteit_-_Muziek_onder_de_microscoop%21.md)

- Published: 2011-12-12T08:41:21Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 326
- Canonical: https://0110.be/posts/Kinderuniversiteit_-_Muziek_onder_de_microscoop%21

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

Zondag 18 december 2011 gaf ik een workshop voor de [Gentse kinderuniversiteit](http://kinderuniversiteit.be). Het thema van de kinderuniversiteit was [Muziek onder de microscoop](http://www.kinderuniversiteit.be/event/muziek-onder-de-microscoop). De teaser voor de workshop is hier te vinden:

<blockquote>
<img src="https://0110.be/files/attachments/326/logo-with-arrow.png" width="110" alt="Logo kinderuniversiteit" style="float:left"><b>WORKSHOP - Muziek (ont)luisteren op de computer</b>\
Is het mogelijk om piano te spelen op een tafel? Kan een computer luisteren naar muziek en er van genieten? Wat is muziek eigenlijk, en hoe werkt geluid?<br>\
Tijdens deze workshop worden de voorgaande vragen beantwoord met enkele computerprogramma's!

</blockquote>
Concreet worden enkele componenten van geluid (en bij uitbreiding, muziek) gedemonstreerd met computerprogrammaatjes gemaakt in het conservatorium:

-   "Geluidssterkte":\[SoundDetector.jar\]: een decibel-meter met een bepaalde drempelwaarde. Probeer zo luid mogelijk te doen en zie hoe moeilijk het is om, eens een bepaald niveau bereikt is, in decibel te stijgen.

-   "Toonhoogte":\[UtterAsterisk.jar\]: een klein spelletje om toonhoogte aan te tonen. Probeer zo juist mogelijk te zingen of te fluiten en vergelijk je score.

-   "Percussie":\[PercussionDetector.jar\]: dit programma reageert op handgeklap. Hoe kan je het onderscheid maken tussen bijvoorbeeld een fluittoon en handgeklap?

De foto's hieronder geven een sfeerbeeld.


![](https://0110.be/files/photos/326/DSC01069.jpg)

![](https://0110.be/files/photos/326/DSC01067.jpg)

![](https://0110.be/files/photos/326/DSC01053.jpg)

![](https://0110.be/files/photos/326/DSC01064.jpg)

![](https://0110.be/files/photos/326/DSC01072.jpg)

![](https://0110.be/files/photos/326/DSC01068.jpg)

- [logo-with-arrow.png](https://0110.be/files/attachments/326/logo-with-arrow.png)

- [UtterAsterisk.jar](https://0110.be/files/attachments/326/UtterAsterisk.jar)

- [PercussionDetector.jar](https://0110.be/files/attachments/326/PercussionDetector.jar)

- [PitchDetector.jar](https://0110.be/files/attachments/326/PitchDetector.jar)

- [SoundDetector.jar](https://0110.be/files/attachments/326/SoundDetector.jar)

---

## [How To: Generate an Audio Fingerprinting Data Set With Sox Audio Effects](https://0110.be/posts/How_To%3A_Generate_an_Audio_Fingerprinting_Data_Set_With_Sox_Audio_Effects.md)

- Published: 2011-12-07T09:42:13Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 391
- Canonical: https://0110.be/posts/How_To%3A_Generate_an_Audio_Fingerprinting_Data_Set_With_Sox_Audio_Effects

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

A small part of Tarsos has been turned into a [audio fingerprinting application](https://0110.be/artikels/lees/Robust_Audio_Fingerprinting_with_Tarsos_and_Pitch_Class_Histograms). The idea of audio fingerprinting is to create a condensed representation of an audio file. A perceptually similar audio file should generate similar fingerprints. To test how robust a fingerprinting technique is, a data set with audio files that are alike in some way is practical.

[SoX - Sound eXchange](http://sox.sourceforge.net/) is a command line utility for sound processing. It can apply audio effects to a sound. Using these effects and a set of unmodified songs an audio fingerprinting data set can be created. To generate such a data set SoX can be used to:

-   Trim the first x seconds of a file

-   Speed-up or slow-down the audio

-   Change the pitch of a file without modifying the tempo

-   Generate background noise (white noise is used)

-   Reverse the audio stream

\`\`\`ruby\
#Trim the first 10 seconds\
sox input.wav output.wav trim 10

#speed-up of 10%\
sox input.wav output.wav speed 1.10

#change the pitch upwards 100 cents (one semitone)\
#without changing the tempo\
sox input.wav output.wav pitch 100

#generate white noise with the length of input.wav\
sox input.wav noise.wav synth whitenoise\
#mix the white noise with the input to generate noisy output\
#-v defines how loud the white noise is\
sox -m input.wav -v 0.1 noise.wav output.wav

#reverse the audio\
sox input.wav output.wav reverse\
\`\`\`

A ruby script to generate a lot of these files can be found "attached":\[audio_fingerprinting_dataset_generator.rb.txt\].


- [audio\_fingerprinting\_dataset\_generator.rb.txt](https://0110.be/files/attachments/391/audio_fingerprinting_dataset_generator.rb.txt)

---

## [The Power of the Pentatonic Scale](https://0110.be/posts/The_Power_of_the_Pentatonic_Scale.md)

- Published: 2011-12-06T14:05:56Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 387
- Canonical: https://0110.be/posts/The_Power_of_the_Pentatonic_Scale

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Tarsos](https://0110.be/tags/Tarsos.md), [featured](https://0110.be/tags/featured.md)

The following video shows Bobby McFerrin demonstrating the power of the pentatonic scale. It is a fascinating demonstration of how quickly a (western) audience of the World Science Festival 2009 adapts to an unusual tone scale:

<object style="height: 390px; width: 640px">
<param name="movie" value="http://www.youtube.com/v/ne6tB2KiZuk?version=3&feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/ne6tB2KiZuk?version=3&feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>

With Tarsos the scale used in the example can be found. This is the result of a quick analysis: it becomes clear that this, in fact, a pentatonic scale with an unequal octave division. A perfect fifth is present between 255 and 753 cents:

<center>
<img src="https://0110.be/files/attachments/387/scale_bobby.png" alt="A pentatonic scale, demonstrated by Bobby McFerrin"/>

</center>


![The pentatonic scale](https://0110.be/files/photos/387/audio_pitch_class_histogram.png)

![Tarsos analysing a scale](https://0110.be/files/photos/387/tarsos_on_bobby.png)

![The pentatonic scale](https://0110.be/files/photos/387/scale_bobby.png)

- [scale\_bobby.png](https://0110.be/files/attachments/387/scale_bobby.png)

- [audio\_pitch\_class\_histogram.tex](https://0110.be/files/attachments/387/audio_pitch_class_histogram.tex)

- [audio\_pitch\_class\_histogram.pdf](https://0110.be/files/attachments/387/audio_pitch_class_histogram.pdf)

---

## [Software for Music Analysis](https://0110.be/posts/Software_for_Music_Analysis.md)

- Published: 2011-12-02T00:00:00Z
- Updated: 2016-08-22T13:10:11Z
- Author: Joren
- ID: 383
- Canonical: https://0110.be/posts/Software_for_Music_Analysis

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Presentation](https://0110.be/tags/Presentation.md)

Friday the second of December I presented a talk about software for music analysis. The aim was to make clear which type of research topics can benefit from measurements by software for music analysis. Different types of digital music representations and examples of software packages were explained.

<center>
<img width="320px" src="https://0110.be/files/attachments/383/digital_registration_software.png" alt="software for music analysis">

</center>
Following presentation was used during the talk. ("ppt":\[2011.12.02.software_for_music_analysis.ppt\], "odp":\[2011.12.02.software_for_music_analysis.odp\]):

<center>
<iframe src="https://docs.google.com/present/embed?id=dcpqhhws_54dnqq9zgn" frameborder="0" width="410" height="342">
</iframe>
</center>

-   [Sonic Visualizer](http://www.sonicvisualiser.org): As its name suggests Sonic Visualizer contains a lot different visualisations for audio. It can be used for analysis (pitch,beat,chroma,...) with [VAMP-plugins](http://vamp-plugins.org). To quote *"The aim of Sonic Visualiser is to be the first program you reach for when want to study a musical recording rather than simply listen to it"*. It is the swiss army knife of audio analysis.

-   [BeatRoot](http://www.eecs.qmul.ac.uk/~simond/beatroot/) is designed specifically for one goal: beat tracking. It can be used for e.g. comparing tempi of different performances of the same piece or to track tempo deviation within one piece.

-   [Tartini](http://tartini.net) is capable to do real-time pitch analysis of sound. You can e.g. play into a microphone with a violin and see the harmonics you produce and adapt you playing style based on visual feedback. It also contains a pitch deviation measuring apparatus to analyse vibrato.

-   [Tarsos](http://tarsos.0110.be) is software for tone scale analysis. It is useful to extract tone scales from audio. Different tuning systems can be seen, extracted and compared. It also contains the ability to play along with the original song with a tuned midi keyboard .

To show the different digital representations of music one example (Liebestraum 3 by Liszt) was used in different formats:

-   "Score (PDF)":\[00.partituur.liebestraum_3.pdf\]

-   "MusicXML":\[01.musicXML-liebestraum_no_3.xml\]

-   "MIDI as notation":\[01.deadpan_midi.wav\]

-   "MIDI as performance":\[02.performed_midi.wav\]

-   "Acoustic performance":\[03.human.performance.wav\]


![Tartini](https://0110.be/files/photos/383/tartini.png)

![Melodic Match](https://0110.be/files/photos/383/melodic_match.jpg)

![Sonic Visualizer](https://0110.be/files/photos/383/Sonic_Visualizer.png)

![Tarsos](https://0110.be/files/photos/383/Tarsos.png)

![Digital music representations](https://0110.be/files/photos/383/digital_registration_filetypes.png)

![Software for music analysis](https://0110.be/files/photos/383/digital_registration_software.png)

- [02.performed\_midi.wav](https://0110.be/files/attachments/383/02.performed_midi.wav)

- [01.deadpan\_midi.wav](https://0110.be/files/attachments/383/01.deadpan_midi.wav)

- [2011.12.02.software\_for\_music\_analysis.ppt](https://0110.be/files/attachments/383/2011.12.02.software_for_music_analysis.ppt)

- [2011.12.02.software\_for\_music\_analysis.odp](https://0110.be/files/attachments/383/2011.12.02.software_for_music_analysis.odp)

- [03.human.performance.wav](https://0110.be/files/attachments/383/03.human.performance.wav)

- [digital\_registration\_filetypes.png](https://0110.be/files/attachments/383/digital_registration_filetypes.png)

- [00.partituur.liebestraum\_3.pdf](https://0110.be/files/attachments/383/00.partituur.liebestraum_3.pdf)

- [01.MusicXML-extract.txt](https://0110.be/files/attachments/383/01.MusicXML-extract.txt)

- [digital\_registration\_software.png](https://0110.be/files/attachments/383/digital_registration_software.png)

- [01.musicXML-liebestraum\_no\_3.xml](https://0110.be/files/attachments/383/01.musicXML-liebestraum_no_3.xml)

- [2011.12.02.software\_for\_music\_analysis.pdf](https://0110.be/files/attachments/383/2011.12.02.software_for_music_analysis.pdf)

---

## [Robust Audio Fingerprinting with Tarsos and Pitch Class Histograms](https://0110.be/posts/Robust_Audio_Fingerprinting_with_Tarsos_and_Pitch_Class_Histograms.md)

- Published: 2011-11-09T14:46:36Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 378
- Canonical: https://0110.be/posts/Robust_Audio_Fingerprinting_with_Tarsos_and_Pitch_Class_Histograms

- Tags: [Code](https://0110.be/tags/Code.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), [featured](https://0110.be/tags/featured.md)

The aim of acoustic fingerprinting is to generate a small representation of an audio signal that can be used to identify or recognize similar audio samples in a large audio set. A robust fingerprint generates similar fingerprints for perceptually similar audio signals. A piece of music with a bit of noise added should generate an almost identical fingerprint as the original. The use cases for audio fingerprinting or acoustic fingerprinting are myriad: detection of duplicates, identifying songs, recognizing copyrighted material,...

Using a pitch class histogram as a fingerprint seems like a good idea: it is unique for a song and it is reasonably robust to changes of the underlying audio (length, tempo, pitch, noise). The idea has probably been found a couple of times independently, but there is also a reference to it in the literature, by Tzanetakis, 2003: [Pitch Histograms in Audio and Symbolic Music Information Retrieval](http://marsyas.info/pdfs/0000/0008/jnmr03gtzan.pdf):

> Although mainly designed for genre classification it is possible that features derived from Pitch Histograms might also be applicable to the problem of content-based audio identification or audio fingerprinting (for an example of such a system see (Allamanche et al., 2001)). We are planning to explore this possibility in the future.

Unfortunately they never, as far as I know, did explore this possibility, and I also do not know if anybody else did. I found it worthwhile to implement a fingerprinting scheme on top of the Tarsos software foundation. Most elements are already available in the Tarsos API: a way to detect pitch, construct a pitch class histogram, correlate pitch class histograms with a pitch shift,... I created a GUI application which is presented here. It is, probably, the first open source acoustic / "audio fingerprinting system based on pitch class histograms":\[AudioFingerprinter.jar\].

<center>
<a href="https://0110.be/files/attachments/378/AudioFingerprinter.jar" title="Audio fingerprinter based on pitch class histograms"><img src="https://0110.be/files/attachments/378/x360-dc445.audio_fingerprinting_query.png" alt="Audio fingerprinter based on pitch class histograms"></a>

</center>
It works using drag and drop and the idea is to find a needle (an audio file) in a hay stack (a large amount of audio files). For every audio file in the haystack and for the needle pitch is detected using an optimized, for speed, Yin implementation. A pitch class histogram is created for each file, the histogram for the needle is compared with each histogram in the hay stack and, hopefully, the needle is found in the hay stack.

Unfortunately I do not have time for rigorous testing (by building a large acoustic fingerprinting data set, or an other decent test bench) but the idea seems to work. With the following modifications, done with [audacity effects](http://audacity.sourceforge.net/onlinehelp-1.2/menu_effect.htm) the needle was still found a hay stack of 836 files :

-   A 10% speedup

-   15 and 30 seconds removed form the needle (a song of 4 minutes 12 seconds)

-   White noise added

-   Reversed the audio (This is, I believe, a rather unique property of this fingerprinting technique)

-   GSM reencoded

The following modifications failed to identify the correct song:

-   A one semitone pitch shift

-   A two semitone pitch shift

-   60 seconds removed from the needle

The original was also found. No failure analysis was done. The hay stack consists of about 100 hours of western pop, the needle is also a western pop song. If somebody wants to pick up this work or has an acoustic fingerprinting data set or drop me a line at

<script type="text/javascript">
<!--
document.write("<a href='mailto:&#106;&#111;&#114;&#101;&#110;&#46;&#115;&#105;&#120;&#64;&#104;&#111;&#103;&#101;&#110;&#116;&#46;&#98;&#101;'>&#106;&#111;&#114;&#101;&#110;&#46;&#115;&#105;&#120;&#64;&#104;&#111;&#103;&#101;&#110;&#116;&#46;&#98;&#101;</a>")
// -->
</script>
.

The source code is available, as always, on the [Tarsos GitHub page](https://github.com/JorenSix/Tarsos).


![Audio Fingerprinting Results](https://0110.be/files/photos/378/audio_fingerprinting_results.png)

![Audio Fingerprinting Query](https://0110.be/files/photos/378/audio_fingerprinting_query.png)

![Large scale results](https://0110.be/files/photos/378/larger_scale_results.png)

- [x360-dc445.audio\_fingerprinting\_query.png](https://0110.be/files/attachments/378/x360-dc445.audio_fingerprinting_query.png)

- [AudioFingerprinter.jar](https://0110.be/files/attachments/378/AudioFingerprinter.jar)

---

## [PeachNote Piano demo at ISMIR 2011](https://0110.be/posts/PeachNote_Piano_demo_at_ISMIR_2011.md)

- Published: 2011-11-09T14:03:34Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 375
- Canonical: https://0110.be/posts/PeachNote_Piano_demo_at_ISMIR_2011

- Tags: [HoGent](https://0110.be/tags/HoGent.md), [ISMIR](https://0110.be/tags/ISMIR.md), [PeachNote Piano](https://0110.be/tags/PeachNote%20Piano.md)

The 21st of October a demo of PeachNote Piano was given at the ISMIR (International Society for Music Information Retrieval) 2011 conference. The demo raised some interest.

The extended abstract about PeachNote Piano can be found on the [ISMIR 2011](http://ismir2011.ismir.net/program.html#demo) schedule.

A previous post [about PeachNote Piano](http://tarsos.0110.be/artikels/lees/PeachNote_Piano) has more technical details together with a video showing the core functionality (quasi-instantaneous USB-BlueTooth-MIDI communication).


![PeachNote Piano or a doomsday device?](https://0110.be/files/photos/375/IMG_2023.jpg)

![Demoing Peachnote Piano to Dr. Goto](https://0110.be/files/photos/375/DSC_0503.jpg)

---

## [Tarsos at 'Study Day: Tuning and Temperament - Insitute of Musical Research, London' ](https://0110.be/posts/Tarsos_at_%27Study_Day%3A_Tuning_and_Temperament_-_Insitute_of_Musical_Research%2C_London%27_.md)

- Published: 2011-10-25T22:03:49Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 374
- Canonical: https://0110.be/posts/Tarsos_at_%27Study_Day%3A_Tuning_and_Temperament_-_Insitute_of_Musical_Research%2C_London%27_

- 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), [Presentation](https://0110.be/tags/Presentation.md), [Tarsos](https://0110.be/tags/Tarsos.md)

<img src="http://tarsos.0110.be/attachment/cons/210/tarsos_logo_small.png"  alt="Tarsos Logo" style="float:right;margin-left:5px;"/>The 17th of Octobre 2011 Tarsos was presented at the [Study Day: Tuning and Temperament](http://music.sas.ac.uk/imr-events/imr-conferences-colloquia-performance-events/study-day-tuning-and-temperament.html) which was held at the Institue of Music Research in Londen. The study day was organised by Dan Tidhar. A short description of the aim of the study day:

<blockquote>
This is an interdisciplinary study day, bringing together musicologists, harpsichord specialists, and digital music specialists, with the aim of exploring the different angles these fields provide on the subject, and how these can be fruitfully interconnected.

We offer an optional introduction to temperament for non specialists, to equip all potential listeners with the basic concepts and terminology used throughout the day.

</blockquote>


---

## [Tarsos presentation at 'ISMIR 2011'](https://0110.be/posts/Tarsos_presentation_at_%27ISMIR_2011%27.md)

- Published: 2011-10-25T21:55:27Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 368
- Canonical: https://0110.be/posts/Tarsos_presentation_at_%27ISMIR_2011%27

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [HoGent](https://0110.be/tags/HoGent.md), [ISMIR](https://0110.be/tags/ISMIR.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md), [Tarsos](https://0110.be/tags/Tarsos.md)

<img src="http://tarsos.0110.be/attachment/cons/210/tarsos_logo_small.png"  alt="Tarsos Logo" style="float:right;margin-left:5px;"/>Olmo Cornelis and myself just gave a presentation about Tarsos at the at the [12th International Society for Music Information Retrieval Conference](http://ismir2011.ismir.net/) which is held at Miami.

The live demo we gave went well and we got a lot of positive, interesting feedback. The [presentation about Tarsos](https://0110.be/25.10.2011.ismir_tarsos.pdf) is available here.

It was the first time in the history of ISMIR that there was a session with oral [presentations about Non-Western Music](http://ismir2011.ismir.net/program.html#OS2). We were pleased to be part of this.

The peer reviewed paper about our work: [Tarsos - a Platform to Explore Pitch Scales in Non-Western and Western Music](http://ismir2011.ismir.net/program.html#OS2) is available from the ISMIR website and embedded below:

<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fismir2011.ismir.net%2Fpapers%2FOS2-4.pdf&embedded=true" width="600" height="780" style="border: none;">
</iframe>


- [2011.10.25.ismir\_tarsos.pdf](https://0110.be/files/attachments/368/2011.10.25.ismir_tarsos.pdf)

---

## [Tarsos at 'WASPAA 2011'](https://0110.be/posts/Tarsos_at_%27WASPAA_2011%27.md)

- Published: 2011-10-18T13:59:12Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 367
- Canonical: https://0110.be/posts/Tarsos_at_%27WASPAA_2011%27

- Tags: [HoGent](https://0110.be/tags/HoGent.md), [Presentation](https://0110.be/tags/Presentation.md), [Tarsos](https://0110.be/tags/Tarsos.md), [featured](https://0110.be/tags/featured.md)

<img src="http://tarsos.0110.be/attachment/cons/210/tarsos_logo_small.png"  alt="Tarsos Logo" style="float:right;margin-left:5px;"/>During the the demo session of the [IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA)](http://waspaa.com) a demonstration of Tarsos was given. During the demo, [the 18th of Octobre 2011](http://www.waspaa.com/waspaa11/information-for-attendees/schedule/index.html#DM) feedback was gathered.

During the conference I met interesting people and their work:

Carnatic Music Analysis: Shadja, Swara Identification and Raga Verification in Alapana using Stochastic Models\
Ranjani HG, Arthi S, Sreenivas TV

Simulation of the Violin Section Sound based on the analysis of orchestra performance\
Jukka Pätynen, Sakari Tervo, Tapio Lokki

Another interesting paper is [Informed Source Separation: Source Coding Meets Source Separation](http://hal.inria.fr/docs/00/61/05/26/PDF/Ozerov_et_al_WASPAA11_v6.pdf). A demo of this can be found [here](http://www.irisa.fr/metiss/ozerov/ciss_demo.html).


---

## [Bruikbare software voor muziekanalyse](https://0110.be/posts/Bruikbare_software_voor_muziekanalyse.md)

- Published: 2011-10-04T09:48:55Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 360
- Canonical: https://0110.be/posts/Bruikbare_software_voor_muziekanalyse

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

Op dinsdag vier oktober 2011 werd een les gegeven over bruikbare software voor muziekanalyse. Het doel was om duidelijk te maken welk type onderzoeksvragen van bachelor/masterproeven baat kunnen hebben bij objectieve metingen met software voor klankanalyse. Ook de manier waarop werd besproken: soorten digitale representaties van muziek met voorbeelden van softwaretoepassingen werden behandeld.

<center>
<img width="320px" src="https://0110.be/photo/cons/231/digitale_registratie.png" alt="digitale muziek representatie">

</center>
Voor de les werden volgende slides gebruikt ("ppt":\[2011.10.04.bruikbare_software_voor_muziekanalyse.ppt\], "odp":\[2011.10.04.bruikbare_software_voor_muziekanalyse.odp\]):

<iframe src="https://docs.google.com/present/embed?id=dcpqhhws_38cs3txmc2" frameborder="0" width="410" height="342">
</iframe>
De behandelde software voor klank als signaal werd al [eerder besproken](https://0110.be/artikels/lees/Seminar_-_Research_on_Music_History_and_Analysis):

<blockquote>

* [Sonic Visualizer](http://www.sonicvisualiser.org): As its name suggests Sonic Visualizer contains a lot different visualisations for audio. It can be used for analysis (pitch,beat,chroma,...) with [VAMP-plugins](http://vamp-plugins.org). To quote *"The aim of Sonic Visualiser is to be the first program you reach for when want to study a musical recording rather than simply listen to it"*. It is the swiss army knife of audio analysis.

* [BeatRoot](http://www.eecs.qmul.ac.uk/~simond/beatroot/) is designed specifically for one goal: beat tracking. It can be used for e.g. comparing tempi of different performances of the same piece or to track tempo deviation within one piece.

* [Tartini](http://tartini.net) is capable to do real-time pitch analysis of sound. You can e.g. play into a microphone with a violin and see the harmonics you produce and adapt you playing style based on visual feedback. It also contains a pitch deviation measuring apparatus to analyse vibrato.

* [Tarsos](http://tarsos.0110.be) is software for tone scale analysis. It is useful to extract tone scales from audio. Different tuning systems can be seen, extracted and compared. It also contains the ability to play along with the original song with a tuned midi keyboard .

* [music21](http://mit.edu/music21/) from their website: "music21 is a set of tools for helping scholars and other active listeners answer questions about music quickly and simply. If you've ever asked yourself a question like, "I wonder how often Bach does that" or "I wish I knew which band was the first to use these chords in this order," or "I'll bet we'd know more about Renaissance counterpoint (or Indian ragas or post-tonal pitch structures or the form of minuets) if I could write a program to automatically write more of them," then music21 can help you with your work."

</blockquote>
Om aan te duiden welke digitale representaties welke informatie bevatten werd een stuk van Franz Liszt in verschillende formaten gebruikt:

-   "Partituur (PDF)":\[00.partituur.liebestraum_3.pdf\]

-   "MusicXML":\[01.musicXML-liebestraum_no_3.xml\]

-   "MIDI als partituur":\[01.deadpan_midi.wav\]

-   "MIDI als uitvoering":\[02.performed_midi.wav\]

-   "Acoustische uitvoering":\[03.human.performance.wav\]


![Digitale registratie van muziek](https://0110.be/files/photos/360/digitale_registratie.png)

![Muziekanalyse software](https://0110.be/files/photos/360/MusicAnalysisSoftwareCross.png)

- [01.BeatRoot.tempo.wav](https://0110.be/files/attachments/360/01.BeatRoot.tempo.wav)

- [beatroot-0.5.8-rc1.jar](https://0110.be/files/attachments/360/beatroot-0.5.8-rc1.jar)

- [03.human.performance.wav](https://0110.be/files/attachments/360/03.human.performance.wav)

- [02.performed\_midi.wav](https://0110.be/files/attachments/360/02.performed_midi.wav)

- [01.deadpan\_midi.wav](https://0110.be/files/attachments/360/01.deadpan_midi.wav)

- [01.musicXML-liebestraum\_no\_3.xml](https://0110.be/files/attachments/360/01.musicXML-liebestraum_no_3.xml)

- [00.partituur.liebestraum\_3.pdf](https://0110.be/files/attachments/360/00.partituur.liebestraum_3.pdf)

- [2011.10.04.bruikbare\_software\_voor\_muziekanalyse.ppt](https://0110.be/files/attachments/360/2011.10.04.bruikbare_software_voor_muziekanalyse.ppt)

- [2011.10.04.bruikbare\_software\_voor\_muziekanalyse.odp](https://0110.be/files/attachments/360/2011.10.04.bruikbare_software_voor_muziekanalyse.odp)

---

## [Dual-Tone Multi-Frequency (DTMF) Decoding with the Goertzel Algorithm in Java](https://0110.be/posts/Dual-Tone_Multi-Frequency_%28DTMF%29_Decoding_with_the_Goertzel_Algorithm_in_Java.md)

- Published: 2011-09-27T09:07:26Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 343
- Canonical: https://0110.be/posts/Dual-Tone_Multi-Frequency_%28DTMF%29_Decoding_with_the_Goertzel_Algorithm_in_Java

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

<a href="https://0110.be/files/attachments/343/GoertzelDTMF.jar"><img style="float:right;margin-left:5px" src="https://0110.be/files/attachments/343/goertzel_DTMF_java_7.png" alt="DTMF Goertzel in JAVA"/></a>The DSP library of Tarsos, aptly named TarsosDSP, now contains an implementation of the Goertzel Algorithm. It is implemented using pure Java.

The [Goertzel algorithm](http://en.wikipedia.org/wiki/Goertzel_algorithm) can be used to detect if one or more predefined frequencies are present in a signal and it does this very efficiently. One of the classic applications of the Goertzel algorithm is decoding the tones generated on by touch tone telephones. These use [DTMF (Dual tone multi frequency)-signaling](http://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling).

To make the algorithm visually appealing a Java Swing interface has been created(visible right). You can try this application by running the "Goertzel DTMF Jar-file":\[GoertzelDTMF.jar\]. The souce code is included in the jar and is avaliable as a separate "zip file":\[GoertzelDTMF_src.zip\]. The [TarsosDSP github page](https://github.com/JorenSix/TarsosDSP) also contains the source for the [Goertzel algorithm Java implementation](https://github.com/JorenSix/TarsosDSP/blob/master/src/be/hogent/tarsos/dsp/pitch/Goertzel.java).


![DTMF detection of 9](https://0110.be/files/photos/343/goertzel_DTMF_java_9.png)

![DTMF detection of 2](https://0110.be/files/photos/343/goertzel_DTMF_java_2.png)

- [goertzel\_DTMF\_java\_7.png](https://0110.be/files/attachments/343/goertzel_DTMF_java_7.png)

- [GoertzelDTMF.jar](https://0110.be/files/attachments/343/GoertzelDTMF.jar)

- [GoertzelDTMF\_src.zip](https://0110.be/files/attachments/343/GoertzelDTMF_src.zip)

---

## [PeachNote Piano at the ISMIR 2011 demo session](https://0110.be/posts/PeachNote_Piano_at_the_ISMIR_2011_demo_session.md)

- Published: 2011-09-26T07:32:02Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 340
- Canonical: https://0110.be/posts/PeachNote_Piano_at_the_ISMIR_2011_demo_session

- Tags: [Code](https://0110.be/tags/Code.md), [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [HoGent](https://0110.be/tags/HoGent.md), [ISMIR](https://0110.be/tags/ISMIR.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [PeachNote Piano](https://0110.be/tags/PeachNote%20Piano.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md)

<img style="float:right;margin-left:5px" src="https://0110.be/photo/cons/212/PeachNote_Schema.png" alt="PeachNote Piano Schema"/>The extended abstract about PeachNote Piano has been accepted as a demonstration presentation to appear at the ISMIR (International Society for Music Information Retrieval) 2011 conference in Miami. To know more about PeachNote Piano come see us at our demo stand (during the [Late Breaking and Demo Session](http://ismir2011.ismir.net/program2011.html#demo)) or read the paper: "Peachnote Piano: Making MIDI instruments social and smart using Arduino, Android and Node.js":\[PeachNote_Piano_ISMIR_Demo.pdf\]. What follows here is the introduction of the extended abstract:

<blockquote>
Playing music instruments can bring a lot of joy and satisfaction, but not all apsects of music practice are always enjoyable. In this contribution we are addressing two such sometimes unwelcome aspects: the solitude of practicing and the "dumbness" of instruments.

The process of practicing and mastering of music instruments often takes place behind closed doors. A student of piano spends most of her time alone with the piano. Sounds of her playing get lost, and she can't always get feedback from friends, teachers, or, most importantly, random Internet users. Analysing her practicing sessions is also not easy. The technical possibility to record herself and put the recordings online is there, but the needed effort is relatively high, and so one does it only occasionally, if at all.

Instruments themselves usually do not exhibit any signs of intelligence. They are practically mechanic devices, even when implemented digitally. Usually they react only to direct actions of a player, and the player is solely responsible for the music coming out of the insturment and its quality. There is no middle ground between passive listening to music recordings and active music making for someone who is alone with an instrument.

We have built a prototype of a system that strives to offer a practical solution to the above problems for digital pianos. From ground up, we have built a system which is capable of transmitting MIDI data from a MIDI instrument to a web service and back, exposing it in real-time to the world and optionally enriching it.

</blockquote>
A previous post [about PeachNote Piano](http://tarsos.0110.be/artikels/lees/PeachNote_Piano) has more technical details together with a video showing the core functionality (quasi-instantaneous USB-BlueTooth-MIDI communication). Some photos can be found below.


![PeachNote Piano enclosure](https://0110.be/files/photos/340/IMG_20110827_014141.jpg)

![PeachNote Piano in action](https://0110.be/files/photos/340/peachnote.jpg)

![PeachNote Piano Schema](https://0110.be/files/photos/340/PeachNote_Schema.png)

![PeachNote Piano Arduino Shield](https://0110.be/files/photos/340/IMG_20110827_003652.jpg)

![PeachNote Piano assembled](https://0110.be/files/photos/340/IMG_20110827_014024.jpg)

- [PeachNote\_Piano\_ISMIR\_Demo.pdf](https://0110.be/files/attachments/340/PeachNote_Piano_ISMIR_Demo.pdf)

---

[Newer posts](https://0110.be/index.md?page=4)

[Older posts](https://0110.be/index.md?page=6)
