Add initial version of the chapter on recording MIDI

This commit is contained in:
Alexandre Prokoudine 2022-08-16 02:57:41 +03:00
parent e42c7e965e
commit e6964ec52b
2 changed files with 988 additions and 0 deletions

View File

@ -0,0 +1,846 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="118.53333mm"
height="38.77747mm"
viewBox="0 0 118.53333 38.77747"
version="1.1"
id="svg5"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14, custom)"
sodipodi:docname="keyboard-map-to-piano-keys.svg"
inkscape:export-filename="keyboard-map-to-piano-keys.png"
inkscape:export-xdpi="150"
inkscape:export-ydpi="150"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#5d5d5d"
bordercolor="#111111"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="1"
inkscape:cx="209"
inkscape:cy="127"
inkscape:window-width="1280"
inkscape:window-height="659"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g11128" />
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient9329">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9325" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9327" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9323">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9319" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9321" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9317">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9313" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9315" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9311">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9307" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9309" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9305">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9301" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9303" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9299">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9295" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9297" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9293">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9289" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9291" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9287">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9283" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9285" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9281">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9277" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9279" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9275">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9271" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9273" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9269">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9265" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9267" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9263">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9259" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9261" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient9126">
<stop
style="stop-color:#cdd0c5;stop-opacity:1"
offset="0"
id="stop9122" />
<stop
style="stop-color:#fcfff2;stop-opacity:1"
offset="1"
id="stop9124" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9126"
id="linearGradient9128"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9329"
id="linearGradient9130"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9323"
id="linearGradient9132"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9317"
id="linearGradient9134"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9311"
id="linearGradient9136"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9305"
id="linearGradient9138"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9299"
id="linearGradient9140"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9293"
id="linearGradient9142"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9287"
id="linearGradient9144"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9281"
id="linearGradient9146"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9275"
id="linearGradient9148"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9269"
id="linearGradient9150"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9263"
id="linearGradient9152"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(20.241303,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9263"
id="linearGradient10692"
gradientUnits="userSpaceOnUse"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416"
gradientTransform="translate(26.855884,-4.0449788)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9263"
id="linearGradient10740"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(33.470462,-4.0449788)"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9126"
id="linearGradient10750"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(13.626717,-4.0449788)"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient9263"
id="linearGradient10760"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(46.699618,-4.0449788)"
x1="82.417717"
y1="116.41666"
x2="82.417717"
y2="156.10416" />
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath11130">
<rect
style="fill:#a90031;fill-opacity:1;stroke:none;stroke-width:2.04952;stroke-dasharray:none;stop-color:#000000"
id="rect11132"
width="118.53333"
height="38.77747"
x="79.772552"
y="113.28171"
rx="0"
ry="0" />
</clipPath>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-79.772552,-113.28171)">
<g
id="g11128"
clip-path="url(#clipPath11130)">
<rect
style="fill:url(#linearGradient9128);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect61"
width="6.0854168"
height="39.6875"
x="86.387138"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9130);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect950"
width="6.0854168"
height="39.6875"
x="93.001724"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9132);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect952"
width="6.0854168"
height="39.6875"
x="99.61631"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9134);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect954"
width="6.0854168"
height="39.6875"
x="106.2309"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9136);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect956"
width="6.0854168"
height="39.6875"
x="112.84548"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9138);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect958"
width="6.0854168"
height="39.6875"
x="119.46007"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9140);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1686"
width="6.0854168"
height="39.6875"
x="126.07465"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9142);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1688"
width="6.0854168"
height="39.6875"
x="132.68924"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9144);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1690"
width="6.0854168"
height="39.6875"
x="139.30383"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9146);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1692"
width="6.0854168"
height="39.6875"
x="145.91841"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9148);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1694"
width="6.0854168"
height="39.6875"
x="152.53299"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9150);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1696"
width="6.0854168"
height="39.6875"
x="159.14757"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9152);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect1698"
width="6.0854168"
height="39.6875"
x="165.76215"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect2426"
width="4.0569444"
height="26.458334"
x="90.708664"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect4606"
width="4.0569444"
height="26.458334"
x="98.116997"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect6060"
width="4.0569444"
height="26.458334"
x="109.75866"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect6788"
width="4.0569444"
height="26.458334"
x="117.83649"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect7516"
width="4.0569444"
height="26.458334"
x="129.33781"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect7518"
width="4.0569444"
height="26.458334"
x="137.02678"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect7520"
width="4.0569444"
height="26.458334"
x="144.43509"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect7522"
width="4.0569444"
height="26.458334"
x="156.12691"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect7524"
width="4.0569444"
height="26.458334"
x="164.20476"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:url(#linearGradient10692);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect10690"
width="6.0854168"
height="39.6875"
x="172.37672"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient10740);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect10738"
width="6.0854168"
height="39.6875"
x="178.9913"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect10742"
width="4.0569444"
height="26.458334"
x="175.88852"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:url(#linearGradient10750);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect10748"
width="6.0854168"
height="39.6875"
x="79.772552"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect10752"
width="4.0569444"
height="26.458334"
x="83.300331"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:url(#linearGradient10760);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000"
id="rect10758"
width="6.0854168"
height="39.6875"
x="192.22046"
y="112.37168"
rx="1.3229166"
ry="1.3229166" />
<rect
style="fill:url(#linearGradient9134);fill-opacity:1;stroke:none;stroke-width:2.59816;stop-color:#000000;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-opacity:1"
id="rect10754"
width="6.0854168"
height="39.6875"
x="185.60588"
y="112.37168"
rx="1.3229166"
ry="1.3229166"
transform="translate(-3.3333332e-7)" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect10762"
width="4.0569444"
height="26.458334"
x="183.28978"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<rect
style="fill:#3d3e3c;fill-opacity:1;stroke:none;stroke-width:1.732;stroke-dasharray:none;stop-color:#000000"
id="rect10764"
width="4.0569444"
height="26.458334"
x="190.69809"
y="112.37168"
rx="0.88194442"
ry="0.88194442" />
<g
aria-label="A"
transform="translate(-3.3333332e-7)"
id="text10111"
style="font-size:4.23333px;line-height:1.25;fill:#3d3e3c;stroke-width:0.108622">
<path
d="m 108.38819,148.00535 q -0.15664,0 -0.15664,-0.072 0,-0.0127 0.008,-0.055 l 0.76623,-2.77283 q 0.0254,-0.0804 0.16934,-0.0804 h 0.13546 q 0.1524,0 0.16934,0.0804 l 0.76623,2.77283 q 0.0127,0.0296 0.0127,0.055 0,0.0339 -0.0423,0.055 -0.0381,0.0169 -0.1143,0.0169 h -0.072 q -0.13547,0 -0.1524,-0.0677 l -0.18203,-0.69427 h -0.91017 l -0.1778,0.69427 q -0.0169,0.0677 -0.1524,0.0677 z m 1.21496,-1.08373 -0.30056,-1.15993 q -0.0127,-0.055 -0.0466,-0.25823 h -0.0212 q -0.008,0.0296 -0.0169,0.0974 l -0.0339,0.16087 -0.30056,1.15993 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path11975" />
</g>
<g
aria-label="S"
transform="translate(-3.3333332e-7)"
id="text10656"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 115.63777,148.01805 q -0.3937,0 -0.66463,-0.19473 -0.0254,-0.0169 -0.0381,-0.0339 -0.008,-0.0212 -0.008,-0.0635 0,-0.0762 0.0254,-0.15663 0.0296,-0.0847 0.072,-0.0847 0.0169,0 0.0254,0.008 0.008,0.008 0.0127,0.008 0.23283,0.18203 0.58843,0.18203 0.2159,0 0.35137,-0.127 0.1397,-0.13123 0.1397,-0.35137 0,-0.19896 -0.11007,-0.30903 -0.11006,-0.1143 -0.32596,-0.22437 -0.2413,-0.11853 -0.38524,-0.21589 -0.1397,-0.0974 -0.23706,-0.24977 -0.0931,-0.15663 -0.0931,-0.38947 0,-0.38523 0.2413,-0.60536 0.24554,-0.22437 0.635,-0.22437 0.30057,0 0.51647,0.127 0.0296,0.0169 0.0296,0.0508 0,0.055 -0.0423,0.15663 -0.0381,0.1016 -0.0762,0.1016 -0.0127,0 -0.055,-0.0212 -0.16087,-0.0804 -0.3937,-0.0804 -0.2032,0 -0.3429,0.11854 -0.1397,0.1143 -0.1397,0.33443 0,0.1905 0.1143,0.30903 0.11853,0.1143 0.381,0.24977 0.2159,0.11007 0.34713,0.20743 0.13547,0.0931 0.22437,0.24977 0.0889,0.1524 0.0889,0.38523 0,0.39793 -0.24554,0.6223 -0.24553,0.22013 -0.635,0.22013 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11978" />
</g>
<g
aria-label="D"
transform="translate(-3.3333332e-7)"
id="text10660"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 121.63947,147.99689 q -0.0593,0 -0.0889,-0.0296 -0.0254,-0.0296 -0.0254,-0.0974 v -2.70933 q 0,-0.0677 0.0254,-0.0974 0.0296,-0.0296 0.0889,-0.0296 h 0.7112 q 1.06256,0 1.06256,1.48166 0,1.48167 -1.06256,1.48167 z m 0.70273,-0.32174 q 0.3175,0 0.49953,-0.27516 0.18204,-0.2794 0.18204,-0.88477 0,-0.60113 -0.18204,-0.88053 -0.18203,-0.2794 -0.49953,-0.2794 h -0.4318 v 2.31986 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11981" />
</g>
<g
aria-label="F"
transform="translate(-3.3333332e-7)"
id="text10664"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 128.60476,148.00535 q -0.16087,0 -0.16087,-0.0931 v -2.75166 q 0,-0.0677 0.0254,-0.0974 0.0296,-0.0296 0.0889,-0.0296 h 1.10067 q 0.0804,0 0.0804,0.127 v 0.0677 q 0,0.127 -0.0804,0.127 h -0.83397 v 0.9652 h 0.762 q 0.0804,0 0.0804,0.127 v 0.0677 q 0,0.127 -0.0804,0.127 h -0.762 v 1.27 q 0,0.0931 -0.16086,0.0931 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11984" />
</g>
<g
aria-label="G"
transform="translate(-3.3333332e-7)"
id="text10668"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 136.50868,146.37976 q 0.1143,0 0.1143,0.127 v 1.21073 q 0,0.16086 -0.23283,0.23283 -0.23283,0.072 -0.53763,0.072 -1.07104,0 -1.07104,-1.48167 0,-0.77893 0.2794,-1.1557 0.2794,-0.37676 0.82974,-0.37676 0.15663,0 0.31326,0.0423 0.15664,0.0423 0.25824,0.10583 0.10583,0.0593 0.10583,0.1143 0,0.0593 -0.055,0.1524 -0.055,0.0931 -0.0974,0.0931 -0.0127,0 -0.0889,-0.0466 -0.0762,-0.0508 -0.18627,-0.0889 -0.10583,-0.0381 -0.24553,-0.0381 -0.381,0 -0.55033,0.29633 -0.16934,0.2921 -0.16934,0.8636 0,0.53763 0.16087,0.86783 0.16087,0.3302 0.52917,0.3302 0.22436,0 0.37676,-0.055 v -0.94403 h -0.35983 q -0.0423,0 -0.0635,-0.0296 -0.0212,-0.0296 -0.0212,-0.0974 v -0.0677 q 0,-0.0677 0.0212,-0.0974 0.0212,-0.0296 0.0635,-0.0296 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11987" />
</g>
<g
aria-label="H"
transform="translate(-3.3333332e-7)"
id="text10672"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 141.53632,148.00535 q -0.16086,0 -0.16086,-0.0931 v -2.794 q 0,-0.0931 0.16086,-0.0931 h 0.0635 q 0.15664,0 0.15664,0.0931 v 1.19804 h 1.11336 v -1.19804 q 0,-0.0931 0.16087,-0.0931 h 0.0593 q 0.16086,0 0.16086,0.0931 v 2.794 q 0,0.0931 -0.16086,0.0931 h -0.0593 q -0.16087,0 -0.16087,-0.0931 v -1.27423 h -1.11336 v 1.27423 q 0,0.0931 -0.15664,0.0931 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11990" />
</g>
<g
aria-label="J"
transform="translate(-3.3333332e-7)"
id="text10676"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 148.76325,148.02229 q -0.13547,0 -0.25824,-0.0339 -0.12276,-0.0381 -0.12276,-0.1016 0,-0.055 0.0296,-0.14393 0.0296,-0.0889 0.0677,-0.0889 0.0254,0 0.0974,0.0212 0.072,0.0169 0.14393,0.0169 0.21167,0 0.3048,-0.12277 0.0974,-0.12277 0.0974,-0.39793 v -2.05317 q 0,-0.0931 0.16087,-0.0931 h 0.0593 q 0.1651,0 0.1651,0.0931 v 2.01083 q 0,0.4191 -0.18203,0.65617 -0.1778,0.23707 -0.56303,0.23707 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11993" />
</g>
<g
aria-label="K"
transform="translate(-3.3333332e-7)"
id="text10680"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 156.40456,147.87835 q 0.0296,0.0381 0.0296,0.0677 0,0.0339 -0.0381,0.0466 -0.0381,0.0127 -0.13123,0.0127 h -0.0889 q -0.0847,0 -0.13124,-0.008 -0.0466,-0.008 -0.072,-0.0466 l -0.9271,-1.38006 h -0.0127 v 1.34196 q 0,0.0931 -0.1651,0.0931 h -0.055 q -0.16086,0 -0.16086,-0.0931 v -2.794 q 0,-0.0931 0.16086,-0.0931 h 0.055 q 0.1651,0 0.1651,0.0931 v 1.3208 h 0.0127 l 0.89746,-1.35466 q 0.0381,-0.0593 0.19897,-0.0593 h 0.072 q 0.072,0 0.11006,0.0169 0.0381,0.0127 0.0381,0.0381 0,0.0339 -0.0381,0.0847 l -0.91016,1.3208 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11996" />
</g>
<g
aria-label="L"
transform="translate(-3.3333332e-7)"
id="text10684"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 161.60504,147.99689 q -0.0593,0 -0.0889,-0.0296 -0.0254,-0.0296 -0.0254,-0.0974 v -2.75167 q 0,-0.0931 0.16086,-0.0931 h 0.0593 q 0.16087,0 0.16087,0.0931 v 2.55693 h 0.88053 q 0.0466,0 0.0635,0.0296 0.0212,0.0296 0.0212,0.0974 v 0.0677 q 0,0.0677 -0.0212,0.0974 -0.0169,0.0296 -0.0635,0.0296 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path11999" />
</g>
<g
aria-label=";"
transform="translate(-3.3333332e-7)"
id="text10688"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1"
inkscape:label="text10688">
<path
d="m 168.81709,146.24006 q -0.16086,0 -0.16086,-0.0931 v -0.2794 q 0,-0.0931 0.16086,-0.0931 h 0.0762 q 0.16087,0 0.16087,0.0931 v 0.2794 q 0,0.0931 -0.16087,0.0931 z m -0.16086,2.24789 q -0.0466,0 -0.0847,-0.0169 -0.0339,-0.0127 -0.0339,-0.0466 0,-0.0169 0.0127,-0.055 0.0127,-0.0339 0.0169,-0.0466 0.055,-0.1651 0.0847,-0.3175 0.0339,-0.1524 0.0339,-0.3302 0,-0.0635 0.0381,-0.0974 0.0423,-0.0381 0.12277,-0.0381 h 0.0423 q 0.0762,0 0.11853,0.0339 0.0423,0.0296 0.0423,0.0847 0,0.23707 -0.0677,0.42333 -0.0677,0.1905 -0.1651,0.29634 -0.0931,0.11006 -0.16086,0.11006 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path12002" />
</g>
<g
aria-label="'"
transform="translate(-3.3333332e-7)"
id="text10746"
style="font-size:4.23333px;line-height:1.25;font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, ';baseline-shift:baseline;opacity:1;fill:#3d3e3c;stroke-width:0.108622;stop-color:#000000;stop-opacity:1">
<path
d="m 175.40582,145.99876 q -0.0804,0 -0.0931,-0.0508 l -0.0931,-0.77894 v -0.0508 q 0,-0.0931 0.16933,-0.0931 h 0.0423 q 0.16934,0 0.16934,0.0931 0,0.0381 -0.0974,0.82974 -0.0127,0.0508 -0.0931,0.0508 z"
style="baseline-shift:baseline;stop-color:#000000;stop-opacity:1"
id="path12005" />
</g>
<g
aria-label="W"
id="text10899"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 111.03958,133.60835 q -0.1397,0 -0.1524,-0.0677 l -0.58843,-2.7813 -0.008,-0.0508 q 0,-0.0804 0.16933,-0.0804 h 0.055 q 0.1524,0 0.1651,0.0677 l 0.38946,2.0447 q 0.0254,0.127 0.055,0.36406 l 0.0127,0.10584 0.0847,-0.4826 0.3937,-2.02777 q 0.0169,-0.072 0.1524,-0.072 h 0.0847 q 0.13547,0 0.1524,0.072 l 0.39793,2.03623 q 0.0339,0.15664 0.072,0.47414 l 0.0804,-0.4699 0.37677,-2.0447 q 0.0127,-0.0677 0.16933,-0.0677 h 0.0466 q 0.16933,0 0.16933,0.0804 l -0.008,0.0508 -0.59266,2.7813 q -0.0127,0.0677 -0.1524,0.0677 h -0.16934 q -0.1397,0 -0.1524,-0.0677 l -0.37253,-1.78223 -0.0677,-0.52917 -0.0677,0.52917 -0.37254,1.78223 q -0.0127,0.0677 -0.1524,0.0677 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12008" />
</g>
<g
aria-label="E"
id="text11039"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 119.2723,133.59988 q -0.0593,0 -0.0889,-0.0296 -0.0254,-0.0296 -0.0254,-0.0974 v -2.70933 q 0,-0.0677 0.0254,-0.0974 0.0296,-0.0296 0.0889,-0.0296 h 1.2192 q 0.0804,0 0.0804,0.127 v 0.0677 q 0,0.127 -0.0804,0.127 h -0.9525 v 0.9652 h 0.85513 q 0.0804,0 0.0804,0.127 v 0.0677 q 0,0.127 -0.0804,0.127 H 119.539 v 1.03293 h 0.9525 q 0.0423,0 0.0593,0.0296 0.0212,0.0296 0.0212,0.0974 v 0.0677 q 0,0.0677 -0.0212,0.0974 -0.0169,0.0296 -0.0593,0.0296 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12011" />
</g>
<g
aria-label="T"
id="text11043"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 131.33876,133.60835 q -0.16086,0 -0.16086,-0.0931 v -2.55693 h -0.6096 q -0.0804,0 -0.0804,-0.127 v -0.0677 q 0,-0.127 0.0804,-0.127 h 1.59173 q 0.0466,0 0.0635,0.0296 0.0212,0.0296 0.0212,0.0974 v 0.0677 q 0,0.0677 -0.0212,0.0974 -0.0169,0.0296 -0.0635,0.0296 h -0.60113 v 2.55693 q 0,0.0931 -0.16087,0.0931 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12014" />
</g>
<g
aria-label="Y"
id="text11047"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 139.02562,133.60835 q -0.16086,0 -0.16086,-0.0931 v -1.2573 l -0.71967,-1.48167 q -0.0296,-0.0508 -0.0296,-0.0762 0,-0.072 0.1778,-0.072 h 0.0762 q 0.072,0 0.11007,0.0127 0.0381,0.0127 0.055,0.0508 l 0.5334,1.1938 0.53763,-1.19804 q 0.0127,-0.0339 0.055,-0.0466 0.0466,-0.0127 0.1143,-0.0127 h 0.0593 q 0.0847,0.004 0.12277,0.0212 0.0381,0.0169 0.0381,0.0508 0,0.0296 -0.0254,0.0762 l -0.7239,1.49437 v 1.2446 q 0,0.0931 -0.16087,0.0931 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12017" />
</g>
<g
aria-label="U"
id="text11051"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 146.46569,133.62528 q -0.45297,0 -0.70274,-0.22436 -0.24553,-0.22437 -0.24553,-0.62654 v -2.05316 q 0,-0.0931 0.16087,-0.0931 h 0.0593 q 0.16087,0 0.16087,0.0931 v 2.06586 q 0,0.2286 0.15663,0.37254 0.16087,0.14393 0.41064,0.14393 0.24553,0 0.40216,-0.14393 0.16087,-0.14817 0.16087,-0.37254 v -2.06586 q 0,-0.0931 0.16086,-0.0931 h 0.0593 q 0.16087,0 0.16087,0.0931 v 2.05316 q 0,0.40217 -0.24554,0.62654 -0.24553,0.22436 -0.69849,0.22436 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12020" />
</g>
<g
aria-label="O"
id="text11055"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 158.15326,133.62528 q -0.51646,0 -0.7874,-0.37676 -0.27093,-0.37677 -0.27093,-1.13877 0,-1.4986 1.05833,-1.4986 1.06257,0 1.06257,1.4986 0,0.762 -0.27093,1.13877 -0.27094,0.37676 -0.79164,0.37676 z m 0.004,-0.32173 q 0.66886,0 0.66886,-1.1938 0,-1.17686 -0.66886,-1.17686 -0.33444,0 -0.50377,0.28786 -0.1651,0.28364 -0.1651,0.889 0,1.1938 0.66887,1.1938 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12023" />
</g>
<g
aria-label="P"
id="text11059"
style="font-size:4.23333px;line-height:1.25;fill:#ffffff;stroke-width:0.10655">
<path
d="m 165.60247,133.60835 q -0.16087,0 -0.16087,-0.0931 v -2.75167 q 0,-0.0677 0.0254,-0.0974 0.0296,-0.0296 0.0889,-0.0296 h 0.6985 q 0.30057,0 0.5334,0.1778 0.23707,0.1778 0.23707,0.65194 0,0.35136 -0.13547,0.5461 -0.13123,0.19473 -0.30057,0.26246 -0.1651,0.0635 -0.30056,0.0635 h -0.46567 v 1.17687 q 0,0.0931 -0.16087,0.0931 z m 0.66463,-1.59173 q 0.1397,0 0.254,-0.12277 0.1143,-0.12276 0.1143,-0.42756 0,-0.28364 -0.11853,-0.3937 -0.1143,-0.1143 -0.2794,-0.1143 h -0.41487 v 1.05833 z"
style="font-family:'Asap Condensed';-inkscape-font-specification:'Asap Condensed, '"
id="path12026" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -0,0 +1,142 @@
+++
title = "Recording MIDI"
description = "How to record MIDI with Ardour"
chapter = false
weight = 2
+++
There are several ways to get MIDI into a MIDI track in Ardour apart from
importing an existing MIDI file. Let's have a look at them one by one.
## Real-time recording
Perhaps the most obvious option to record MIDI into Ardour is connecting a
MIDI keyboard to your audio interface or your computer directly and recording
whatever you play. It's a pretty straightforward process:
1. Select an existing MIDI track to record to or create a new one
2. Arm that track for recording (click the button with a red circle in the track header or press **Shift+B**)
3. Toggle the global recording mode (click the button with a red circle in the track header or press **Shift+B**)
4. Roll the transport (**Space** bar) to begin recording.
5. Stop the transport (**Space** bar) when you are done.
Usually when you record a part from a MIDI keyboard, you should be able to
hear yourself playing. If you see that everything is connected correctly and
yet you still can't hear any sound, check what MIDI channel your MIDI keyboard
is sending note-on/note-off events to. It is entirely possible that it's a
channel other than 1, and your virtual instrument of choice got no patches
loaded for that channel.
<!-- ### Launching the recording from a MIDI keyboard
A lot of MIDI keyboards come with a set of transport buttons for rewinding,
fast-forwarding, playing, and recording. This is particularly convenient for
cases when you need to record multiple takes and you don't want to swithc
between computer keyboard and MIDI keyboard all the time.
Pushing a transport button sends a MIDI Control Change (CC) event, but a DAW
like Ardour needs to interpret that CC event. So Ardour comes with MIDI maps
where a CC event
By default Ardour is configured so that MIDI input will follow MIDI track selection. This means that when you have multiple MIDI tracks that all can produce sound when you press a key on your MIDI keyboard,
Setup MIDI devices in Preferences: set "follow track" globally and per-device. -->
## Step Entry
The _Step Entry_ recording mode is convenient when a part is too complex to
record in real time (think sweeping arpeggios of 1/128th notes at 140bpm).
Instead of trying to achieve that live when you are on the schedule, you can
use your keyboard to enter the notes one by one at your own pace. Ardour will
record a note you play, move the playhead to the end of that note, then sit
and wait for the next note you play.
To enable this mode, right-click on **Record** button of a MIDI track, choose
_Step Entry_ in the newly opened menu. The _Step Entry_ dialog opens.
{{< figure src="en/step-entry-dialog.png" alt="The Step Entry dialog" >}}
Here are the options:
1. Chord entry mode — you can play multiple notes at once, they will be recorded like a chord and willl be above each other on the pianoroll.
2. Note length presets, from a whole note to 1/64th.
3. Dotted note presets
4. Rest presets
5. Velocity presets, from pianississimo to fortississimo
6. Numeric inputs for MIDI data: channel, length of a note, velocity, octave (for
entry from regular keyboard), MIDI bank and MIDI program (so that you could
use e.g. pizzicato sample in a sample library rather than arc).
Now you have three options:
1. Click piano keys with a mouse
2. Press keys on your regular keyboard
3. Use a MIDI keyboard connected to track's input
For option 2, the middle row of letter keys is used for white keys, and the upper letter row is for black keys:
{{< figure src="en/keyboard-map-to-piano-keys.svg" alt="Keyboard map to piano keys" >}}
All the settings you see in the _Step Entry_ dialog apply to the options 1 and
2. For each note you input next, you can set:
- Length, from a whole note to 1/64 (or any length when using the 1/Note spinbox), with optional chord input
- Channel
- Velocity (z through < on English (US) keyboard can be used as keyboard shortcuts)
- Octave (keys 1 through 9 can be used as shortcuts)
You can also insert rests which basically means that Ardour shifts the editing
cursor to the right by the currently selected note length.
When you use a MIDI keyboard for step entry, only a subset of settings in the
dialog apply. Ardour will use the defined note length, but it won't bother
with either velocity, channel, or octave settings and will use whatever you
send from the keyboard.
Let's try to use it.
1. Create a new track, select Surge XT as a virtual instrument.
3. Open the _Factory Patches_ navigator and select _Bass 2_ in _Basses_.
3. Make sure the playhead is at the beginning of the session so that it
matches the beginning of the first bar of all percussion tracks in the current
project.
4. Open the _Step Entry_ dialog
5. Select 1/8 note length and octave 3
5. On your regular keyboard press D,G,H,G,D,G,U,J
6. Press 4 to switch to octave 4, press S,D,G,T,D,S, press 3 to switch to octave 3
7. Press U,J. Then press H4ASA3H4AEDGH5A4JHGED.
Now you have a basic bass line you can repeat.
{{< figure src="en/initial-bass-line.png" alt="Initial bass line" >}}
<!-- ## TODO: Drawing sticks on the piano roll
If there is no existing region in your MIDI track, select the Draw mode,
left-click at the position where the region should start, drag to the point
where it should end, release the mouse button. Now you can draw and edit notes
inside the region. -->
Continuing
----------
In the next chapter, we'll talk about helping yourself to perform in sync with
the rest of the session material, whether you are using a MIDI keyboard to
record a lead synth part or a bass guitar.
Next: [PERFORMING ON TIME](../performing-on-time)