---
title: Tarsos demos
canonical: https://0110.be/posts/Tarsos_demos
markdown_url: https://0110.be/posts/Tarsos_demos.md
id: 329
published_at: '2010-05-27T08:15:38Z'
updated_at: '2013-12-05T18:19:15Z'
author: Joren
tags:
- name: HoGent
  markdown_url: https://0110.be/tags/HoGent.md
- name: Java
  markdown_url: https://0110.be/tags/Java.md
- name: Music Information Retrieval
  markdown_url: https://0110.be/tags/Music%20Information%20Retrieval.md
- name: Tarsos
  markdown_url: https://0110.be/tags/Tarsos.md
---

# Tarsos demos

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)
