File: entering.docbook

package info (click to toggle)
frescobaldi 1.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,240 kB
  • ctags: 2,434
  • sloc: python: 15,614; lisp: 28; sh: 25; makefile: 2
file content (286 lines) | stat: -rw-r--r-- 9,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<chapter id="entering">
<title>Entering Scores</title>

<para>
&frescobaldi; provides a host of features to help you to enter &lilypond; music scores as fast as possible.
</para>

<sect1 id="scorewiz">
<title>Score Setup Wizard</title>

<para>
The Score Setup Wizard, at <menuchoice>
  <shortcut><keycombo><keycap>Ctrl+Shift+N</keycap></keycombo></shortcut>
  <guimenu>&lilypond;</guimenu>
  <guimenuitem>Setup New Score...</guimenuitem>
</menuchoice>, makes
for a quick start of many types of music score. In the first tab you can enter
titling information, in the second tab you can compose your score of many
available part types. Doubleclick a part type to add it to your score (or click
<guibutton>Add</guibutton>). Select the part in the score list to change some settings for the selected
part, if desired. Many parts, especially Choir, have powerful options to set up
the score the way you want it.
</para>

<figure>
  <title>Score Wizard: Titles and Headers</title>
  <mediaobject>
  <imageobject><imagedata format="PNG" fileref="scorewiz1.png"/></imageobject>
  <textobject>
  <phrase>Score Wizard: Titles and Headers</phrase>  
  </textobject>
  </mediaobject>
</figure>

<figure>
  <title>Score Wizard: Parts setup</title>
  <mediaobject>
  <imageobject><imagedata format="PNG" fileref="scorewiz2.png"/></imageobject>
  <textobject>
  <phrase>Score Wizard: Parts setup</phrase>
  </textobject>
  </mediaobject>
</figure>

<para>
In the third tab you can set some general adjustments, e.g. whether to create
MIDI output or not, which key and time signature you want to use, etc:
</para>

<figure>
  <title>Score Wizard: Score settings</title>
  <mediaobject>
  <imageobject><imagedata format="PNG" fileref="scorewiz3.png"/></imageobject>
  <textobject>
  <phrase>Score Wizard: Score settings</phrase>
  </textobject>
  </mediaobject>
</figure>

<para>
Clicking <guibutton>Try</guibutton> presents a demo score with some random notes filled in.
Clicking <guibutton>Ok</guibutton> writes the &lilypond; code to your text document,
waiting for music etc. to be added.
</para>
</sect1>

<sect1 id="autocomplete">
<title>Context Sensitive Autocompletion</title>

<para>
&frescobaldi; has a context-sensitive automatic
completion feature. In most cases it will be enabled by default. It will pop up
relevant completions as you type. The autocompletion popup can be enabled or
disabled under 
<menuchoice>
  <guimenu>Settings</guimenu>
  <guisubmenu>Configure &frescobaldi;</guisubmenu>
  <guisubmenu>Editor component</guisubmenu>
  <guisubmenu>Editing</guisubmenu>
  <guimenuitem>Auto Completion</guimenuitem>
</menuchoice>.
Even if disabled, you can always show the popup with <keycap>Ctrl+Space</keycap>.
</para>
</sect1>

<sect1 id="expand">
<title>Quick Text Expansions</title>

<para>
Type e.g. <userinput>rel</userinput> and then press <keycap>Ctrl+.</keycap> (period).
&frescobaldi; will expand it to:
</para>

<programlisting>
\relative c' {

}
</programlisting>

<para>
and place the cursor right after the pitch so you could change it. If you then
move the cursor a line down, you can start typing music notes or other
shortcut names. E.g. typing <userinput>F</userinput> and then <keycap>Ctrl+.</keycap> yields <computeroutput>\key f \major</computeroutput>.
There are many more default shortcuts.
</para>

<para>
Press <keycap>Ctrl+.</keycap> (without having entered an existing
shortcut name) to open a dialog with all defined text snippets. In this dialog you
can also add, alter or remove snippets.
It is also possible to assign a keyboard shortcut to a snippet so that it can be entered
with a simple keystroke, without typing the short name.
</para>

<para>
All changes you make in the dialog are immediately saved.
So clicking <guibutton>Cancel</guibutton> will still keep the changes.
Clicking OK will enter the currently selected snippet in the text editor.
See the "What's This" info (<keycap>Shift+F1</keycap>) in the dialog
for more information.
</para>

<para>
Some quick text expansions have default keyboard shortcuts.
The most important ones are listed below:
</para>

<informaltable>
<tgroup cols="2">
<tbody>

<row>
<entry><para><keycap>Alt+1</keycap></para></entry>
<entry><para>Enter <userinput>\voiceOne</userinput></para></entry>
</row>

<row>
<entry><para><keycap>Alt+2</keycap></para></entry>
<entry><para>Enter <userinput>\voiceTwo</userinput></para></entry>
</row>

<row>
<entry><para><keycap>Alt+3</keycap></para></entry>
<entry><para>Enter <userinput>\voiceThree</userinput></para></entry>
</row>

<row>
<entry><para><keycap>Alt+4</keycap></para></entry>
<entry><para>Enter <userinput>\voiceFour</userinput></para></entry>
</row>

