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

« back to all changes in this revision

Viewing changes to exercises/standard/lesson-files/csound-intonation-harmonic-min2-5cent

  • 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-5cent"
 
7
        module = idbyname
 
8
        help = "idbyname-intonation"
 
9
        title = _("Is the interval flat, in tune or sharp? %s cent wrong") % 5
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
19
   i1 0 1 220.000000
 
20
   i1 0 1 292.487376
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
39
   i1 0 1 220.000000
 
40
   i1 0 1 294.181738
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
49
   i1 0 1 233.081881
 
50
   i1 0 1 309.879580
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
69
   i1 0 1 233.081881
 
70
   i1 0 1 311.674694
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
79
   i1 0 1 246.941651
 
80
   i1 0 1 328.305979
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
99
   i1 0 1 246.941651
 
100
   i1 0 1 330.207836
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
109
   i1 0 1 261.625565
 
110
   i1 0 1 347.828068
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
129
   i1 0 1 261.625565
 
130
   i1 0 1 349.843016
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
139
   i1 0 1 277.182631
 
140
   i1 0 1 368.511001
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
159
   i1 0 1 277.182631
 
160
   i1 0 1 370.645764
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
169
   i1 0 1 293.664768
 
170
   i1 0 1 390.423806
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
189
   i1 0 1 293.664768
 
190
   i1 0 1 392.685508
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
199
   i1 0 1 311.126984
 
200
   i1 0 1 413.639613
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
219
   i1 0 1 311.126984
 
220
   i1 0 1 416.035803
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
229
   i1 0 1 329.627557
 
230
   i1 0 1 438.235905
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
249
   i1 0 1 329.627557
 
250
   i1 0 1 440.774580
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
259
   i1 0 1 349.228231
 
260
   i1 0 1 464.294768
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
279
   i1 0 1 349.228231
 
280
   i1 0 1 466.984400
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
289
   i1 0 1 369.994423
 
290
   i1 0 1 491.903171
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
309
   i1 0 1 369.994423
 
310
   i1 0 1 494.752737
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
319
   i1 0 1 391.995436
 
320
   i1 0 1 521.153256
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
339
   i1 0 1 391.995436
 
340
   i1 0 1 524.172266
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
349
   i1 0 1 415.304698
 
350
   i1 0 1 552.142641
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
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 1.25 0.95 0.8 0.6 0.4 0.2 
 
369
   i1 0 1 415.304698
 
370
   i1 0 1 555.341171
 
371
 """)
 
372
}