EnglishFrenchSpanish

OnWorks favicon

abcmatch - Online in the Cloud

Run abcmatch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command abcmatch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


abcmatch - Search for specific sequences of notes in an abc file composed of many tunes.

SYNOPSIS


abcmatch abc file [-c] [-v] [-r] [-con] [-fixed nn] [-qnt] [-lev] [-a] [-ign] [-br
%d] [-tp abc reference file] [-ver] [-pitch_hist] [-wpitch_hist] [-length_hist]
[-interval_hist] [-pitch_table] [-interval_table] reference number

DESCRIPTION


abcmatch is used to search for specific sequences of notes in an abc file composed of
many tunes. For example, if you know a few bars of a tune, you can use this program to
find the tune having this sequence and perhaps identify the tune. At a minimum, abcmatch
requires two files. A template file called match.abc which contains the bars that you are
searching for and a large file consisting of a hundred or more abc tunes. The program
automatically loads up the match.abc file and then scans every tune in the large file

OPTIONS


-v and -c
mainly used for debugging when the program does not do what was expected.

-ver prints version number and then exits

--norhythm
Causes the matching algorithm to ignore the length of notes in a bar, thus E3/2F/D
GA2 would match EFD G2A. The option ignores -r parameter since it is now
irrelevant.

-pitch_table
Used to produce a interval weighted pitch histogram for each tune in the file. If
this is saved in an external file, that file could be used as a database for
finding tunes with similar pitch probability density functions (pdf).

-r Controls how the matching criterion handles small rhythm variations in the melody.
The -r option must be followed by a number which specifies the temporal resolution
for the match. When the number is zero, this indicates that a perfect match should
be performed, meaning that the lengths of each note in the bar must match exactly
in order to be reported. For larger values a looser match will be performed as
described below. Note lengths are converted into temporal units where a quarter
note normally is assigned a value of 24. Therefore an eight note has a value of 12,
a sixteenth has a value of 6, a half note has a value of 48 and etc. If you specify
a temporal resolution of 12, then the pitch values of the notes only need to match
at time units which are multiples of an eighth note.

-fixed n
Causes the program to disregard bar lines when does the matching. It allows
matching of notes between tunes having different time signatures. n is a number
which specifies the exact number of notes to match. For example if n is 4, the
program could match |C E G E| .. with |C E|G E| Note the matcher still starts at a
beginning of a given bar for both the tune and template.

-con Specifies contour matching. In this case, the program uses the key signature only
to indicate accidentals. The pitch contour is computed from the pitch difference or
interval between adjacent notes.

-qnt Uses the contour matching algorithm but also quantizes the intervals using the
following table:

unison and semitone 0 minor 2nd to major 2nd 1 minor 3rd to major 3rd 2 any
larger interval 3

Negative numbers are descending intervals.

-tp file name, reference number
Substitute any tune for the template match.abc. When using this feature, the entire
tune is used as a template. Abcmatch does not match the template with itself, and
only bars which match bars in other tunes are reported.

-br threshold
Runs the program in a brief mode designed to identify groups of tunes sharing
common bars. In this mode, the program counts the numbers of bars in the test tune
which are also present in match.abc. If the number of common bars is larger or
equal to the threshold then the program reports the tune and the number of common
bars. The program scans all the tunes in the abc file and returns a list of all
the tunes which have more than a specific number of bars in common with the
template, match.abc. In actual use, the program is run repeatedly by a script. For
each tune in a abc file, it creates a template file called match.abc and then
executes abcmatch. The outputs are displayed on the screen in a form easy to
interpret. The user has no control of the matching criterion. The rhythm must match
exactly and the notes are transposed to suit the key signature. In other words the
-r parameter is independent of what is specified in the parameter list.

-pitch_hist or -length_hist
Runs the program in another mode. It produces a histogram of the distribution of
the notes in the abc file. The pitch is indicated in midi units. Thus middle C is
60 and the pitches go up in semitone units. Following the pitch is a count of the
number of times that note occurred.

-pitch_table or -interval_table
Used to create a database for a collection of tunes in a file for future analysis.

Use abcmatch online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad