Skip to content

haas/ima

Repository files navigation

Inner Metrical Analysis

This readme belongs to a program that calculates the inner metrical analysis for a potentially very large number of onsets (stored as integers in a text file). For more information on the inner metrical analysis we refer to:

Volk, Anja. "The study of syncopation using inner metric analysis: Linking theoretical and experimental analysis of metre in music." Journal of New Music Research 37.4 (2008): 259-273.

Executable

The executable is called ima and has the following options:

usage: ima [options]
  -m,--mode <mode>       Kind of analysis: spectral, metrical
  -f,--file <filepath>   Input file with onset data (integers) to analyse
  [-o,--out <filepath>]  Output file for writing analysis data
  [-p,--p <integer>]     controls the influence of the length a local meter (2)
  [-l,--l <integer>]     maximum length of a period (halve of max. length)

If you just run ima you get the help information displayed above. The program needs an input file with a list of integers (one integer per line) as input. Further more the user needs to specify whether (s)he wants to calculate the metrical or spectral weights. With the parameter -p you control the influence of the length of a local meter, and with the parameter -l you can restrict the maximum length of a local meter. (See the paper for additional details.) By default (or if not provided) -p is 2 and -l is the length of the piece divided by two, i.e. the maximum possible length of a local meter.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published