~ubuntu-branches/ubuntu/saucy/solfege/saucy

« back to all changes in this revision

Viewing changes to lesson-files/csound-intonation-harmonic-min2-6cent

  • Committer: Bazaar Package Importer
  • Author(s): Tom Cato Amundsen
  • Date: 2010-03-28 06:34:28 UTC
  • mfrom: (1.1.10 upstream) (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100328063428-wg2bqvoce2aq4xfb
Tags: 3.15.9-1
* New upstream release.
* Redo packaging. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Solfege - ear training for GNOME
2
 
# Copyright (C) 2004, 2005 Tom Cato Amundsen
3
 
# License is GPL, see file COPYING
4
 
 
5
 
header {
6
 
    lesson_id = "csound-intonation-harmonic-min2-6cent"
7
 
        module = idbyname
8
 
        help = "idbyname-intonation"
9
 
        title = _("Is the interval flat, in tune or sharp? %s cent wrong") % 6
10
 
        lesson_heading = _("Just interval: %s") % _("minor second") + " (16:12)"
11
 
        filldir = vertic
12
 
}
13
 
 
14
 
question {
15
 
 name = _i("intonation|flat")
16
 
 set=0
17
 
 csound(load("share/sinus.orc"), """
18
 
   f1 0 4096 10 1 
19
 
   i1 0 1 220.000000
20
 
   i1 0 1 292.318477
21
 
 """)
22
 
}
23
 
 
24
 
question {
25
 
 name = _i("intonation|in tune")
26
 
 set=0
27
 
 csound(load("share/sinus.orc"), """
28
 
   f1 0 4096 10 1 
29
 
   i1 0 1 220.000000
30
 
   i1 0 1 293.333333
31
 
 """)
32
 
}
33
 
 
34
 
question {
35
 
 name = _i("intonation|sharp")
36
 
 set=0
37
 
 csound(load("share/sinus.orc"), """
38
 
   f1 0 4096 10 1 
39
 
   i1 0 1 220.000000
40
 
   i1 0 1 294.351713
41
 
 """)
42
 
}
43
 
 
44
 
question {
45
 
 name = _i("intonation|flat")
46
 
 set=1
47
 
 csound(load("share/sinus.orc"), """
48
 
   f1 0 4096 10 1 
49
 
   i1 0 1 233.081881
50
 
   i1 0 1 309.700638
51
 
 """)
52
 
}
53
 
 
54
 
question {
55
 
 name = _i("intonation|in tune")
56
 
 set=1
57
 
 csound(load("share/sinus.orc"), """
58
 
   f1 0 4096 10 1 
59
 
   i1 0 1 233.081881
60
 
   i1 0 1 310.775841
61
 
 """)
62
 
}
63
 
 
64
 
question {
65
 
 name = _i("intonation|sharp")
66
 
 set=1
67
 
 csound(load("share/sinus.orc"), """
68
 
   f1 0 4096 10 1 
69
 
   i1 0 1 233.081881
70
 
   i1 0 1 311.854777
71
 
 """)
72
 
}
73
 
 
74
 
question {
75
 
 name = _i("intonation|flat")
76
 
 set=2
77
 
 csound(load("share/sinus.orc"), """
78
 
   f1 0 4096 10 1 
79
 
   i1 0 1 246.941651
80
 
   i1 0 1 328.116397
81
 
 """)
82
 
}
83
 
 
84
 
question {
85
 
 name = _i("intonation|in tune")
86
 
 set=2
87
 
 csound(load("share/sinus.orc"), """
88
 
   f1 0 4096 10 1 
89
 
   i1 0 1 246.941651
90
 
   i1 0 1 329.255534
91
 
 """)
92
 
}
93
 
 
94
 
question {
95
 
 name = _i("intonation|sharp")
96
 
 set=2
97
 
 csound(load("share/sinus.orc"), """
98
 
   f1 0 4096 10 1 
99
 
   i1 0 1 246.941651
100
 
   i1 0 1 330.398627
101
 
 """)
102
 
}
103
 
 
104
 
question {
105
 
 name = _i("intonation|flat")
106
 
 set=3
107
 
 csound(load("share/sinus.orc"), """
108
 
   f1 0 4096 10 1 
109
 
   i1 0 1 261.625565
110
 
   i1 0 1 347.627213
111
 
 """)
112
 
}
113
 
 
114
 
question {
115
 
 name = _i("intonation|in tune")
116
 
 set=3
117
 
 csound(load("share/sinus.orc"), """
118
 
   f1 0 4096 10 1 
119
 
   i1 0 1 261.625565
120
 
   i1 0 1 348.834087
121
 
 """)
122
 
}
123
 
 
124
 
question {
125
 
 name = _i("intonation|sharp")
126
 
 set=3
127
 
 csound(load("share/sinus.orc"), """
128
 
   f1 0 4096 10 1 
129
 
   i1 0 1 261.625565
130
 
   i1 0 1 350.045151
131
 
 """)
132
 
}
133
 
 
134
 
question {
135
 
 name = _i("intonation|flat")
136
 
 set=4
137
 
 csound(load("share/sinus.orc"), """
138
 
   f1 0 4096 10 1 
139
 
   i1 0 1 277.182631
140
 
   i1 0 1 368.298203
141
 
 """)
142
 
}
143
 
 
144
 
question {
145
 
 name = _i("intonation|in tune")
146
 
 set=4
147
 
 csound(load("share/sinus.orc"), """
148
 
   f1 0 4096 10 1 
149
 
   i1 0 1 277.182631
150
 
   i1 0 1 369.576841
151
 
 """)
152
 
}
153
 
 
154
 
question {
155
 
 name = _i("intonation|sharp")
156
 
 set=4
157
 
 csound(load("share/sinus.orc"), """
158
 
   f1 0 4096 10 1 
159
 
   i1 0 1 277.182631
160
 
   i1 0 1 370.859919
161
 
 """)
162
 
}
163
 
 
164
 
question {
165
 
 name = _i("intonation|flat")
166
 
 set=5
167
 
 csound(load("share/sinus.orc"), """
168
 
   f1 0 4096 10 1 
169
 
   i1 0 1 293.664768
170
 
   i1 0 1 390.198353
171
 
 """)
172
 
}
173
 
 
174
 
question {
175
 
 name = _i("intonation|in tune")
176
 
 set=5
177
 
 csound(load("share/sinus.orc"), """
178
 
   f1 0 4096 10 1 
179
 
   i1 0 1 293.664768
180
 
   i1 0 1 391.553024
181
 
 """)
182
 
}
183
 
 
184
 
question {
185
 
 name = _i("intonation|sharp")
186
 
 set=5
187
 
 csound(load("share/sinus.orc"), """
188
 
   f1 0 4096 10 1 
189
 
   i1 0 1 293.664768
190
 
   i1 0 1 392.912398
191
 
 """)
192
 
}
193
 
 
194
 
question {
195
 
 name = _i("intonation|flat")
196
 
 set=6
197
 
 csound(load("share/sinus.orc"), """
198
 
   f1 0 4096 10 1 
199
 
   i1 0 1 311.126984
200
 
   i1 0 1 413.400755
201
 
 """)
202
 
}
203
 
 
204
 
question {
205
 
 name = _i("intonation|in tune")
206
 
 set=6
207
 
 csound(load("share/sinus.orc"), """
208
 
   f1 0 4096 10 1 
209
 
   i1 0 1 311.126984
210
 
   i1 0 1 414.835978
211
 
 """)
212
 
}
213
 
 
214
 
question {
215
 
 name = _i("intonation|sharp")
216
 
 set=6
217
 
 csound(load("share/sinus.orc"), """
218
 
   f1 0 4096 10 1 
219
 
   i1 0 1 311.126984
220
 
   i1 0 1 416.276184
221
 
 """)
222
 
}
223
 
 
224
 
question {
225
 
 name = _i("intonation|flat")
226
 
 set=7
227
 
 csound(load("share/sinus.orc"), """
228
 
   f1 0 4096 10 1 
229
 
   i1 0 1 329.627557
230
 
   i1 0 1 437.982843
231
 
 """)
232
 
}
233
 
 
234
 
question {
235
 
 name = _i("intonation|in tune")
236
 
 set=7
237
 
 csound(load("share/sinus.orc"), """
238
 
   f1 0 4096 10 1 
239
 
   i1 0 1 329.627557
240
 
   i1 0 1 439.503409
241
 
 """)
242
 
}
243
 
 
244
 
question {
245
 
 name = _i("intonation|sharp")
246
 
 set=7
247
 
 csound(load("share/sinus.orc"), """
248
 
   f1 0 4096 10 1 
249
 
   i1 0 1 329.627557
250
 
   i1 0 1 441.029255
251
 
 """)
252
 
}
253
 
 
254
 
question {
255
 
 name = _i("intonation|flat")
256
 
 set=8
257
 
 csound(load("share/sinus.orc"), """
258
 
   f1 0 4096 10 1 
259
 
   i1 0 1 349.228231
260
 
   i1 0 1 464.026658
261
 
 """)
262
 
}
263
 
 
264
 
question {
265
 
 name = _i("intonation|in tune")
266
 
 set=8
267
 
 csound(load("share/sinus.orc"), """
268
 
   f1 0 4096 10 1 
269
 
   i1 0 1 349.228231
270
 
   i1 0 1 465.637642
271
 
 """)
272
 
}
273
 
 
274
 
question {
275
 
 name = _i("intonation|sharp")
276
 
 set=8
277
 
 csound(load("share/sinus.orc"), """
278
 
   f1 0 4096 10 1 
279
 
   i1 0 1 349.228231
280
 
   i1 0 1 467.254219
281
 
 """)
282
 
}
283
 
 
284
 
question {
285
 
 name = _i("intonation|flat")
286
 
 set=9
287
 
 csound(load("share/sinus.orc"), """
288
 
   f1 0 4096 10 1 
289
 
   i1 0 1 369.994423
290
 
   i1 0 1 491.619119
291
 
 """)
292
 
}
293
 
 
294
 
question {
295
 
 name = _i("intonation|in tune")
296
 
 set=9
297
 
 csound(load("share/sinus.orc"), """
298
 
   f1 0 4096 10 1 
299
 
   i1 0 1 369.994423
300
 
   i1 0 1 493.325897
301
 
 """)
302
 
}
303
 
 
304
 
question {
305
 
 name = _i("intonation|sharp")
306
 
 set=9
307
 
 csound(load("share/sinus.orc"), """
308
 
   f1 0 4096 10 1 
309
 
   i1 0 1 369.994423
310
 
   i1 0 1 495.038600
311
 
 """)
312
 
}
313
 
 
314
 
question {
315
 
 name = _i("intonation|flat")
316
 
 set=10
317
 
 csound(load("share/sinus.orc"), """
318
 
   f1 0 4096 10 1 
319
 
   i1 0 1 391.995436
320
 
   i1 0 1 520.852313
321
 
 """)
322
 
}
323
 
 
324
 
question {
325
 
 name = _i("intonation|in tune")
326
 
 set=10
327
 
 csound(load("share/sinus.orc"), """
328
 
   f1 0 4096 10 1 
329
 
   i1 0 1 391.995436
330
 
   i1 0 1 522.660581
331
 
 """)
332
 
}
333
 
 
334
 
question {
335
 
 name = _i("intonation|sharp")
336
 
 set=10
337
 
 csound(load("share/sinus.orc"), """
338
 
   f1 0 4096 10 1 
339
 
   i1 0 1 391.995436
340
 
   i1 0 1 524.475127
341
 
 """)
342
 
}
343
 
 
344
 
question {
345
 
 name = _i("intonation|flat")
346
 
 set=11
347
 
 csound(load("share/sinus.orc"), """
348
 
   f1 0 4096 10 1 
349
 
   i1 0 1 415.304698
350
 
   i1 0 1 551.823803
351
 
 """)
352
 
}
353
 
 
354
 
question {
355
 
 name = _i("intonation|in tune")
356
 
 set=11
357
 
 csound(load("share/sinus.orc"), """
358
 
   f1 0 4096 10 1 
359
 
   i1 0 1 415.304698
360
 
   i1 0 1 553.739597
361
 
 """)
362
 
}
363
 
 
364
 
question {
365
 
 name = _i("intonation|sharp")
366
 
 set=11
367
 
 csound(load("share/sinus.orc"), """
368
 
   f1 0 4096 10 1 
369
 
   i1 0 1 415.304698
370
 
   i1 0 1 555.662041
371
 
 """)
372
 
}