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

## [Tarsos demos](https://0110.be/posts/Tarsos_demos.md)

- Published: 2010-05-27T08:15:38Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 329
- Canonical: https://0110.be/posts/Tarsos_demos

- Tags: [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)

I just finished creating a first release of Tarsos. The release contains several demo applications, some more usefull than other. Tarsos is a work in progress: not all functionality is exposed with the CLI (Command Line Interface) demo applications. The demos should however give a taste of the possibilities. All demo applications follow this pattern:

\`\`\`ruby\
java -jar tarsos.jar subcommand \[---option \[argument\] ...\]\
\`\`\`

To get help the `--help` switch can be used. It generates contextual help for either the subcommand or for Tarsos itself.

\`\`\`ruby\
java -jar tarsos.jar ---help\
java -jar tarsos.jar subcommand ---help\
\`\`\`

### Detect Pitch

\`\`\`ruby\
java -jar tarsos.jar detect_pitch ---in flute.novib.mf.C5B5.wav\
\`\`\`

### Midi to Audio Using a Scala Tone Scale

\`\`\`ruby\
java -jar tarsos.jar midi_to_wav ---midi satie_gymno1.mid ---scala 120.scl\
\`\`\`

### Audio to Scala Tone Scale

\`\`\`ruby\
java -jar tarsos.jar audio_to_scala ---in out.wav\
\`\`\`

### Annotate a File

\`\`\`ruby\
java -jar tarsos.jar annotate ---in out.wav\
\`\`\`

### Pitch table

\`\`\`ruby\
java -jar tarsos.jar pitch_table\
\`\`\`


- [tarsos.jar](https://0110.be/files/attachments/329/tarsos.jar)

- [flute.novib.mf.C5B5.wav](https://0110.be/files/attachments/329/flute.novib.mf.C5B5.wav)

- [satie\_gymno1.mid](https://0110.be/files/attachments/329/satie_gymno1.mid)

- [120.scl.txt](https://0110.be/files/attachments/329/120.scl.txt)

---

## [Tarsos Spectrogram](https://0110.be/posts/Tarsos_Spectrogram.md)

- Published: 2010-04-13T14:02:33Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 348
- Canonical: https://0110.be/posts/Tarsos_Spectrogram

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

Today I created a spectrogram application using Tarsos. The application listens to an audio input, computes an FFT and at the same time calculates pitch. The expected pitch is overlaid on the spectrogram. All this happens real-time and is implemented using JAVA.

<img src="https://0110.be/files/attachments/348/spectrum.png" alt="spectrum with pitch information (red)"/>

This is the most recent version of the [spectrogram implementation in java](http://github.com/JorenSix/Tarsos/blob/master/src/be/hogent/tarsos/ui/Spectrogram.java).

\`\`\`java\
float pitch = Yin.processBuffer(buffer, (float) sampleRate);\
fft.transform(buffer);\
double maxAmplitude = 0;\
for (int j = 0; j \< buffer.length / 2; j) {\
double amplitude = buffer\[j\] \* buffer\[j\] + buffer\[j +\
buffer.length/2\] \* buffer\[j+ buffer.length/2\];\
amplitude = Math.pow(amplitude, 0.5);\
colorIndexes\[j\] = amplitude;\
maxAmplitude = Math.max(amplitude, maxAmplitude);\
}\
\`\`\`

If you want to test it yourself download the "spectrogram jar package":\[spectrogram.jar\] and execute:

\`\`\`ruby\
java -jar spectrogram.jar\
\`\`\`


- [spectrum.png](https://0110.be/files/attachments/348/spectrum.png)

- [spectrogram.jar](https://0110.be/files/attachments/348/spectrogram.jar)

---

## [Tarsos on GitHub](https://0110.be/posts/Tarsos_on_GitHub.md)

- Published: 2010-03-16T15:14:34Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 347
- Canonical: https://0110.be/posts/Tarsos_on_GitHub

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

The JAVA software program we are developing is called Tarsos and can now be found on [GitHub](http://github.com/JorenSix/Tarsos). GitHub is a web-based hosting service for projects that use the Git version control system.

Currently Tarsos is a collection of Java classes to create, compare and process pitch-frequency data using histograms. In it's current state it is not usable for end-users.

### Credits

Tarsos is developed at [University College Ghent, Faculty of Music](http://cons.hogent.be) and uses a number of open source libraries:

-   [Gervill](https://gervill.dev.java.net/): a software sound synthesizer, supports the MIDI Tuning Standard. [API](https://gervill.dev.java.net/nonav/javadoc/index.html).

-   [Jave](http://www.sauronsoftware.it/projects/jave/): a wrapper for [ffmpeg](http://ffmpeg.org/).

-   [Apache Commons Math](http://commons.apache.org/math/): a library of lightweight, self-contained mathematics and statistics components [API](http://people.cs.ubc.ca/~kvdoel/jass/doc/index.html).

-   [JASS](http://people.cs.ubc.ca/~kvdoel/jass/): a unit generator based audio synthesis programming environment. [API](http://people.cs.ubc.ca/~kvdoel/jass/doc/index.html).

-   [Java-getopt](http://www.urbanophile.com/~arenn/hacking/download.html): a port of the GNU getopt family of functions. [API](http://www.urbanophile.com/~arenn/hacking/getopt/Package-gnu.getopt.html).

-   [Ptplot](http://ptolemy.berkeley.edu/java/ptplot5.7/ptolemy/plot/doc/index.htm) a 2D plotting library. [API](http://ptolemy.berkeley.edu/java/ptplot5.7/doc/codeDoc/index.html).


---

## [Dataset](https://0110.be/posts/Dataset.md)

- Published: 2010-01-22T16:25:23Z
- Updated: 2013-12-05T18:19:15Z
- Author: Joren
- ID: 328
- Canonical: https://0110.be/posts/Dataset

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

The dataset we use is the sound archive of the department of Ethnomusicology of the Royal Museum for Central Africa at Tervuren, Belgium. The archive was digitized during the DEKKMMA (Digitization of the Ethnomusicological Sound Archive of the Royal Museum for Central Africa - it works better in Dutch) project. More information about the dataset can be foun on [the website of the DEKKMMA project](http://music.africamuseum.be/english/index.html):

<blockquote>
The archive is a collection of sound recordings of traditional music from Central Africa, with a particular focus on Congo and Rwanda. The sound archive contains about 3,000 hours of music recordings, the oldest of which date from 1910: Edison cylinders recorded by Hutereau in the Uele-province in Congo.

The archive contains several sound carriers (Edison cylinders, Sonofil wire, magnetic tapes, audiocassettes, disks, CD's ...) with associated metadata (paper files) and contextual data (photographs, films, video's, books, documents of all kind).

The collection was created during and after the colonial era of the Belgian Kingdom in Central Africa. The RMCA collection forms for an important part the musical memory of Central Africa and in terms of size, documentation and musical quality, it is -- without any doubt -- the world's most important sound archive for this region.

</blockquote>
Using the meta data we did a rough geocoding of each recording to create an "interactive map of the dataset":\[dataset_geocodes.html\].


![Dataset](https://0110.be/files/photos/328/dekkmma_dataset.jpg)

- [dataset\_geocodes.html](https://0110.be/files/attachments/328/dataset_geocodes.html)

---

## [Development and Application of MIR Techniques on Ethnic Music](https://0110.be/posts/Development_and_Application_of_MIR_Techniques_on_Ethnic_Music.md)

- Published: 2010-01-22T00:00:00Z
- Updated: 2014-02-13T10:49:44Z
- Author: Joren
- ID: 327
- Canonical: https://0110.be/posts/Development_and_Application_of_MIR_Techniques_on_Ethnic_Music

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

# About

The aim of this research project is to gain novel musicological insights into a large dataset of music from Central Africa. While practising ethnomusicological research on this dataset, we to develop and publish useful software and methodologies for the (ethno)musicological research community.

From November 2009 until November 2013 this research project was organised at [the School of Arts, University College Ghent](http://schoolofarts.be), under supervision by Olmo Cornelis. Later, from November 2013 onwards, the project turned into a 2 year doctoral research project hosted at [IPEM, University Ghent](http://www.ipem.ugent.be) under the supervision of Marc Leman.

### Partners

-   [University Ghent, IPEM](http://www.ipem.ugent.be/): The Institute for Psychoacoustics and Electronic Music is part of the Music department at the Faculty of Arts and Philosophy, at Ghent University.

-   [University College Ghent, School of Arts](http://schoolofarts.be): The School of Arts, Ghent consists of the Royal Conservatory and KASK.

-   [Royal Museum for Central Africa, Tervuren](http://www.africamuseum.be/): A federal research institute which provides us with the dataset generated during the [DEKKMMA (Digitization of the Ethnomusicological Sound Archive of the Royal Museum for Central Africa - the abbreviation works better in Dutch.)](http://music.africamuseum.be/english/index.html) project.

<br>

<div style="text-align:center">
<a href="http://www.africamuseum.be"><img height="120" src="https://0110.be/files/attachments/327/logo_kmma.gif" alt="Royal Museum For Central Africa" style="margin-right:20px;"></a> <a href="http://ugent.be"><img alt="University Ghent" height="120" src="https://0110.be/files/attachments/327/logo_ugent.jpg" style="margin-right:20px;"></a> <a href="http://www.ipem.ugent.be"><img height="120" src="https://0110.be/files/attachments/327/logo_ipem.gif"  alt=" Institute for Psychoacoustics and Electronic Music" style="margin-right:20px;"></a> <a href="http://www.hogent.be"><img height="120" alt="University College Ghent, Hogeschool Gent" src="https://0110.be/files/attachments/327/logo_hogent.png" style="margin-right:20px;"></a> <a href="http://schoolofarts.be"><img height="120" alt="School of Arts, Ghent" src="https://0110.be/files/attachments/327/logo_kask_conservatorium.png" style="margin-right:20px;"></a>

</div>


---

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