<row>
<entry><para><keycap>Alt+0</keycap></para></entry>
<entry><para>Enter <userinput>\oneVoice</userinput></para></entry>
</row>

<row>
<entry><para><keycap>Ctrl+3</keycap></para></entry>
<entry><para>Enter <userinput>\times 2/3 { }</userinput> and leave the cursor between the brackets</para></entry>
</row>

<row>
<entry><para><keycap>Alt+M</keycap>, <keycap>Alt+B</keycap></para></entry>
<entry><para>Enter <userinput>\markup \bold { }</userinput> and leave the cursor between the brackets</para></entry>
</row>

<row>
<entry><para><keycap>Alt+M</keycap>, <keycap>Alt+I</keycap></para></entry>
<entry><para>Enter <userinput>\markup \italic { }</userinput> and leave the cursor between the brackets</para></entry>
</row>

</tbody></tgroup></informaltable>

</sect1>

<sect1 id="rumor">
<title>MIDI input via Rumor (&linux; only)</title>

<para>
&frescobaldi; can use an external program called
<productname>Rumor</productname>, enabling you to enter music just by playing it on a
MIDI keyboard (or even your computer keyboard). This has some limitations: you
can only play monophonic music (notes or chords). Rumor also does not support
tuplets. To use Rumor within &frescobaldi;, you must have installed it separately.
Refer to the <ulink url="http://www.volny.cz/smilauer/rumor/">Rumor homepage</ulink>
for download and install information.
</para>

<sect2>
<title>Setup</title>
<para>
Start the Rumor plugin with <keycap>Meta+Alt+R</keycap> or by clicking on its
tab in the bottom of the &frescobaldi; window. The Rumor panel appears at the
bottom. In the panel is a settings button where you can configure which MIDI
input and output you want to use.
</para>

<para>
If you have a MIDI keyboard controller but no audible output device you can run
an ALSA MIDI-client like &timidity;. Many &linux; distributions already start
&timidity; by default on bootup. But &frescobaldi; can also run it for you when you
press the TiMidity-button. You can configure the command to run
in the main settings dialog under &menu.settings.rumor;.
</para>

<para>
If you have no MIDI-controller you can also set the MIDI input to 'Computer
Keyboard' in the settings screen of the Rumor plugin. This way you can play on
your computer keyboard like a piano.
</para>
</sect2>

<sect2>
<title>Entering music</title>
<para>
Clicking the <guibutton>Record</guibutton> button starts Rumor. If all is well you hear
a metronome and you can start playing; you'll see the notes appear. Clicking
<guibutton>Record</guibutton> again or pressing <keycap>Escape</keycap> stops Rumor. If you already entered the key and
time signature in your document, &frescobaldi; will automatically use it, to
interpret alterations correctly. &frescobaldi; will also output pitches
automatically in the language you use in the document.
</para>

<para>
You can configure the shortest note value to use using the <guilabel>Quantise</guilabel> option.
If you enable the <guilabel>Step</guilabel> checkbox, Rumor will directly output every note played,
without a duration.
If you enable the <guilabel>Mono</guilabel> checkbox, Rumor will not output chords, but only single
notes.
</para>

<para>
Under the <guibutton>Settings</guibutton> button you can configure some more settings.
A powerful feature of Rumor is that it can load special scripts that change the Rumor
output. This is useful when you write e.g. music with complicated rhythms. You
can configure which scripts to load, and even put your own Rumor Guile scripts
in <filename class="directory">~/.kde/share/apps/frescobaldi/rumor/</filename>.
More information about writing Rumor scripts is on the
<ulink url="http://www.volny.cz/smilauer/rumor/">Rumor homepage</ulink>.
</para>
</sect2>
</sect1>

<sect1 id="quickinsert">
<title>Quick Insert Panel</title>

<para>
The Quick Insert Panel (<keycap>Meta+Alt+I</keycap>) is available in the left dock.
It currently has one panel to add articulations and other symbols to your music.
It can also add those symbols to all notes or chords in a selected music fragment.
</para>

</sect1>

<sect1 id="other">
<title>Other shortcuts</title>

<para>
<menuchoice>
  <shortcut><keycombo><keycap>Ctrl+;</keycap></keycombo></shortcut>
  <guimenuitem>Repeat last note or chord</guimenuitem>
</menuchoice> repeats the last entered note or chord with
all its suffixes (ties, articulations, etc.)
</para>

<para>
<menuchoice>
  <shortcut><keycombo><keycap>Ctrl+{</keycap></keycombo></shortcut>
  <guimenuitem>Insert pair of braces</guimenuitem>
</menuchoice> inserts a pair of braces <userinput>{ }</userinput> with an empty,
indented line in between and places the cursor there.
If text is selected, it is placed between the braces.
</para>

<para id="charselect">
<menuchoice>
  <shortcut><keycombo><keycap>Ctrl+Y</keycap></keycombo></shortcut>
  <guimenuitem>Special Characters</guimenuitem>
</menuchoice> opens a dialog where characters from the Unicode table can be
browsed and selected. Doubleclick a character (or click <guibutton>Apply</guibutton>)
to insert the currently selected character into the document. It is also possible
to assign a keyboard shortcut to the currently selected character.
</para>

</sect1>
</chapter>