Reference » History » Version 1

Matthias Mauch, 2014-07-16 01:08 PM

1 1 Matthias Mauch
h1. Reference
2 1 Matthias Mauch
3 1 Matthias Mauch
h2. Navigation
4 1 Matthias Mauch
5 1 Matthias Mauch
Several ways of navigating _Tony_ are available
6 1 Matthias Mauch
7 1 Matthias Mauch
* click and drag in the Main Pane to move the visible area
8 1 Matthias Mauch
* click in the Selection Strip to move the playhead to the time you clicked on
9 1 Matthias Mauch
* press left and right arrows to move the playhead forward and backward, respectively
10 1 Matthias Mauch
* press Ctrl-left/Cntrl-right to move the playhead by one note (Ctrl is Command on Mac)
11 1 Matthias Mauch
12 1 Matthias Mauch
h2. Selection
13 1 Matthias Mauch
14 1 Matthias Mauch
Only time intervals can be selected. 
15 1 Matthias Mauch
16 1 Matthias Mauch
h3. Selecting an arbitrary time interval
17 1 Matthias Mauch
18 1 Matthias Mauch
* *click into Selection Strip and drag* selects the time interval you drag across.
19 1 Matthias Mauch
* *Shift-click and drag in the Main Pane*, while used for pitch track correction, will also select the time interval you drag across.
20 1 Matthias Mauch
21 1 Matthias Mauch
h3. Selecting an interval coinciding with notes
22 1 Matthias Mauch
23 1 Matthias Mauch
* *double-click in Selection Strip* selects the time interval covered by the current note.
24 1 Matthias Mauch
* *Shift-Ctrl-left and Shift-Ctrl-right* move the playhead by one note and select the time interval. (Ctrl is Command on Mac.)
25 1 Matthias Mauch
26 1 Matthias Mauch
h3. Select all
27 1 Matthias Mauch
28 1 Matthias Mauch
* *Ctrl-A* (Ctrl is Command on Mac.)
29 1 Matthias Mauch
* *Edit Menu -> Select All*
30 1 Matthias Mauch
31 1 Matthias Mauch
h2. Correcting the pitch track
32 1 Matthias Mauch
33 1 Matthias Mauch
h3. Moving the pitch track by one octave
34 1 Matthias Mauch
35 1 Matthias Mauch
* select time interval in the Selection Strip, then press Ctrl-up or Ctrl-down. (Ctrl is Command on Mac.)
36 1 Matthias Mauch
37 1 Matthias Mauch
h3. Choosing alternative pitch track candidates
38 1 Matthias Mauch
39 1 Matthias Mauch
* select time interval in the Selection Strip, then press Ctrl-Enter to make alternative pitch tracks appear (in orange); Ctrl-up or Ctrl-down to choose; Ctrl-Enter to confirm choice. (Ctrl is Command on Mac.)
40 1 Matthias Mauch
41 1 Matthias Mauch
h1. Quick Starter Guide
42 1 Matthias Mauch
43 1 Matthias Mauch
Some guided tours to help you find your way around _Tony_.
44 1 Matthias Mauch
45 1 Matthias Mauch
h2. Guided Tour 1: First Steps
46 1 Matthias Mauch
47 1 Matthias Mauch
This mini-tutorial walks you through the complete process of using Tony to load an audio file, annotate the notes in it and export the notes to a .csv (comma-separated values) file.
48 1 Matthias Mauch
49 1 Matthias Mauch
# Start the _Tony_ program by double-clicking (or whatever you routinely do to open programs).
50 1 Matthias Mauch
# Open an audio file of your choice. Mind that _Tony_ only deals with single melodies *without* accompaniment, so choose a little bit of accompanied solo singing or the like.
51 1 Matthias Mauch
# Upon opening of the file, _Tony_ will automatically analyse the file using "pYin":/projects/pyin pitch and note extraction, and pitches and notes should appear. _If no pitch track and notes occur, please see Analysis Settings and Visualisation, below._
52 1 Matthias Mauch
# Get comfortable moving around and playback... a few suggestions:
53 1 Matthias Mauch
#* play audio by clicking on the play button in the top toolbar, or simply by pressing the space bar on your keyboard
54 1 Matthias Mauch
#* use the Navigate tool to move around in the audio file: simply left-click and drag in the main pane
55 1 Matthias Mauch
#* try navigating with the keyboard, too. The left and right cursor keys will move the play head
56 1 Matthias Mauch
# Get comfortable with different visualisations and sonifications:
57 1 Matthias Mauch
#* try switching (toggling) different visualisations on and off in the bottom toolbar: waveform, pitch track (the black line), note track (the blue boxes), spectrogram (the gray-scale background)
58 1 Matthias Mauch
#* try switching on the pitch track sonification (sound representation) by toggling the loudspeaker symbol next to the pitch track symbol in the bottom toolbar -- you should be able to hear a funny sine-like tone at the same pitch as the original audio when sonification is on.
59 1 Matthias Mauch
#* turn off pitch track sonification, and turn on note track sonification -- what's the difference?
60 1 Matthias Mauch
#* you can switch the original audio on and off too (next to the waveform)
61 1 Matthias Mauch
#* what effect does the pan wheel (the one with the green circle) have on sonification? -- you can choose where in the stereo image to sonify the sounds: left, right, or anywhere in between.
62 1 Matthias Mauch
63 1 Matthias Mauch
h2. Guided Tour 2: Splitting, Merging and Deleting Notes
64 1 Matthias Mauch
65 1 Matthias Mauch
When you load an audio file, Tony will provide you with a first note track. It's rare that the note track is perfect; here I talk you through but you can easily correct it and save it.
66 1 Matthias Mauch
67 1 Matthias Mauch
# Make sure you can see the note track in blue. If not, turn note visualisation on.
68 1 Matthias Mauch
# Splitting a note using the Edit Tool. Choose a note and split it:
69 1 Matthias Mauch
#* select the Edit Tool from the top toolbar (alternatively you can type "2" on your keyboard)
70 1 Matthias Mauch
#* move the mouse over a note; in the middle bottom of the note the mouse pointer will turn into an upward arrow -- if it does that, left-click, and you'll have split a note!
71 1 Matthias Mauch
#* note that the two resulting notes will have different frequencies (Tony automatically calculates the pitch from the underlying pitch track)
72 1 Matthias Mauch
# Splitting a note at the play head without using the Edit Tool. Choose another note and split that too, but now in a different way:
73 1 Matthias Mauch
#* put the play head where you want it by using the left/right arrows or a single left-click in the selection pane (just under the main pane)
74 1 Matthias Mauch
#* then go to the Edit menu and click "Split Note". There's a keyboard shortcut for this as well: simply type "/" (a slash)
75 1 Matthias Mauch
# Merging two or more notes into one. Choose two notes, and merge them into one:
76 1 Matthias Mauch
## Select the region with the notes you want to delete by clicking and dragging in the selection pane (just under the main pane)
77 1 Matthias Mauch
## On your keyboard, press the backslash key, or, in the Edit menu, choose Merge Notes
78 1 Matthias Mauch
# Deleting a note. To delete a note using the Edit Tool, move the mouse to the bottom of the note (as if you wanted to split it), press the Shift key and click. That is: deleting is like splitting with the Shift key pressed.
79 1 Matthias Mauch
# Deleting multiple notes. To delete multiple notes, do the following:
80 1 Matthias Mauch
## Select the region with the notes you want to delete by clicking and dragging in the selection pane (just under the main pane)
81 1 Matthias Mauch
## On your keyboard, press the Backspace key, or, in the Edit menu, choose Delete Notes.
82 1 Matthias Mauch
83 1 Matthias Mauch
h2. Guided Tour 3: Creating, Shortening and Extending Notes
84 1 Matthias Mauch
85 1 Matthias Mauch
# Extending or shortening a note. Choose a note at the end of a phrase and try to make it longer or shorter.
86 1 Matthias Mauch
#* when in Edit Tool mode, you can grab a note end (onset or offset) and drag to shorten or to extend the note
87 1 Matthias Mauch
# Create a Note. There are two ways of making a note
88 1 Matthias Mauch
## in Edit Mode, double click into the main pane at a time position where there's no other note -- a note will be created
89 1 Matthias Mauch
## in Edit or Navigate Mode, select a time region in the selection pane, then, on your keyboard, press "=". Alternatively, you can go to the Edit Menu and choose "Form Note From Selection"
90 1 Matthias Mauch
# The same goes for the pitch track... try it!
91 1 Matthias Mauch
92 1 Matthias Mauch
h2. Guided Tour 4: Exporting and Saving
93 1 Matthias Mauch
94 1 Matthias Mauch
There are multiple ways to save your annotations. You can try all!
95 1 Matthias Mauch
96 1 Matthias Mauch
# First, you can save the whole _Tony_ "session", that is, a  document which saves the extracted pitches, notes and your changes (but not the audio!), so that if you want to resume work later, you can simply open that session file in _Tony_. Sessions files end in ".ton". You can save by using the File menu, then choosing "Save Session As...", and you will have to choose a name for the file you want to save. 
97 1 Matthias Mauch
#* If you want to save a ".ton" file where your audio file is, then it's even easier: simply choose Save Session To Audio Path, and _Tony_ will save a session at the same place and name as the audio file, but with the file extension ".ton".
98 1 Matthias Mauch
# Saving only the note track. Try saving the note track, by choosing the File menu, then Export Note Data... . This will save the note data as a text file with commas between the values, a so-called comma-separated values file with the extension ".csv".
99 1 Matthias Mauch
#* save a file test.csv and open it in a text editor or in a spread sheet. You will see that the first column provides note onsets (in seconds), the second column the note frequencies (Hz), the third column the note durations (seconds), and the fourth column... is currently just a weird value. Sorry.
100 1 Matthias Mauch
# Saving only the pitch track. Works pretty much in the same way as saving the note track.
101 1 Matthias Mauch
#* The result is different, however: you have only three columns in your .csv file: timestamp (in seconds) and frequency (Hz)
102 1 Matthias Mauch
103 1 Matthias Mauch
h1. Menus
104 1 Matthias Mauch
105 1 Matthias Mauch
h2. File Menu
106 1 Matthias Mauch
107 1 Matthias Mauch
h2. Edit Menu
108 1 Matthias Mauch
109 1 Matthias Mauch
h2. View Menu
110 1 Matthias Mauch
111 1 Matthias Mauch
h2. Analysis Menu
112 1 Matthias Mauch
113 1 Matthias Mauch
The "Analysis" menu allows you to re-analyse the audio for pitches and notes and to choose some analysis settings.
114 1 Matthias Mauch
115 1 Matthias Mauch
* *Analyse Now!* will run "pYin":/projects/pyin to extract pitches and notes and replaces all currently annotated pitches and notes. While you can undo this, you might still want to consider carefully whether to use this option if you have put a lot of work into annotating notes or pitches.
116 1 Matthias Mauch
* *Auto-Analyse New Audio*. _Tony_ will, by default, analyse any new audio that you load. If you do not want this behaviour, you can de-select it here.
117 1 Matthias Mauch
* *Unbiased Timing (slow)*. By default the "pYin":/projects/pyin analysis is based on ordinary YIN, which has a funky asymmetric window and introduces a small timing bias of up to 5ms. If you need zero time bias, then tick this item. This will be much slower, since this option cannot use the Fast Fourier Transform.
118 1 Matthias Mauch
* *Penalise Soft Pitches*: this option is on by default and reduces the impact of very low-amplitude content, effectively suppressing some spurious pitches. If you don't want this, untick.
119 1 Matthias Mauch
120 1 Matthias Mauch
h1. Toolbars
121 1 Matthias Mauch
122 1 Matthias Mauch
not covered (yet?)