forked from sugarlabs/musicblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
639 lines (637 loc) · 75 KB
/
index.html
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<style type="text/css">
ol { counter-reset: item }
li { display: block }
li:before { content: counters(item, ".") " "; counter-increment: item }
</style>
</head>
<body>
<div class="container">
<div id="content">
<h1 id="-">ミュージック・ブロックスのプログラミング案内</h1>
<p>ミュージック・ブロックスは子供のための音楽とコードが合体されているプログラミング環境。子供さん達はこのツールで音楽、数学、またコードの基本な色々が楽しく発見することができます。ミュージック・ブロックスはタートルブロックから作られて、ピッチとリズムのツールもあります。</p>
<p>タートルブロックの案内はミュージック・ブロックスより基本的なコンセプトがあります。この案内は音楽の基本があり、ミュージック・ブロックスの実例があります。</p>
<h2 id="-a-name-a-"><a name="目次"></a> 目次</h2>
<ol>
<li><a href="#初めに">初めに</a></li>
<li><a href="#音符">音の関係</a><ol>
<li><a href="#音価">音価のブロック</a></li>
<li><a href="#ピッチ">ピッチのブロック</a></li>
<li><a href="#和音">和音</a></li>
<li><a href="#休符">休符</a></li>
<li><a href="#ドラム">ドラム</a></li>
</ol>
</li>
<li><a href="#音楽でプログラミング">音楽でプログラミング</a><ol>
<li><a href="#チャンク">チャンク</a></li>
<li><a href="#転化">音楽的の転化</a><ol>
<li><a href="#音符動き">音符動きのブロック</a></li>
<li><a href="#シャープ(嬰">シャープ(嬰)とフラット(変)</a>とフラット(変))</li>
<li><a href="#移調をアジャスト">移調をアジャストのブロック</a></li>
<li><a href="#付点音符(ドット)">付点音符</a></li>
<li><a href="#かけることと割ること">演算で音価をかけ割ること</a></li>
<li><a href="#繰り返し">回繰り返し音符</a></li>
<li><a href="#スイング">スイング・リズムとタイの音符</a></li>
<li><a href="#他の転化">音量、クレシェンド、スタッカート、スラーのブロック</a></li>
<li><a href="#音程と相対的な音量">音程と相対的な音量の関係</a></li>
<li><a href="#絶対音程">絶対音程</a></li>
<li><a href="#転回">音符転回</a></li>
<li><a href="#逆に">逆に</a></li>
<li><a href="#音色と調の設定">音色と調の設定</a></li>
<li><a href="#ビブラート">ビブラート</a></li>
</ol>
</li>
<li><a href="#声部">声部</a></li>
<li><a href="#グラフィックス">グラフィックス</a></li>
<li><a href="#拍子">拍子</a></li>
<li><a href="#相互作用">相互作用</a></li>
<li><a href="#ウィジェット">ウィジェット</a><ol>
<li><a href="#ステータス">ステータス・モニター</a></li>
<li><a href="#ピッチ・タイム行列">音符のチャンクを作ること</a><ol>
<li><a href="#ピッチ・タイム行列">ピッチ・タイム行列</a> </li>
<li><a href="#リズムのブロック">リズムのブロック</a> </li>
<li><a href="#タプルのこと">タプルのこと</a></li>
<li><a href="#タプルとは">「タプル」というのは?</a></li>
<li><a href="#INDIVIDUAL-NOTES">Using Individual Notes in the Matrix</a></li>
</ol>
</li>
<li><a href="#リズム・ブロック">リズム・ブロックでリズムを</a></li>
<li><a href="#音階とモード">音楽の音階とモード</a></li>
<li><a href="#ピッチ・ドラム">ピッチ・ドラム・グラフ</a></li>
<li><a href="#ピッチの階段">音程の関係のことをピッチスライダーで発見</a></li>
<li><a href="#ピッチ・スライダー">ピッチ・スライダーで何のピッチでも発見</a></li>
<li><a href="#テンポ">テンポを変えること</a></li>
</ol>
</li>
<li><a href="#ミュージック・ブロックスから以遠">ミュージック・ブロックスから以遠</a></li>
</ol>
</li>
</ol>
<p>この案内の中の例はコードのリンクもあります。そのすぐ楽しめるコードのリンクは<code>ライブで再生</code>と書いております。</p>
<h2 id="-a-name-a-1-"><a name="初めに"></a>1. 初めに</h2>
<p><a href="#目次">目次に戻す</a> | <a href="#音符">次のトピック (2. 音符の音を鳴らすのに)</a></p>
<p>ミュージック・ブロックスはブラウザーで実行するために作られています。クローム・ブラウザーで一番テストされていますがファイヤーフォックスも実行できます。<a href="https://musicblocks.sugarlabs.org">github io(ギットハーブ)</a>のウェブサイトから実行でき、ミュージック・ブロックスのソース・コードもダウンロードして自分のパソコンで実行できます。</p>
<p>この案内よりミュージック・ブロックスの細かいを楽しみたかったら、<a href="http://github.com/sugarlabs/musicblocks/tree/master/documentation">ミュージック・ブロックスの基本</a>をどうぞ、読んでください。
ミュージック・ブロックスの元のタートル・ブロックスの細かいを楽しみたかったら、<a href="http://github.com/sugarlabs/turtleblocksjs/tree/master/documentation">タートル・ブロックスの基本</a>をどうぞ読んでください。</p>
<h2 id="-a-name-a-"><a name="音符"></a></h2>
<ol>
<li>音の関係 <a href="#初めに">前のトピック (1. 初めに)</a> | <a href="#目次">目次に戻す</a> |
<a href="#音楽でプログラミング">次のトピック (3. 音楽でプログラミング)</a></li>
</ol>
<p>ミュージック・ブロックスは音楽の基本の色々があります。例えば、<a href="#ピッチ">ピッチ</a>, <a href="#リズム・ブロック">リズム</a>, <a href="#他の転化">音量</a>,<a href="#シンセ">音色とシンセ</a>のツールもあります。</p>
<h3 id="-a-name-a-"><a name="音価"></a></h3>
<p>2.1 音価のブロック</p>
<p>ミュージック・ブロックスの一番基本なブロックは<em>音価</em>ブロックです。<em>音価</em>ブロックの中に<a href="#ピッチ"><em>ピッチ</em>ブロック</a>が入られることができます。音価ブロックはピッチの長さがどのぐらいか決めます。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/note1.svg" alt="alt
tag" title="一つの音価ブロック(上)と二つの連続的な音価ブロック(下)"></p>
<p>上の例に、一つの(分離した)<em>音価</em>ブロックがあります。そのブロックに1/8の数値の数字ブロックがつながっています。1/8の数値は音符の音価です。その1/8の音価と言うのは八分音符とも言います。</p>
<p>その下に、二つの分理的に鳴らされる音符があります。両方とも'1/8'音符で、全部で音価の合計が'1/4'音符の同じ長さです。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/note2.svg" alt="alt
tag" title="八分音符、四分音符、十六分音符、半音符のも, 音価ブロックがあります。"></p>
<p>この例に、違う音価があります。上から、四分音符の'1/4'、十六音付の'1/16'、半音符の'1/2'です。</p>
<p><em>音価</em>ブロックの数値を数字・計算のブロックでいろいろな算数ができますよ。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/charts/NotationRestChart.svg" alt="alt
tag" title="音価とその音価の音価ブロックの図表です。"></p>
<p>上の図表を使って音価とその音価のブロックを閲覧してください。</p>
<h3 id="-a-name-a-"><a name="ピッチ"></a></h3>
<p>2.2 ピッチのブロック</p>
<p><em>ピッチ</em>ブロックは<a href="#音価"><em>音価</em></a>ブロックの中に使われています。<em>ピッチ</em>ブロックはピッチの名前とピッチのオクターヴを決めます。ピッチの名前とオクターヴの数値を組み合わせて、音符の振動(音波の振動)を決めます。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/note3.svg" alt="alt
tag" title="ピッチブロックの名前とオクターヴを決める方法"></p>
<p><em>ピッチ</em>の名前の選ばれるブロックが色々あります。次に例えが説明してあります。</p>
<p>上の<em>ピッチ</em>ブロックが<em>ソルフェージュ</em>ブロックで決められています。そのピッチ・ブロックは'ソル'と'4オクターヴ'のインプットがあります。ソルフェージュの名前が「ド、レ、ミ、ファ、ソ、ラ、シ」から選ぶことができます。</p>
<p>その次のピッチ・ブロックの選ばれているピッチが<em>ピッチ・アルファベット</em>ブロックで決められています。そのピッチ・ブロックのインプットは'G'と'4オクターヴ'です。ピッチ・アルファベットの名前が「C D E F G A B」から選ぶことができます。</p>
<p>その次のブロックが<em>音度</em>ブロックで例の選ばれている数値が音階(スケールかモード)の五度でオクターヴが4の意味です。<code>C == 1, D == 2, ...</code> (<<=== is this still correct for our newer method of scale degree??? Please check!)</p>
<p>その次のブロックは<em>ピッチ数字</em>ブロックでピッチが選ばれています。7のインプットで4オクターヴのC音符から7半音のピッチの意味です。ピッチ数字のゼロはどの絶対ピッチか<em>ピッチ数字のゼロを設定</em>ブロックで決めることができます。</p>
<p>一番下にあるブロックのピッチは<em>ハーツ</em>ブロックで決められています。ハーツ・ブロックは<em>数字・算数</em>の色々のブロックと一緒に使います。例のハーツ・ブロックの数値は<code>392</code>で音符が392ハーツのピッチで鳴らします。</p>
<p>ハーツを使うとオクターヴのインプットがむしします。オクターヴの数値のインプットは全数の必要があります。</p>
<p>ピッチの名前は<em>文事</em>ブロックでもインプットができますよ。 </p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/charts/KeyboardChart.svg" alt="alt tag" title="音符のピッチとピアノ・キーボード図">
<img src="https://rawgithub.com/sugarlabs/musicblocks/master/charts/MalletChart.svg" alt="alt tag" title="音符のピッチとマレット・パーカッション(打楽器)図">
ピッチブロックはピアノ・キーボード、マレット・パーカッション、音楽譜とどういう関係あるか上の図を使ってください。</p>
<h3 id="-a-name-a-2-3-"><a name="和音"></a>2.3 和音</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/note4.svg" alt="alt tag" title="和音の作る方法"></p>
<p>和音(一つよりの一緒に鳴らされているピッチ)は一つの<em>音価</em>ブロックの中に<em>ピッチ</em>ブロックを、上の例のように、一つ以上入れます。</p>
<h3 id="-a-name-a-2-4-"><a name="休符"></a>2.4 休符</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/silence.svg" alt="alt tag" title="休符ブロックの使い方"></p>
<p>休符ブロックは<em>音価</em>ブロックの中に入れるとその音価の長さで入れられているネズミが音鳴らしを休みます。</p>
<p><em>ピッチ</em>ブロックを出すと自動的に休符が現れます。</p>
<h3 id="-a-name-a-2-5-"><a name="ドラム"></a>2.5 ドラム</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum1.svg" alt="alt tag" title="ドラム・ブロックの使える例"></p>
<p><em>ピッチ</em>ブロックのも使える場合と同じでドラム・ブロックがピッチ・タイム行列か<em>音価</em>ブロックの中にも使えます。今、24個ぐらいのドラムの音の中から選ぶことができます。デフォルトのドラムがバス・ドラムです。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/note5.svg" alt="alt tag" title="一つよりのドラムの音を同時に"></p>
<p>この上の例のように<a href="#和音">和音</a>一つよりの<em>ドラム</em>ブロックが一緒に使えます。一つの<em>音価</em>ブロックの中に一つよりのドラム・ブロックと<em>ピッチ</em>ブロックとお好み組み合わせて音の楽しみができます。</p>
<h2 id="-a-name-a-3-"><a name="音楽でプログラミング"></a>3. 音楽でプログラミング</h2>
<p><a href="#音符">前のトピック (2. 音の関係)</a> | <a href="#目次">目次に戻す</a> | <a href="#ウィジェット">次のトピック (4. ウィジェット)</a></p>
<p>このセクションのトピックはチャンクで<em>動作</em>ブロックを使って音楽とプログラミングができます。チャンクが自分で動作ブロックを使って作ることも、<a href="#ピッチ・タイム行列"><em>ピッチ・タイム行列</em></a>を使って作ることもできます。</p>
<h3 id="-a-name-a-3-1-"><a name="チャンク"></a>3.1 チャンク</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix4.svg" alt="alt tag" title="動作ブロックの使われる例"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk1.svg" alt="alt tag" title="チャンクがスタート・ブロックの中に使われる例"></p>
<p>新しい<em>動作</em>ブロックをパレットから引く時、自動的に新しいブロックが作られます。その新しいブロックが<em>動作</em>パレットの一番上に現れます。新しいブロックがパレットから引かれたブロックのコードを絶対的に読んで実行します。ですから新しいブロックのコード・スタックをクリックしても引かれたブロックをクリックしても効果が同じです。パレットから引かれるデフォールトの名前が<code>チャンク</code>,<code>チャンク1</code>,<code>チャンク2</code>…です。そのデフォールトの名前が好きに変えることができます。いくつもパレットからお好み引いて使えます。</p>
<p><em>動作</em>の色々のブロックが入れられているブロックを読んで実行するためです。<em>動作</em>ブロックはいつも呼ばれた時にしか実行しません。例えば、スタート・ブロックの中にあるのが実行のボタンが押された時にしか実行しません。自分のコードと音楽を整理するためにすごく便利で約に立ちます。</p>
<p><em>スタート</em>ブロックは<em>動作</em>ブロックの一つの特別な種類です。実行のボタンをクリックするとすべてのスタート・ブロックの中に入っているコードが実行されます。スタート・ブロックはプロジェクトの初めでしょうか。</p>
<p>自分のプロジェクトを<em>実行</em>するために、いろんな方法がありまして画面の上左の<em>実行</em>ボタンを押すと三つの実行の早さのオプションがあります。一般押すと早く実行、少し長く押すとゆっくりなペースで実行、もと長く押すと音楽はゆっくりに動く。</p>
<p>上の例に<em>チャンク</em>ブロックは<em>スタート</em>ブロックの中で実行のボタンを押すと<em>スタート</em>ブロックの中に入ってるコード(この例で<em>チャンク</em>ブロック)が読まれて実行します。この例のブロックを変えたかったら、<em>スタート</em>ブロックにあるものを変えるだけです。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk2.svg" alt="alt tag" title="一つ以上のチャンク・ブロックを使う例"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk3.svg" alt="alt tag" title="回繰り返すブロックを使う例"></p>
<p><a href="#繰り返し">回繰り返す</a>チャンクを作る方法が色々あります。一つ以上の<em>チャンク</em>ブロックを一つ一つ使うか<em>回繰り返す</em>ブロックを使う方法もあります。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk4.svg" alt="alt tag" title="一つ以上の動作ブロック"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk5.svg" alt="alt tag" title="チャンクを一緒で順を変える例"></p>
<p>チャンクの順も変えて効果が変えます。上の例で最初に"チャンク"を弾いて、次に"チャンク1"二回で、最後に"チャンク"をまた弾きます。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk6.svg" alt="alt tag" title="チャンクで音楽を作る例"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/chunk7.svg" alt="alt tag" title="回繰り返すブロックを使って音楽を作る例"></p>
<p>チャンクを組み合わせて音楽が作れます!上のメロディーご存知ですか?(ミュージック・ブロックのコードを読んでチャレンジしてみてください)</p>
<h3 id="-a-name-a-3-2-"><a name="転化"></a>3.2 音楽的の転化</h3>
<p>ピッチとリズムを転化する方法がいっぱいあります。次に読んで、やってみましょう。</p>
<h4 id="-a-name-a-3-2-1-"><a name="音符動き"></a>3.2.1 音符動きのブロック</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform0.svg" alt="alt tag" title=" ステップピッチブロックの使える例"></p>
<p><em>ステップピッチ</em>ブロックはメロディーの音符を音階的に上/下に動かすことができます。上の例に<em>ステップピッチ</em>ブロックが<em>回繰り返す</em>ブロックの中でその入ってるコードが7回繰り返して、音階の音程で音符が上に上がって、下に下ろし動きます。</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523032034365533&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform16.svg" alt="alt tag" title="Using the Consonant Step Up and Down blocks"></p>
<p>Another way to move up and down notes in a scale is to use the
<em>Consonant Step Up</em> and <em>Consonant Step Down</em> blocks. These blocks
calculate the number of half-steps to the next note in the current
mode. (You can read more about <a href="#音階とモード">音楽の音階とモード</a> below.) Note
that the <em>Mouse,ピッチ,数字・算数</em> block returns the ピッチ number of the
most recent note played.</p>
<h4 id="-a-name-a-3-2-2-"><a name="シャープ(嬰)とフラット(変)"></a>3.2.2 シャープ(嬰)とフラット(変)</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform1.svg" alt="alt tag" title="シャープ(嬰)とフラット(変)の使える例"></p>
<p>♯は日本語で嬰(えい)、♭は変(へん)です。
<em>シャープ(嬰)</em>と<em>フラット(変)</em>のブロックは<em>ピッチ</em>ブロックか<em>音価</em>ブロックか<a href="#チャンク">チャンク</a>を巻いてピッチを転化することができます。一つの<em>シャープ(嬰)</em>ブロックを使ってピッチが半音上で変えます。一つの<em>フラット(変)</em>ブロックを使ってピッチが半音下で変えます。左の例<em>ピッチ</em>ブロックが'ミ'で<em>フラット(変)</em>の訳でピッチが半音下変えます(ミ♭になります)。右の例、二つの<em>ピッチ</em>ブロックも(和音)が両方のピッチも半音上変えます。</p>
<h4 id="-a-name-a-3-2-3-"><a name="移調をアジャスト"></a>3.2.3 移調をアジャスト</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform2.svg" alt="alt tag" title="移調をアジャスト"></p>
<p><em>移調をアジャスト</em>ブロックは巻かされているピッチ・ブロックで選ばれているピッチを半音の数値で変えることができます。整数のインプットはピッチを高く転調し、陰性のインプットはピッチを低く転調します。インプットイは全数の必要があります。オクターヴを転調するために、12のインプットは1オクターヴ上に転調し、-12のインプットは1オクターヴ下に転調します。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform3.svg" alt="alt tag" title="移調をアジャスト・ブロックで1オクターヴ上に転調する方法"></p>
<p>上の例にこの前の例のメロディーを転調をアジャスト・ブロックで1オクターヴに転化します。</p>
<h4 id="-a-name-a-3-2-4-"><a name="付点音符(ドット)"></a>3.2.4 付点音符(ドット)</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform4.svg" alt="alt tag" title="付点音符(ドット)のリズムを付点音符ブロックで作る方法"></p>
<p>"付点音符"のリズムの音符が<em>付点音符</em>ブロックでできます。付点音符の音符はその入っている音価を50%で増します(50%で増します)。例えば、付点音符の4分音符が三つの8分音符の長さで鳴らします。計算は1/4 + 1/8=「3/4」。付点音符の8分音符が3/16の音価で (1/8 + 1/16)鳴らします。</p>
<p>付点音符を使う代わりに音価の数値を変えて付点音符と同じ長さもできますよ。例えば、4分音符の符点音符の長さが欲しかったら、1/4の代わりに3/8のインプットをして4分音符の付点音符と同じ長さで鳴らします。
<img src="https://rawgit.com/sugarlabs/musicblocks/master/charts/DotsChart.svg" alt="alt tag" title="4分音符の付点音符の使い方です。"></p>
<h4 id="-a-name-a-3-2-5-"><a name="かけることと割ること"></a>3.2.5 演算で音価をかけ割ること</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform5.svg" alt="alt tag" title="テンポの早さを変える方法"></p>
<p>You can also multiply (or divide) the beat value, which will speed up
or slowdown the notes. Multiplying the beat value of an <code>1/8</code> note by
<code>2</code> is the equivalent of playing a <code>1/16</code> note. Dividing the beat
value of an <code>1/8</code> note by '2' is the equivalent of playing a <code>1/4</code>
note.</p>
<h4 id="-a-name-a-3-2-6-"><a name="繰り返し"></a>3.2.6 回繰り返し音符</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform6.svg" alt="alt tag" title="回繰り返すブロックで回数を決めます"></p>
<p>音符を回繰り返す方法が色々あります。<em>回繰り返す</em>ブロックははっている音符をインプットの数値で繰り返します。</p>
<p><em>重に</em>ブロックは入っている音符をすべてインプットの数値で重します。</p>
<p>左の例に結果が<code>ソ, レ, ソ, ソ,レ, ソ, ソ, レ, ソ, ソ, レ, ソ</code>で;右の例の結果が<code>ソ, ソ, ソ, ソ, レ, レ, レ, レ, ソ, ソ, ソ, ソ</code>です。</p>
<h4 id="-a-name-a-3-2-7-"><a name="スイング"></a>3.2.7 スイング・リズムとタイの音符</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform7.svg" alt="alt tag" title="スイング・リズムとタイ音符の方法"></p>
<p><em>スイング</em>ブロック音符対ずつで使えます。その音符の対の先が音価をスイングのインプット数値で増して、対の次の音符の数値からスイング・ブロックの数値を引きます。</p>
<p>対の音符の音価は同じじゃないのスイング・ブロックは効果がありません。</p>
<p>上の例で<code>レ 5</code>は<code>1/6</code>の音価で鳴らして、<code>ミ 5</code>は<code>1/12</code>の音価で鳴らします。(<code>1/8 + 1/24 === 1/6</code> and <code>1/8 - 1/24 === 1/12</code>)。 </p>
<p>対の音符の音価の合計は変わっていませんよ。</p>
<p>タイも音符対ずつで使えます。タイはそのタイ・ブロックの中に入っている音符の音価をすべて組み合わせてタイされている音価の合計で鳴らします。</p>
<p>タイ・ブロックに入っている音符のピッチは同じじゃないと効果がありません。タイ・ブロックに入っている音符の音価は違ってもOKです。</p>
<p><img src="https://rawgit.com/sugarlabs/musicblocks/master/charts/TiesChart.svg" alt="alt tag" title="タイ・ブロックの使う方法"></p>
<h4 id="-a-name-a-3-2-8-"><a name="他の転化"></a>3.2.8 音量、クレシェンド、スタッカート、スラーのブロックの関係</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform8.svg" alt="alt tag" title="音量を設定, クレッシェンド, スタッカート, またスラーのブロック"></p>
<p><em>音量を設定</em>ブロックは音符の鳴らす音量を変えます。デフォールトが50で最低限が0(絶対静か)で最大限が100(一番大きい音量)です.</p>
<p><em>クレッシェンド</em>ブロックは巻かされている音符の音量を小さく大きくします。例えば、5の数値の<em>クレッシェンド</em>ブロックに三つの音符ブロックが入っていたら、最後の音符の音量が最小の音符の音量より15%大きいです。</p>
<p><em>スタッカート</em>ブロックは音符の音価を変えなく音符の鳴らす長さをスタッカートの数値で短くします。</p>
<p><em>スラー</em>ブロックは音符の音価を変えなく音符の鳴らす長さをスラーの数値で長くします。音楽でレガートとも言います。</p>
<h4 id="-a-name-a-3-2-9-"><a name="音程と相対的な音量"></a>3.2.9 音程と相対的な音量の関係</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform9.svg" alt="alt tag" title="相対的な音程ブロックと相対的な音量を設定ブロック"></p>
<p><em>相対的な音程</em>は入っている音符から音程を計算してそのピッチも同時に鳴らします。例えば、音符から五度上の音も欲しかったら、このブロックを使います。上の例には、<code>レ</code>に'ラ'を<code>ミ</code>に'シ'を同時に鳴らします。</p>
<p><em>相対的な音量を設定</em>ブロックは入っている音符の音量をブロックの数値で足すことか引くことをします。例えば、100の数値は現在の音量を倍にします。</p>
<h4 id="-a-name-a-"><a name= "絶対音程"></a>絶対音程</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform14.svg" alt="alt tag" title="Using 絶対音程"></p>
<p><em>増</em>ブロックが絶対音程を計算します。例えば、「像5程度」(<===check this!!) はインプットのピッチふぁら像5程度のピッチの音符をインプットのピッチと一緒に鳴らします。 同様に、<em>短</em>のブロックはインプットのピッチから絶対の音程を計算して一緒に鳴らします。例えば、<em>短</em>のブロックを使えばインプットのピッチから<em>短</em>のピッチも一緒に鳴らします。他の絶対音程のブロックは<em>完全</em>のも、<em>減</em>のも、<em>長</em>のもあります。</p>
<p>上の像5音程の例で二つの音符のインプットから四つの音符が鳴らして、D_55とA_5和音の音符も一緒に鳴らします。その後、E_5とC_5のピッチの音符も和音として鳴らします。短3音程の例にはオクターヴの転化ともまず、D_5とF_5の音符が鳴らして、次にE_5とG_6の和音が鳴らします。</p>
<p>(how to say double stop?? Also correct in English. A chord is usually 3 notes or more)</p>
<h4 id="-a-name-a-3-2-11-"><a name= "転回"></a>3.2.11 音符転回</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform13.svg" alt="alt tag" title="転回"></p>
<p><em>転回</em>のブロックはmelodyの音程的にそのインプットの音符のピッチを転回します。<em>転回</em>ブロックで二つの種類があります。<em>奇数</em>が選ばれていると転回ブロックのピッチのインプットの回りで転回します。<em>偶数</em>が選ばれていると転回ブロックのピッチのインプットから半音の半分上のピッチからを回して転回します。</p>
<p>(take another look at English as well -- we should have a picture/chart for this as well)</p>
<p>上の<em>転回 (偶数)</em>の例で、<code>G_4</code>を回して転回して<code>D4</code>のピッチのインプットが入っていて<code>G_4</code>のピッチが結果で鳴らします。 上の<em>転回 (奇数)</em>の例で<code>D_4</code>のピッチが<code>G4</code>と<code>G♯4</code>の真ん中のピッチの回りで転回されて<code>C♯_5</code>のピッチの結果が出ます。</p>
<h4 id="-a-name-a-3-2-12-"><a name="逆に"></a>3.2.12 逆に</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform11.svg" alt="alt tag" title="逆に再生 block"></p>
<p><em>逆に再生</em>ブロックは入られている音符ブロックをすべて逆に再生します。上の例に In the example above, the notes in <em>チャンク</em>に入っている音符が<code>ソ</code>, <code>シ</code>, <code>ラ</code>, <code>ソ</code>の順番で再生します(下から上のように逆に再生します)。</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1522885752309944&run=True">ライブで再生</a></p>
<p><em>逆に再生</em>ブロックの中に入っているのすべてのブロックが逆に再生するので、論理のブロック(「もし」、「なら」、「でなければ」のそれぞれのブロック)を使う場合は注意!には気をつけってください。</p>
<h4 id="-a-name-a-3-2-13-"><a name= "音色と調の設定"></a>3.2.13 音色と調の設定</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform12.svg" alt="alt tag" title="シンセと音階/モードを設定するツールが「シンセを設定」パレットにあります"></p>
<p>(needs to be changed in English version as well: Set synth and set keys has been moved, right???)</p>
<p><em>シンセを設定</em>ブロックで入られているスタート(声部)の<a href="#シンセ">シンセ</a>を決めます。例えばバイオリンとチェロの音色のシンセを選ぶことができます。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform10.svg" alt="alt tag" title="音階/モードを設定"></p>
<p>The <em>音階/モードを設定</em>ブロックは block will change the key and mode of the mapping
between solfege, e.g., <code>ド</code>, <code>レ</code>, <code>ミ</code>, to note names, e.g., <code>C</code>,
<code>D</code>, <code>E</code>, when in C Major. 音階とモード include 長 and 短, Chromatic,
and a number of more exotic 音階とモード, such as Bebop, Geez, Maqam, etc.
This block allows users to access "movable ド" within Music
Blocks, where the mapping of solfege to particular ピッチ changes
depending on the user's specified tonality.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum4.svg" alt="alt tag" title="increasing sequence of drum beats over time"></p>
<p>In the above example, the sequence of <a href="#ドラム">ドラム</a> beats is increased over time.</p>
<p><a href="http://sugarlabs.github.io/musicblocks/?file=MusicBlocks_drumexample.tb">ライブで再生</a></p>
<h4 id="-a-name-a-3-2-14-"><a name="ビブラート"></a>3.2.14 ビブラート</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/transform15.svg" alt="alt tag" title="ビブラート block"></p>
<p><em>ビブラート</em>ブロックは入られているピッチの高音を早く小さく上げたり下げたりします。「強度」のインプットの数値は1から100(セント)までです。100セントは半音と同じですよ。レートのインプットがそのビブラートされている音符の音価でどのレートで行われます。</p>
<p>(I need to fix the Japanese, but we also need to fix the English as well)</p>
<h3 id="-a-name-a-3-3-"><a name="声部"></a>3.3 声部</h3>
<p>ミュージック・ブロックスで「再生」のボタンを押すとそれぞれの<em>スタート</em>ブロックは格声部のように再生します。(「再生」のボタンを押す時、すべての<em>スタート</em>ブロックのコードが同時に再生します。)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/voices1.svg" alt="alt tag" title="声部の使う方法"></p>
<p>この前の例のmelodyをもし、新しい声部とするため別のスタートブロックに入れて…</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/voices2.svg" alt="alt tag" title="複合的なスタートブロックとしてmelodyを再生"></p>
<p>...複合的な<em>スタート</em>ブロックで再生ができますよ!</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/voices3.svg" alt="alt tag" title="オクターヴを上に、下に転化する方法"></p>
<p>もしオクターヴを上にか、下にか転化すればもともとおもしろくなりますよ!</p>
<p>(Add to English and Japanese -- It is interesting b/c of the differentiation in sound)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/voices4.svg" alt="alt tag" title="それぞれの声部を時刻的にずれる方法"></p>
<p>時刻的にそのそれぞれの声部をずれれば最高におもしろいではありませんか?</p>
<p>(mention "round", which I guess in Japanese is "canon")</p>
<p>格声部を同じmelodyをこんな風に時刻的にずれるのは「ラウンド」、また「カノン」と言います。</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523026536194324&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/voices5.svg" alt="alt tag" title="イベントで声部の最小時刻を決めるのもう一つのやりかた"></p>
<p>(what is meant by "preprogrammed delay"? ...oh, I see. Grammar needs improvement.)</p>
<p>声部の時刻をずれるためもう一つのやりかたが、<em>送る</em>ブロックを使って声部の「最小時刻」をそのブロックが送ります。上の例には、melodyの決められた部分が再生されたら、イベントがそのブロックから送られて格声部ができます。<em>ネズミを動機</em>ブロックを使ってすべての声部が同じクロックに合わせって再生します。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum3.svg" alt="alt tag" title="バス・ドラムの使う方法"></p>
<p>ドラムのトラックを作るため、"ドラム"の特別な<em>スタート</em>ブロックがあります。ドラム・スタートに入っている、せべての<em>ピッチ</em>ブロックが、ドラムに変えて打ち鳴らします・<code>C2</code>がドラムのデフォルトです。(<== I do not understand what is meant by default sample.)上の例に<code>チャンク</code>の中に入ってるピッチがバス・ドラムの音として打ち鳴らします。</p>
<h3 id="-a-name-a-3-4-"><a name="グラフィックス"></a>3.4 グラフィックスと一緒に</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics1.svg" alt="alt tag" title="adding グラフィックス"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics2.svg" alt="alt tag" title="color range"></p>
<p>ネズミ・グラフィックス(もともとタートル・グラフィックス)は音楽と一緒に組み合わせることができます。 ネズミのパレットからのグラフィックスブロックス(<em>前</em>と<em>後ろ</em>のブロック)を<em>音価</em>ブロックの間に入れるとグラフィックスの動きが音楽と同時にします。</p>
<p>この例でネズミのスプライトが4分音価ずつ、音符が鳴らすと同時に前に動きます。それから8分音価の音符と一緒、右に向かって回ります。</p>
<p><em>回繰り返す</em>の回数で、ピッチが半音で高く転化して、ペンの大きさが少し大きくなります。</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1518563680307291&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics3.svg" alt="alt tag" title="グラフィックスと音楽の合わせる方法"></p>
<p>グラフィックスと音楽が一緒に合わせるため、もう一つのやり方がグラフィックスのコードを<em>音価</em>ブロックに入れるとその音価の期間で動作が行います。</p>
<p>ネズミのスプライトがダンスのように動くんでしょう。(added a comment that it is "dance-like"; need to change instances of turtle to mouse in English version) </p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523106271018484&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/fibonacci3.svg" alt="alt tag" title="「クロックなし」ブロックの使い方"></p>
<p>上の例に、グラフィックスとと音楽のコンピュータの操作がもと複雑の訳で音楽のタイミングをずらさないため、<em>クロックなし</em>ブロックがグラフィックスと音楽の動きを区別します。"クロックなし*ブロックはそれぞれの動作の順番をリズムより優先します。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics4.png" alt="alt tag" title="リズムの連続"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/tree-example.svg" alt="alt tag" title="「クロックなし」ブロックともう一つの例"></p>
<p>グラフィックスを音符に入れるのもう一つの例です。木の形をリズムに合わせてグラフィックスをネズミさんが書きます。木の枝、上ほど、ネズミが動くとピッチの高音も高くなります。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/tree.svg" alt="alt tag" title="木のグラフィック"></p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523029986215035&run=True">ライブで再生</a></p>
<h3 id="-a-name-a-3-5-"><a name="拍子"></a>3.5 拍子</h3>
<p>拍子ブロックで音楽のビートを決めます。拍子ブロックは<em>拍子記号</em>ブロックと一緒に使ってデフォルトが4/4です。</p>
<p><em>弱起</em>ブロックが初めの全拍子記号の前の拍子音価を決めるためです。弱起と言うのは「ピッカップ」とも読んでいます。</p>
<p>(Need better definition for pickup in English version)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/beat1.svg" alt="alt tag" title="拍子記号と弱起のブロックの使い方"></p>
<p>拍子を指定するの役に立つ時があります。例えば、下の例で音符の音量が1と3の拍子に増して、それぞれ残りの(弱)拍子の音量が小さくします。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/beat2.svg" alt="alt tag" title="on-拍子-do"></p>
<p><em>拍子に何々をする動作</em>ブロックと<em>弱拍に何々をする動作</em>ブロックでそれぞれの拍子に行う動作を指定することができます。(Note that the action is run before any blocks
inside the note block associated with the 拍子 are run.)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics5.svg" alt="alt tag" title="拍子ブロックでグラフィックスを音楽と合わせる方法"></p>
<p>Another approach to グラフィックスとのもう一つの使い方が拍子でそのグラフィックスを転化(Modulate)することです。. In the example above, we call the same グラフィックス action for each
note, but the parameters associated with the action, such as pen
width, are dependent upon which 拍子 we are on. On 泊 1, the pen
size is set to 50 and the 音量 to 75. On 泊 3, the pen size is set
to 25 and the 音量 to 50. On off 拍子s, the pen size is set to 5 and
the volumne to 5. The resultant graphic is shown below.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/graphics6.svg" alt="alt tag" title="グラフィックス modulated by 拍子"></p>
<h3 id="-a-name-a-3-6-"><a name="相互作用"></a>3.6 相互作用</h3>
<p>ミュージック・ブロックスでいろんな相互のコードの仕方があります。例えば他のネズミの動作を聞いて反応することもできます。</p>
<p>(grammar error in English)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/interactive.svg" alt="alt tag" title="相互のコード"></p>
<p>上の例の用にチャンクに入っているmelodyが相互的に再生できます。マウスのカーソルが左下の四分円に入ると<code>チャンク</code>が再生し、右下の四分円に入ると<code>チャンク1</code>が再生し、左上に入ると<code>チャンク2</code>が再生し、右上の四分円に入ると<code>チャンク3</code>が再生します。</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523028011868930&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/interactive2.svg" alt="alt tag" title="二つのキーのピアノの創作"></p>
<p>上の例で二つのキーのあるピアノが創作されています。
それぞれの音符が<em>クリック</em>イベントを二つのネズミスプライトに分けます。</p>
<p>この例をよく勉強して8キーのピアノがミュージック・ブロックスで作れるんでしょうか?</p>
<p>("Turtles" again)</p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1518563680450252&run=True">ライブで再生</a></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/interactive3.svg" alt="alt tag" title="乱数的なものが音楽に入れる方法"></p>
<p>乱数的なものが音楽と一緒に入れることができます。上の例に<em>これかそれ</em>ブロックは乱数的に<code>ド</code>、それとも<code>レ</code>を、<em>音価</em>ブロックが毎回鳴る時その音符のピッチにします。その下の例について、<em>これかそれ</em>のブロックが乱数的に<code>チャンク1</code>を、それとも<code>チャンク2</code>を選べます。</p>
<h2 id="-a-name-a-"><a name="ウィジェット"></a>ウィジェット</h2>
<p><a href="#音楽でプログラミング">前のトピック (3. 音楽でプログラミング)</a> | <a href="#目次">目次に戻す</a> | <a href="#ミュージック・ブロックスから以遠">次のトピック (5. ミュージック・ブロックスから以遠)</a></p>
<p>案内のこれからがミュージック・ブロックスの色々なウィジェットを紹介して使い方を案内します。ミュージック・ブロックスにあるウィジェットがコードと音楽をもともと分かりやすくするためです。</p>
<h3 id="-a-name-a-4-1-"><a name="ステータス"></a>4.1 ステータス</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/status1.svg" alt="alt tag" title="given Music block"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/status2.svg" alt="alt tag" title="ステータス in tabular form"></p>
<p>(Needs to see these pictures... later)</p>
<p><em>ステータス・ウィジェット</em>はミュージック・ブロックスの音符と計算との色々の再生されているものをどうなっているかのステータスの印刷ができるツールです。ステータスのデフォールトで出るのが音階(またモード)、BPM、また音量です。そのうえに鳴られている音符がみんな鳴るうちに放送します。一つの一列に一つの音声の鳴らされている音符のピッチ、また音価の数値がステータスで出ます。</p>
<p>デフォルトの<em>印刷</em>だけじゃなくて、そのより自分の見たいブロックも<em>ステータス</em> ウィジェットに入れることができます。例えば、音楽に対する音量、転化、音符の省略、<a href="#他の転化">スタッカート</a>、<a href="#他の転化">スラー</a>、など入れることができ、<a href="#グラフィックス">グラフィックス</a>に対するx、y、 向き、色、暗がり、灰色、ペンの大きさ、などを入れてそのそれぞれのブロックに関係ある放送の見ることができます。</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/status3.svg" alt="alt tag" title="ステータス・ブロックでその他にできるプログラムできる方法"></p>
<p>ステータス・ブロックでその他にプログラムできます。上の例でステータス・ブロックに入っているのは今の鳴らされている音量が放送する前、10割の計算がされています。</p>
<h3 id="-a-name-generation-a-4-2-"><a name="GENERATION"></a>4.2 音符のチャンクの作り方</h3>
<p>Using the ピッチ・タイム行列を使って、音符のチャンク(メロデイ)を簡単に作ることができます。</p>
<p>(Do we really want to say, "at a much faster speed"? Maybe "in a more convenient and intuitive manner"? or something else)</p>
<h4 id="-a-name-a-4-2-1-the-"><a name="ピッチ・タイム行列"></a>4.2.1 The ピッチ・タイム行列</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix1.svg" alt="alt tag" title="ピッチ・タイム行列"></p>
<p>ミュージック・ブロックスの一つのウィジェットが<em>ピッチ・タイム行列</em>で、ピッチと時期が行列となっているから音符の流れ方がもと簡単に想像できます。</p>
<p>(It is easier because you can see pitch over time; you can see the movement of the notes. Please take another look at English as well)</p>
<p><em>ピッチ・タイム行列</em>を使いたい際はパレットで「ウィジット」をクリックして「ピッチ・タイム行列」をそのパレットから引きます。そのブロックをクリックすると行列が現れるべきです。ピッチが横でリズム(時期)が縦です.</p>
<p>(This in the English version is dated as we do not have the pitch-time matrix at the start) </p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix2.svg" alt="alt tag" title="ピッチ・タイム行列にピッチとリズムのそれぞれのブロックの使い方"></p>
<p>The matrix in the figure above has three <em>ピッチ</em> blocks and one
<em>リズム</em> block, which is used to create a 3 x 3 grid of ピッチ and
time.</p>
<p>Note that the default matrix has five <em>ピッチ</em> blocks, hence, you will
see five rows, one for each ピッチ. (A sixth row at the bottom is used
for specifying the リズム・ブロック associated with each note.) Also by
default, there are two <em>リズム</em> blocks, which specifies six quarter
notes followed by one half note. Since the <em>リズム</em> blocks are inside
of a <em>回繰り返す</em> block, there are fourteen (2 x 7) columns for selecting
notes.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix3.svg" alt="alt tag" title="matrix"></p>
<p>By クリックing on individual cells in the grid, you should hear
individual notes (or 和音s if you クリック on more than one cell in a
column). In the figure, three quarter notes are selected (black
cells). First <code>レ 4</code>, followed by <code>ミ 4</code>, followed by <code>ソ 4</code>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/header-icons/play-button.svg" alt="alt tag" title="play button"></p>
<p>If you クリック on the <em>Play</em> button (found in the top row of the grid),
you will hear a sequence of notes played (from left to right): <code>レ 4</code>,
<code>ミ 4</code>, <code>ソ 4</code>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/header-icons/export-chunk.svg" alt="alt tag" title="save button"></p>
<p>Once you have a group of notes (a "チャンク") that you like, クリック on the
<em>Save</em> button (just to the right of the <em>Play</em> button). This will
create a stack of blocks that can used to play these same notes
programmatically. (More on that below.)</p>
<p>You can rearrange the selected notes in the grid and save other チャンク
as well.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/header-icons/sort.svg" alt="alt tag" title="sort button"></p>
<p>The <em>Sort</em> button will reorder the ピッチ in the matrix from highest
to lowest and eliminate any 重に <em>ピッチ</em> blocks.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/header-icons/close-button.svg" alt="alt tag" title="close button"></p>
<p>You can hide the matrix by クリックing on the <em>Close</em> button (the right-most
button in the top row of the grid.)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/header-icons/erase-button.svg" alt="alt tag" title="erase button"></p>
<p>There is also an Erase button that will clear the grid.</p>
<p>Don't worry. You can reopen the matrix at anytime (it will remember
its previous state) and since you can define as many チャンク as you
want, feel free to experiment.</p>
<p>Tip: You can put a チャンク inside a <em>ピッチ・タイム行列</em> block to generate
the matrix to corresponds to that チャンク.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix4.svg" alt="alt tag" title="usage of octave for a ピッチ"></p>
<p>The チャンク created when you クリック on the matrix is a stack of
blocks. The blocks are nested: an <em>動作</em> block contains three <em>Note
value</em> blocks, each of which contains a <em>ピッチ</em> block. The <em>動作</em>
block has a name automatically generated by the matrix, in this case,
チャンク. (You can rename the action by クリックing on the name.). Each note
has a duration (in this case 4, which represents a quarter note). Try
putting different numbers in and see (hear) what happens. Each note
block also has a ピッチ block (if it were a 和音, there would be
multiple <em>ピッチ</em> blocks nested inside the Note block's clamp). Each
ピッチ block has a ピッチ name (<code>レ</code>, <code>ミ</code>, and <code>ソ</code>), and a ピッチ
octave; in this example, the octave is 4 for each ピッチ. (Try changing
the ピッチ names and the ピッチ octaves.)</p>
<p>To play the chuck, simply クリック on the action block (on the word
action). You should hear the notes play, ordered from top to bottom.</p>
<h4 id="-a-name-a-4-2-2-"><a name="リズムのブロック"></a>4.2.2 リズムのブロック</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix6.svg" alt="alt tag" title="the リズム block"></p>
<p><em>リズム</em> blocks are used to generate リズム patterns in the
<em>ピッチ・タイム行列</em> block. The top argument to the <em>リズム</em> block
is the number of notes. The bottom argument is the duration of the
note. In the top example above, three columns for quarter notes
would be generated in the matrix. In the middle example, one column
for an eighth note would be generated. In the bottom example, seven
columns for 16th notes would be generated.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix7.svg" alt="alt tag" title="usage of リズム block"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix8.svg" alt="alt tag" title="resulting notes in tabular format"></p>
<p>You can use as many <em>リズム</em> blocks as you'd like inside the
<em>ピッチ・タイム行列</em> block. In the above example, two <em>リズム</em>
blocks are used, resulting in three quarter notes and six eighth
notes.</p>
<h4 id="-a-name-a-4-2-3-"><a name="タプルのこと"></a>4.2.3 タプルのこと</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix9.svg" alt="alt tag" title="simple tuplet"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix10.svg" alt="alt tag" title="tuplet and rhythmic note values"></p>
<p>Tuplets are a collection of notes that get scaled to a specific
duration. Using tuplets makes it easy to create groups of notes that
are not based on a power of 2.</p>
<p>In the example above, three quarter notes—defined in the <em>Simple
Tuplet</em> block—are played in the time of a single quarter
note. The result is three twelfth notes. (This form, which is quite
common in music, is called a <em>triplet</em>. Other common tuplets include a
<em>quintuplet</em> and a <em>septuplet</em>.)</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix11.svg" alt="alt tag" title="usage of tuplet"></p>
<p>In the example above, the three quarter notes are defined in the
<em>リズム</em> block embedded in the <em>Tuplet</em> block. As with the <em>Simple
Tuplet</em> example, they are played in the time of a single quarter
note. The result is three twelfth notes. This more complex form allows
for intermixing multiple リズム・ブロック within single tuplet.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix12.svg" alt="alt tag" title="embedding リズム and Tuplet block"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix13.svg" alt="alt tag" title="tuplet and rhythmic note values"></p>
<p>In the example above, the two <em>リズム</em> blocks are embedded in the
<em>Tuplet</em> block, resulting in a more complex リズム.</p>
<p>Note: You can mix and match <em>リズム</em> blocks and <em>Tuplet</em> blocks when
defining your matrix.</p>
<h4 id="-a-name-a-4-2-4-what-is-a-tuplet-"><a name="タプルとは"></a>4.2.4 What is a tuplet?</h4>
<p><img src="https://rawgit.com/sugarlabs/musicblocks/master/charts/TupletChart.svg" alt="alt tag" title="tuplet chart"></p>
<p><img src="https://rawgit.com/sugarlabs/musicblocks/master/charts/TripletChart.svg" alt="alt tag" title="triplet chart"></p>
<h4 id="-a-name-individual-notes-a-4-2-5-using-individual-notes-in-the-matrix"><a name="INDIVIDUAL-NOTES"></a>4.2.5 Using individual notes in the matrix</h4>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/matrix14.svg" alt="alt tag"></p>
<p>You can also use individual notes when defining the grid. These blocks
will expand into <em>リズム</em> blocks with the corresponding values.</p>
<h3 id="-a-name-a-4-3-"><a name="リズム・ブロック"></a>4.3 リズム・ブロックでリズムを</h3>
<p>The <em>Rhythm Ruler</em> block is used to launch a ウィジェット similar to the
<em>ピッチ・タイム行列</em> block. The ウィジェット can be used to generate rhythmic
patterns.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm1.svg" alt="alt tag" title="generating リズム・ブロック"></p>
<p>The argument to the <em>Rhythm Ruler</em> block specifies the duration that
will be subdivided to generate a rhythmic pattern. By default, it is 1
/ 1, e.g., a whole note.</p>
<p>The <em>Set ドラム</em> blocks contained in the clamp of the <em>Rhythm Ruler</em>
block indicates the number of リズム・ブロック to be defined simultaneously. By
default, two リズム・ブロック are defined. The embedded <em>リズム</em> blocks define
the initial subdivision of each rhythm ruler.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm2.svg" alt="alt tag" title="rhythm ruler"></p>
<p>When the <em>Rhythm Ruler</em> block is クリックed, the <em>Rhythm Ruler</em> ウィジェット is
opened. It contains a row for each リズム ruler. An input in the top
row of the ウィジェット is used to specify how many subdivisions will be
created within a cell when it is クリックed. By default, 2 subdivisions
are created.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm3.svg" alt="alt tag" title="usage of rhythm ruler"></p>
<p>As shown in the above figure, the top rhythm ruler has been divided
into two half-notes and the bottom rhythm ruler has been divided into
three third-notes. クリックing on the <em>Play</em> button to the left of each row
will playback the リズム using a ドラム for each 拍子. The <em>Play-all</em>
button on the upper-left of the ウィジェット will play back all リズム・ブロック
simultaneously.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm4.svg" alt="alt tag" title="divide cells in rhythm ruler"></p>
<p>The リズム can be further subdivided by クリックing in individual
cells. In the example above, two quarter-notes have been created by
クリックing on one of the half-notes.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm8.svg" alt="alt tag" title="タイ cells in rhythm ruler"></p>
<p>By dragging across multiple cells, they become タイd. In the example
above, two third-notes have been タイd into one two-thirds-note.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm5.svg" alt="alt tag" title="save stack button"></p>
<p>The <em>Save stack</em> button will export リズム stacks.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm6.svg" alt="alt tag" title="stacks of リズム・ブロック"></p>
<p>These stacks of リズム・ブロック can be used to define rhythmic patterns used
with the <em>ピッチ・タイム行列</em> block.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/rhythm7.svg" alt="alt tag" title="ドラムループを保存のボタン"></p>
<p>The <em>ドラムループを保存</em> button will export <em>スタート</em> stacks that will
play the リズム・ブロック as ドラムループ(既に再生 <=== check this!) machines.</p>
<h3 id="-a-name-a-4-4-"><a name="音階とモード"></a>4.4 音楽の音階とモード</h3>
<p>Musical 音階とモード are used to specify the relationship between <a href="#音程と相対的な音量">intervals</a>
(or steps) in a scale. Since Western music is based on 12 half-steps
per octave, 音階とモード speficy how many half steps there are between each
note in a scale.</p>
<p>By default, ミュージック・ブロックス uses the <em>長</em> mode, which, in the <a href="#音色と調の設定">Key</a> of
C, maps to the white keys on a piano. The intervals in the <em>長</em>
mode are <code>2, 2, 1, 2, 2, 2, 1</code>. Many other common 音階とモード are
built into ミュージック・ブロックス, including, of course, <em>短音階</em> (<===check this) mode, which
uses <code>2, 1, 2, 2, 1, 2, 2</code> as its intervals.</p>
<p>Note that not every mode uses 7 intervals per octave. For example, the
<em>Chromatic</em> mode uses 11 intervals: <code>1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1</code>. The <em>Japanese</em> mode uses only 5 intervals: <code>1, 4,
2, 3, 2],</code>. What is important is that the sum of the intervals
in an octave is 12 half-steps.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode1.svg" alt="alt tag" title="mode ウィジェット"></p>
<p>The <em>Mode</em> ウィジェット lets you explore 音階とモード and generate custom
音階とモード. You invoke the ウィジェット with the <em>Custom mode</em> block. The mode
specified in the <em>Set key</em> block will be the default mode when the
ウィジェット launches.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode2.svg" alt="alt tag" title="launching ウィジェット with Major mode"></p>
<p>In the above example, the ウィジェット has been launched with <em>Major</em> mode
(the default). Note that the notes included in the mode are indicated by
the black boxes, which are arrayed in a circular pattern of tweleve
half-steps to complete the octave.</p>
<p>Since the intervals in the <em>Major</em> mode are <code>2, 2, 1, 2, 2, 2, 1</code>, the
notes are <code>0</code>, <code>2</code>, <code>4</code>, <code>5</code>, <code>7</code>, <code>9</code>,<code>11</code>, and <code>12</code> (one octave
above <code>0</code>).</p>
<p>The ウィジェット controls run along the toolbar at the top. From left to
right are:</p>
<p><em>Play all</em>, which will play a scale using the current mode;</p>
<p><em>Save</em>, which will save the current mode as the <em>Custom</em> mode and save
a stack of <em>ピッチ</em> blocks that can be used with the <em>Pitch-time
Matrix</em> block;</p>
<p><em>Rotate counter-clockwise</em>, which will rotate the mode
counter-clockwise (See the example below);</p>
<p><em>Rotate clockwise</em>, which will rotate the mode clockwise (See the
example below);</p>
<p><em>転回</em>, which will 転回 the mode (See the example below);</p>
<p><em>Undo</em>, which will restore the mode to the previous version; and</p>
<p><em>Close</em>, which will close the ウィジェット.</p>
<p>You can also クリック on individual notes to activate or deactivate them.</p>
<p>Note that the mode inside the <em>Custom mode</em> block is updated whenever
the mode is changed inside the ウィジェット.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode3.svg" alt="alt tag" title="creating Dorian mode"></p>
<p>In the above example, the <em>Major</em> mode has been rotated clockwise,
transforming it into <em>Dorian</em>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode4.svg" alt="alt tag" title="creating Locrian mode"></p>
<p>In the above example, the <em>Major</em> mode has been rotated
counter-clockwise, transforming it into <em>Locrian</em>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode5.svg" alt="alt tag" title="creating Phrygian mode"></p>
<p>In the above example, the <em>Major</em> mode has been 転回ed, transforming
it into <em>Phrygian</em>.</p>
<p>Note: The build-in 音階とモード in ミュージック・ブロックス can be found in <a href="https://github.com/sugarlabs/musicblocks/blob/master/js/musicutils.js#L68">musicutils.js</a>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/mode6.svg" alt="alt tag" title="ピッチ・タイム行列 block"></p>
<p>The <em>Save</em> button exports a stack of blocks representing the mode that
can be used inside the <em>ピッチ・タイム行列</em> block.</p>
<h3 id="-a-name-a-4-5-"><a name="ピッチ・ドラム"></a>4.5 ピッチ・ドラム・グラフ</h3>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum2.svg" alt="alt tag" title="ピッチ・ドラム・グラフ"></p>
<p>The <em>Set ドラム</em> block is used to map the enclosed pitches into ドラム
sounds. ドラム sounds are played in a monopitch using the specified ドラム
sample. In the example above, a <code>kick ドラム</code> will be substitued for
each occurance of a <code>レ</code> <code>4</code>.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum8.svg" alt="alt tag" title="ピッチ・ドラム・グラフ 1"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum5.svg" alt="alt tag" title="table for ピッチ・ドラム・グラフ"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum6.svg" alt="alt tag" title="table for ピッチ・ドラム・グラフ"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/drum7.svg" alt="alt tag" title="ピッチ・ドラム・グラフ 1"></p>
<p>As an experience for creating mapping with the <em>Set ドラム</em> block, we
provide the <em>Drum-Pitch</em> Matrix. You use it to map between pitches and
drums. The output is a stack of <em>Set Dum</em> blocks.</p>
<h3 id="-a-name-a-4-6-"><a name="ピッチの階段"></a>4.6 音程の関係のことをピッチの階段ーで発見</h3>
<p>The <em>Pitch Staircase</em> block is used to launch a ウィジェット similar to the
<em>ピッチ・タイム行列</em>, which can be used to generate different pitches
using a given pitch and musical proportion.</p>
<p>The <em>ピッチ</em> blocks contained in the clamp of the <em>Pitch Staircase</em>
block define the pitches to be initialized simultaneously. By default,
one pitch is defined and it have default note "la" and octave "3".</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase0.svg" alt="alt tag" title="ピッチ・スライダーで何のピッチでも発見"></p>
<p>When <em>Pitch Staircase</em> block is クリックed, the <em>Pitch Staircase</em> ウィジェット is
initialized. The ウィジェット contains row for every <em>ピッチ</em> block contained
in the clamp of the <em>Pitch Staircase</em> block. The input fields in the top
row of the ウィジェット specify the musical proportions used to create new
pitches in the staircase. The inputs correspond to the numerator and
denominator in the proportion resectively. By default the proportion
is 3:2.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase1.svg" alt="alt tag" title="notes associated with the step in the ピッチの階段"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase2.svg" alt="alt tag" title="notes associated with the step in the ピッチの階段"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase3.svg" alt="alt tag" title="notes associated with the step in the ピッチの階段"></p>
<p>クリックing on the <em>Play</em> button to the left of each row will playback
the notes associated with that step in the ピッチの階段. The <em>Play-all</em>
button on the upper-left of the ウィジェット will play back all the pitch
steps simultaneously. A second <em>Play-all</em> button to the right of the
stair plays in increasing order of frequency first, then in
decreasing order of frequency as well, completing a scale.</p>
<p>The <em>Save stack</em> button will export pitch stacks. For example, in the above
configuration, the output from pressing the <em>Save stack</em> button is shown below:</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase4.svg" alt="alt tag" title="Pitch Stair block"></p>
<p>These stacks can be used with the <em>ピッチ・タイム行列</em> block to define
the rows in the matrix.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchstaircase5.svg" alt="alt tag" title="Pitch Stair block"></p>
<h3 id="-a-name-a-4-7-"><a name="ピッチ・スライダー"></a>4.7 ピッチ・スライダーで何のピッチでも発見</h3>
<p>The <em>ピッチ・スライダー</em> block is used to launch a ウィジェット that is used to
generate arbitray pitches. It differs from the <em>Pitch Staircase</em> ウィジェット in
that it is used to create frequencies that vary continuously within
the range of a specified octave.</p>
<p>Each <em>Sine</em> block contained within the clamp of the <em>ピッチ・スライダー</em> block defines the initial pitch
for an ocatve.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider0.svg" alt="alt tag" title="ピッチ・スライダー"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider1.svg" alt="alt tag" title="ピッチ・スライダー"></p>
<p>When the <em>ピッチ・スライダー</em> block is クリックed, the <em>ピッチ・スライダー</em> ウィジェット is
initialized. The ウィジェット will have one column for each <em>Sine</em> block in
the clamp. Every column has a slider that can be used to move up or
down in frequency, continuously or in intervals of 1/12th of the
starting frequency. The mouse is used to move the frequency up and down continuously. Buttons are
used for intervals. Arrow keys can also be used to move up and down,
or between columns.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider0a.svg" alt="alt tag" title="ピッチ・スライダー block"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider2.svg" alt="alt tag" title="ピッチ・スライダー"></p>
<p>クリックing in a column will extact the corresponding <em>Note</em> blocks, for example:</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider3.svg" alt="alt tag" title="ピッチ・スライダー"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider4.svg" alt="alt tag" title=" ピッチ・スライダー block"></p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/pitchslider5.svg" alt="alt tag" title=" ピッチ・スライダー block"></p>
<h3 id="-a-name-a-4-8-"><a name="テンポ"></a>4.8 テンポを変えること</h3>
<p>The <em>テンポ</em> block is used to launch a ウィジェット that enables the user to
visualize テンポ, defined in 拍子s per minute (BPM). When the <em>テンポ</em> block
is クリックed, the <em>テンポ</em> ウィジェット is initialized.</p>
<p>The <em>Master 泊s per Minute</em> block contained in the clamp of the
<em>テンポ</em> block sets the initial テンポ used by the ウィジェット. This
determines the speed at which the ball in the ウィジェット moves back and
forth. If BPM is 60, then it will take one second for the ball to move
across the ウィジェット. A round-trip would take two seconds.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/tempo0.svg" alt="alt tag" title="テンポを変えること"></p>
<p>The top row of the ウィジェット holds the <em>Play/pause</em> button, the <em>Speed
up</em> and <em>Slow down</em> buttons, and an input field for updating the
テンポ.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/tempo1.svg" alt="alt tag" title="テンポを変えること"></p>
<p>You can also update the テンポ by クリックing twice in spaced succession in the
ウィジェット: the new BPM is determined as the time between the two クリックs. For
example, if there is 1/2 seconds between クリックs, the new BPM will be set as 120.</p>
<h2 id="-a-name-a-"><a name="ミュージック・ブロックスから以遠"></a>ミュージック・ブロックスから以遠</h2>
<p><a href="#ウィジェット">前のトピック (4. ウィジェット)</a> | <a href="#目次">目次に戻す</a></p>
<p>ミュージック・ブロックス is a waypoint, not a destination. One of the goals is to
point the learner towards other powerful tools. One such tool is
<a href="http://lilypond.org">Lilypond</a>, a music engraving program.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/lilypond1.svg" alt="alt tag" title="adding Save as Lilypond block"></p>
<p>The <em>Save as Lilypond</em> block will transcribe your composition. The
output of the program above is saved to <code>Downloads/hotdog.ly</code>. There is
also a <em>Save as Lilypond</em> button on the secondary toolbar.</p>
<p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/lilypond2.svg" alt="alt tag" title="Save as Lilypond icon"></p>
<pre><code>\version <span class="hljs-string">"2.18.2"</span>
mouse = {
c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'4</span> c<span class="hljs-symbol">'4</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'4</span> g<span class="hljs-symbol">'4</span> a<span class="hljs-symbol">'8</span> a<span class="hljs-symbol">'8</span> a<span class="hljs-symbol">'8</span> a<span class="hljs-symbol">'8</span> a<span class="hljs-symbol">'4</span>
a<span class="hljs-symbol">'4</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'8</span> g<span class="hljs-symbol">'4</span> g<span class="hljs-symbol">'4</span> f<span class="hljs-symbol">'8</span> f<span class="hljs-symbol">'8</span> f<span class="hljs-symbol">'8</span> f<span class="hljs-symbol">'8</span> f<span class="hljs-symbol">'4</span> f<span class="hljs-symbol">'4</span> e<span class="hljs-symbol">'8</span> e<span class="hljs-symbol">'8</span> e<span class="hljs-symbol">'8</span> e<span class="hljs-symbol">'8</span>
e<span class="hljs-symbol">'4</span> e<span class="hljs-symbol">'4</span> d<span class="hljs-symbol">'8</span> d<span class="hljs-symbol">'8</span> d<span class="hljs-symbol">'8</span> d<span class="hljs-symbol">'8</span> d<span class="hljs-symbol">'4</span> d<span class="hljs-symbol">'4</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'8</span> c<span class="hljs-symbol">'4</span> c<span class="hljs-symbol">'4</span>
}
\score {
<<
\<span class="hljs-keyword">new</span> <span class="hljs-type">Staff</span> = <span class="hljs-string">"treble"</span> {
\clef <span class="hljs-string">"treble"</span>
\set <span class="hljs-type">Staff</span>.instrumentName = #<span class="hljs-string">"mouse"</span> \mouse
}
>>
\layout { }
}
</code></pre><p><img src="https://rawgithub.com/sugarlabs/musicblocks/master/guide-ja/hotdog.png" alt="alt tag" title="sheet music"></p>
<p><a href="https://musicblocks.sugarlabs.org/index.html?id=1523043053377623&run=True">ライブで再生</a></p>
</div>
</div>
</body>
</html>