diff --git a/docs/sounds/000-mini-lead.mp3 b/docs/sounds/000-mini-lead.mp3 index 4e938a6..d6e5cfc 100644 Binary files a/docs/sounds/000-mini-lead.mp3 and b/docs/sounds/000-mini-lead.mp3 differ diff --git a/docs/sounds/001-moog-bass.mp3 b/docs/sounds/001-moog-bass.mp3 index 3e2c10e..d4467ac 100644 Binary files a/docs/sounds/001-moog-bass.mp3 and b/docs/sounds/001-moog-bass.mp3 differ diff --git a/docs/sounds/008-aura-atmos.mp3 b/docs/sounds/008-aura-atmos.mp3 index ef9e879..f67b80c 100644 Binary files a/docs/sounds/008-aura-atmos.mp3 and b/docs/sounds/008-aura-atmos.mp3 differ diff --git a/docs/sounds/samples.json b/docs/sounds/samples.json index ff18a0a..f6ce515 100644 --- a/docs/sounds/samples.json +++ b/docs/sounds/samples.json @@ -1 +1 @@ -{"samples":[{"id":"000","preset":0,"name":"MINI LEAD","file":"sounds/000-mini-lead.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.81,0.78,0.753,0.791,0.762,0.821,0.777,0.772,0.83,0.809,0.845,0.795,0.827,0.785,0.796,0.747,0.775,0.773,0.824,0.817,0.794,0.8,0.782,0.769,0.754,0.765,0.753,0.793,0.685,0.718,0.813,0.833,0.785,0.789,0.738,0.779,0.771,0.779,0.793,0.807,0.792,0.802,0.792,0.743,0.802,0.827,0.815,0.777,0.774,0.748,0.803,0.709,0.805,0.806,0.795,0.818,0.764,0.815,0.817,0.785,0.786,0.78,0.808,0.702,0.763,0.778,0.686,0.464,0.385,0.837,0.826,0.788,0.808,0.739,0.832,0.789,0.786,0.792,0.823,0.777,0.791,0.763,0.83,0.779,0.818,0.807,0.795,0.792,0.775,0.751,0.772,0.797,0.782,0.686,0.694,0.636,0.831,0.761,0.748,0.755,0.743,0.778,0.773,0.787,0.769,0.741,0.784,0.748,0.718,0.725,0.721,0.678,0.431]},{"id":"001","preset":1,"name":"MOOG BASS","file":"sounds/001-moog-bass.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.827,0.782,0.749,0.738,0.715,0.864,0.774,0.775,0.765,0.753,0.864,0.786,0.75,0.769,0.756,0.761,0.733,0.786,0.76,0.767,0.781,0.732,0.685,0.825,0.782,0.733,0.716,0.835,0.771,0.755,0.783,0.762,0.759,0.805,0.761,0.791,0.781,0.762,0.783,0.76,0.8,0.714,0.731,0.81,0.775,0.756,0.777,0.787,0.769,0.805,0.732,0.806,0.774,0.78,0.746,0.754,0.717,0.492,0.846,0.809,0.771,0.698,0.502,0.825,0.777,0.773,0.759,0.767,0.767,0.772,0.74,0.773,0.78,0.759,0.743,0.537,0.825,0.759,0.73,0.847,0.736,0.811,0.78,0.748,0.744,0.808,0.76,0.775,0.763,0.764,0.785,0.759,0.805,0.732,0.738,0.837,0.765,0.788,0.726,0.816,0.791,0.771,0.767,0.767,0.756,0.727,0.739,0.734,0.733,0.742,0.671,0.257,0.078,0.032,0.014,0.003]},{"id":"002","preset":2,"name":"PLUCK ARP","file":"sounds/002-pluck-arp.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.828,0.705,0.8,0.753,0.691,0.867,0.809,0.716,0.783,0.626,0.695,0.613,0.828,0.665,0.82,0.803,0.638,0.774,0.816,0.629,0.785,0.756,0.65,0.694,0.641,0.738,0.746,0.758,0.737,0.699,0.724,0.767,0.732,0.669,0.674,0.735,0.714,0.704,0.613,0.809,0.717,0.719,0.781,0.727,0.691,0.807,0.802,0.763,0.703,0.797,0.665,0.732,0.752,0.69,0.874,0.705,0.631,0.766,0.737,0.635,0.792,0.754,0.68,0.786,0.586,0.739,0.737,0.763,0.739,0.679,0.769,0.742,0.682,0.662,0.697,0.69,0.735,0.644,0.571,0.801,0.713,0.669,0.803,0.774,0.712,0.729,0.707,0.761,0.753,0.707,0.703,0.585,0.729,0.712,0.726,0.798,0.687,0.744,0.751,0.605,0.751,0.817,0.627,0.741,0.657,0.706,0.801,0.75,0.725,0.425,0.554,0.538,0.624,0.272,0.172,0.151]},{"id":"003","preset":3,"name":"PAD SWELL","file":"sounds/003-pad-swell.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.014,0.171,0.299,0.345,0.505,0.688,0.691,0.727,0.721,0.748,0.757,0.643,0.689,0.787,0.728,0.793,0.666,0.757,0.62,0.724,0.716,0.709,0.668,0.747,0.803,0.764,0.78,0.787,0.775,0.842,0.583,0.725,0.623,0.68,0.656,0.664,0.625,0.652,0.749,0.719,0.724,0.72,0.658,0.666,0.693,0.667,0.617,0.642,0.731,0.705,0.595,0.625,0.645,0.647,0.683,0.543,0.675,0.727,0.775,0.656,0.717,0.755,0.653,0.529,0.679,0.671,0.773,0.573,0.739,0.771,0.751,0.813,0.75,0.623,0.699,0.735,0.715,0.699,0.664,0.722,0.772,0.713,0.765,0.738,0.797,0.724,0.776,0.703,0.784,0.824,0.788,0.636,0.663,0.582,0.719,0.696,0.605,0.637,0.708,0.803,0.776,0.702,0.658,0.568,0.698,0.605,0.541,0.484,0.537,0.46,0.675,0.619,0.46,0.491,0.42,0.227]},{"id":"004","preset":4,"name":"SINE SOLO","file":"sounds/004-sine-solo.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.598,0.811,0.738,0.627,0.774,0.73,0.698,0.791,0.62,0.605,0.682,0.513,0.504,0.55,0.719,0.656,0.757,0.748,0.783,0.78,0.812,0.757,0.688,0.794,0.625,0.736,0.75,0.744,0.763,0.825,0.772,0.778,0.669,0.636,0.776,0.748,0.793,0.622,0.746,0.801,0.764,0.549,0.669,0.761,0.8,0.784,0.827,0.806,0.737,0.784,0.816,0.713,0.598,0.785,0.737,0.651,0.714,0.675,0.733,0.828,0.716,0.824,0.743,0.817,0.77,0.759,0.765,0.818,0.601,0.81,0.72,0.798,0.634,0.711,0.78,0.73,0.738,0.738,0.828,0.714,0.684,0.788,0.83,0.692,0.653,0.817,0.725,0.672,0.772,0.776,0.826,0.778,0.686,0.672,0.67,0.76,0.751,0.74,0.583,0.838,0.825,0.633,0.727,0.558,0.217,0.24,0.257,0.203,0.186,0.146,0.045,0.046,0.042,0.033,0.017,0.009]},{"id":"005","preset":5,"name":"SPACE DRONE","file":"sounds/005-space-drone.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.044,0.209,0.305,0.458,0.624,0.661,0.714,0.728,0.721,0.635,0.652,0.563,0.702,0.69,0.715,0.695,0.648,0.692,0.697,0.79,0.698,0.708,0.654,0.638,0.729,0.708,0.75,0.648,0.76,0.736,0.672,0.678,0.665,0.736,0.656,0.617,0.582,0.656,0.64,0.63,0.67,0.589,0.601,0.639,0.661,0.666,0.682,0.7,0.641,0.649,0.697,0.731,0.725,0.709,0.588,0.674,0.785,0.71,0.691,0.655,0.735,0.655,0.654,0.675,0.548,0.64,0.619,0.647,0.623,0.657,0.657,0.602,0.694,0.668,0.626,0.597,0.614,0.656,0.674,0.656,0.657,0.639,0.581,0.622,0.674,0.605,0.664,0.661,0.629,0.589,0.578,0.519,0.655,0.595,0.623,0.577,0.55,0.547,0.541,0.646,0.633,0.662,0.591,0.571,0.58,0.583,0.61,0.605,0.736,0.645,0.589,0.704,0.685,0.577,0.533,0.318]},{"id":"006","preset":6,"name":"CS-80 BRASS","file":"sounds/006-cs80-brass.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.735,0.781,0.78,0.733,0.624,0.594,0.56,0.598,0.392,0.578,0.779,0.772,0.705,0.823,0.801,0.745,0.604,0.626,0.556,0.528,0.353,0.555,0.737,0.777,0.764,0.815,0.687,0.748,0.68,0.574,0.673,0.627,0.306,0.722,0.787,0.761,0.772,0.759,0.757,0.672,0.686,0.52,0.561,0.471,0.317,0.758,0.77,0.788,0.644,0.769,0.838,0.789,0.741,0.668,0.634,0.577,0.623,0.498,0.845,0.769,0.598,0.743,0.744,0.681,0.703,0.644,0.491,0.5,0.508,0.586,0.801,0.808,0.772,0.771,0.784,0.848,0.746,0.728,0.637,0.533,0.455,0.617,0.8,0.74,0.714,0.753,0.87,0.698,0.698,0.68,0.635,0.583,0.501,0.656,0.798,0.75,0.733,0.781,0.792,0.763,0.72,0.721,0.749,0.753,0.739,0.699,0.715,0.597,0.455,0.35,0.374,0.352,0.315,0.185,0.138,0.054]},{"id":"007","preset":7,"name":"LUSH STRINGS","file":"sounds/007-lush-strings.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.14,0.669,0.77,0.747,0.719,0.689,0.776,0.739,0.77,0.802,0.716,0.698,0.67,0.632,0.694,0.786,0.701,0.686,0.722,0.649,0.706,0.694,0.723,0.719,0.784,0.686,0.764,0.673,0.742,0.712,0.737,0.737,0.673,0.723,0.795,0.728,0.727,0.681,0.72,0.759,0.694,0.762,0.759,0.722,0.706,0.562,0.727,0.759,0.737,0.709,0.723,0.714,0.76,0.623,0.694,0.719,0.749,0.601,0.759,0.744,0.554,0.711,0.717,0.727,0.764,0.792,0.642,0.728,0.674,0.666,0.707,0.751,0.738,0.804,0.656,0.643,0.63,0.709,0.714,0.652,0.722,0.702,0.678,0.663,0.772,0.733,0.731,0.673,0.665,0.734,0.713,0.73,0.74,0.779,0.637,0.77,0.71,0.748,0.745,0.715,0.611,0.743,0.761,0.733,0.669,0.714,0.667,0.68,0.633,0.494,0.506,0.397,0.32,0.214,0.207,0.099]},{"id":"008","preset":8,"name":"AURA ATMOS","file":"sounds/008-aura-atmos.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.021,0.148,0.235,0.358,0.523,0.583,0.684,0.748,0.735,0.696,0.755,0.625,0.729,0.771,0.652,0.691,0.691,0.746,0.717,0.722,0.737,0.737,0.721,0.666,0.645,0.772,0.667,0.684,0.631,0.65,0.626,0.479,0.539,0.581,0.638,0.624,0.584,0.551,0.569,0.607,0.659,0.615,0.707,0.715,0.694,0.689,0.66,0.708,0.772,0.616,0.708,0.604,0.655,0.666,0.609,0.608,0.748,0.627,0.748,0.7,0.665,0.681,0.675,0.668,0.659,0.747,0.668,0.61,0.606,0.699,0.702,0.675,0.661,0.584,0.654,0.673,0.717,0.739,0.667,0.711,0.653,0.595,0.74,0.667,0.647,0.603,0.591,0.586,0.577,0.608,0.703,0.667,0.648,0.609,0.618,0.55,0.607,0.563,0.568,0.638,0.637,0.577,0.696,0.597,0.553,0.574,0.588,0.553,0.572,0.513,0.581,0.573,0.597,0.507,0.51,0.225]},{"id":"009","preset":9,"name":"UFO","file":"sounds/009-ufo.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.105,0.449,0.665,0.774,0.753,0.727,0.654,0.713,0.718,0.671,0.699,0.684,0.669,0.735,0.733,0.68,0.708,0.713,0.715,0.754,0.676,0.753,0.617,0.759,0.75,0.713,0.693,0.686,0.64,0.649,0.663,0.71,0.656,0.593,0.666,0.621,0.68,0.745,0.682,0.734,0.698,0.675,0.74,0.709,0.685,0.668,0.73,0.769,0.734,0.727,0.694,0.719,0.771,0.754,0.746,0.691,0.74,0.697,0.778,0.632,0.796,0.632,0.697,0.645,0.656,0.729,0.715,0.726,0.734,0.667,0.705,0.752,0.625,0.669,0.773,0.666,0.751,0.736,0.749,0.655,0.686,0.672,0.676,0.687,0.649,0.727,0.619,0.702,0.759,0.615,0.68,0.831,0.73,0.67,0.726,0.703,0.642,0.577,0.674,0.612,0.552,0.688,0.657,0.614,0.534,0.605,0.591,0.524,0.473,0.541,0.604,0.569,0.617,0.68,0.48,0.326]}]} \ No newline at end of file +{"samples":[{"id":"000","preset":0,"name":"MINI LEAD","file":"sounds/000-mini-lead.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.817,0.786,0.788,0.79,0.751,0.839,0.792,0.782,0.789,0.8,0.808,0.813,0.808,0.787,0.76,0.77,0.767,0.805,0.779,0.788,0.808,0.834,0.812,0.795,0.782,0.76,0.778,0.754,0.725,0.607,0.81,0.834,0.77,0.755,0.737,0.747,0.794,0.778,0.806,0.806,0.794,0.81,0.796,0.769,0.843,0.784,0.804,0.749,0.776,0.693,0.799,0.785,0.782,0.795,0.8,0.817,0.809,0.787,0.768,0.762,0.763,0.705,0.702,0.682,0.793,0.768,0.744,0.644,0.551,0.828,0.827,0.767,0.833,0.766,0.788,0.842,0.806,0.77,0.784,0.805,0.786,0.794,0.824,0.759,0.762,0.803,0.82,0.807,0.761,0.81,0.795,0.803,0.737,0.721,0.753,0.63,0.782,0.764,0.673,0.726,0.751,0.796,0.792,0.803,0.797,0.778,0.791,0.753,0.771,0.731,0.796,0.758,0.391]},{"id":"001","preset":1,"name":"MOOG BASS","file":"sounds/001-moog-bass.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.825,0.813,0.753,0.731,0.721,0.862,0.787,0.793,0.759,0.737,0.855,0.8,0.799,0.789,0.786,0.782,0.757,0.798,0.814,0.787,0.788,0.774,0.769,0.833,0.783,0.738,0.756,0.8,0.802,0.777,0.813,0.786,0.75,0.848,0.78,0.822,0.772,0.807,0.787,0.776,0.826,0.782,0.768,0.794,0.755,0.815,0.806,0.79,0.793,0.757,0.789,0.786,0.783,0.791,0.778,0.753,0.639,0.274,0.873,0.867,0.787,0.716,0.7,0.824,0.816,0.776,0.795,0.789,0.787,0.826,0.747,0.808,0.787,0.776,0.776,0.583,0.845,0.77,0.761,0.817,0.762,0.793,0.817,0.776,0.753,0.843,0.83,0.793,0.753,0.812,0.768,0.815,0.799,0.764,0.774,0.799,0.801,0.795,0.783,0.784,0.806,0.782,0.779,0.807,0.777,0.766,0.77,0.761,0.741,0.728,0.637,0.287,0.109,0.031,0.01,0.003]},{"id":"002","preset":2,"name":"PLUCK ARP","file":"sounds/002-pluck-arp.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.828,0.705,0.8,0.753,0.691,0.867,0.809,0.716,0.783,0.626,0.695,0.613,0.828,0.665,0.82,0.803,0.638,0.774,0.816,0.629,0.785,0.756,0.65,0.694,0.641,0.738,0.746,0.758,0.737,0.699,0.724,0.767,0.732,0.669,0.674,0.735,0.714,0.704,0.613,0.809,0.717,0.719,0.781,0.727,0.691,0.807,0.802,0.763,0.703,0.797,0.665,0.732,0.752,0.69,0.874,0.705,0.631,0.766,0.737,0.635,0.792,0.754,0.68,0.786,0.586,0.739,0.737,0.763,0.739,0.679,0.769,0.742,0.682,0.662,0.697,0.69,0.735,0.644,0.571,0.801,0.713,0.669,0.803,0.774,0.712,0.729,0.707,0.761,0.753,0.707,0.703,0.585,0.729,0.712,0.726,0.798,0.687,0.744,0.751,0.605,0.751,0.817,0.627,0.741,0.657,0.706,0.801,0.75,0.725,0.425,0.554,0.538,0.624,0.272,0.172,0.151]},{"id":"003","preset":3,"name":"PAD SWELL","file":"sounds/003-pad-swell.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.014,0.171,0.299,0.345,0.505,0.688,0.691,0.727,0.721,0.748,0.757,0.643,0.689,0.787,0.728,0.793,0.666,0.757,0.62,0.724,0.716,0.709,0.668,0.747,0.803,0.764,0.78,0.787,0.775,0.842,0.583,0.725,0.623,0.68,0.656,0.664,0.625,0.652,0.749,0.719,0.724,0.72,0.658,0.666,0.693,0.667,0.617,0.642,0.731,0.705,0.595,0.625,0.645,0.647,0.683,0.543,0.675,0.727,0.775,0.656,0.717,0.755,0.653,0.529,0.679,0.671,0.773,0.573,0.739,0.771,0.751,0.813,0.75,0.623,0.699,0.735,0.715,0.699,0.664,0.722,0.772,0.713,0.765,0.738,0.797,0.724,0.776,0.703,0.784,0.824,0.788,0.636,0.663,0.582,0.719,0.696,0.605,0.637,0.708,0.803,0.776,0.702,0.658,0.568,0.698,0.605,0.541,0.484,0.537,0.46,0.675,0.619,0.46,0.491,0.42,0.227]},{"id":"004","preset":4,"name":"SINE SOLO","file":"sounds/004-sine-solo.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.598,0.811,0.738,0.627,0.774,0.73,0.698,0.791,0.62,0.605,0.682,0.513,0.504,0.55,0.719,0.656,0.757,0.748,0.783,0.78,0.812,0.757,0.688,0.794,0.625,0.736,0.75,0.744,0.763,0.825,0.772,0.778,0.669,0.636,0.776,0.748,0.793,0.622,0.746,0.801,0.764,0.549,0.669,0.761,0.8,0.784,0.827,0.806,0.737,0.784,0.816,0.713,0.598,0.785,0.737,0.651,0.714,0.675,0.733,0.828,0.716,0.824,0.743,0.817,0.77,0.759,0.765,0.818,0.601,0.81,0.72,0.798,0.634,0.711,0.78,0.73,0.738,0.738,0.828,0.714,0.684,0.788,0.83,0.692,0.653,0.817,0.725,0.672,0.772,0.776,0.826,0.778,0.686,0.672,0.67,0.76,0.751,0.74,0.583,0.838,0.825,0.633,0.727,0.558,0.217,0.24,0.257,0.203,0.186,0.146,0.045,0.046,0.042,0.033,0.017,0.009]},{"id":"005","preset":5,"name":"SPACE DRONE","file":"sounds/005-space-drone.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.044,0.209,0.305,0.458,0.624,0.661,0.714,0.728,0.721,0.635,0.652,0.563,0.702,0.69,0.715,0.695,0.648,0.692,0.697,0.79,0.698,0.708,0.654,0.638,0.729,0.708,0.75,0.648,0.76,0.736,0.672,0.678,0.665,0.736,0.656,0.617,0.582,0.656,0.64,0.63,0.67,0.589,0.601,0.639,0.661,0.666,0.682,0.7,0.641,0.649,0.697,0.731,0.725,0.709,0.588,0.674,0.785,0.71,0.691,0.655,0.735,0.655,0.654,0.675,0.548,0.64,0.619,0.647,0.623,0.657,0.657,0.602,0.694,0.668,0.626,0.597,0.614,0.656,0.674,0.656,0.657,0.639,0.581,0.622,0.674,0.605,0.664,0.661,0.629,0.589,0.578,0.519,0.655,0.595,0.623,0.577,0.55,0.547,0.541,0.646,0.633,0.662,0.591,0.571,0.58,0.583,0.61,0.605,0.736,0.645,0.589,0.704,0.685,0.577,0.533,0.318]},{"id":"006","preset":6,"name":"CS-80 BRASS","file":"sounds/006-cs80-brass.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.735,0.781,0.78,0.733,0.624,0.594,0.56,0.598,0.392,0.578,0.779,0.772,0.705,0.823,0.801,0.745,0.604,0.626,0.556,0.528,0.353,0.555,0.737,0.777,0.764,0.815,0.687,0.748,0.68,0.574,0.673,0.627,0.306,0.722,0.787,0.761,0.772,0.759,0.757,0.672,0.686,0.52,0.561,0.471,0.317,0.758,0.77,0.788,0.644,0.769,0.838,0.789,0.741,0.668,0.634,0.577,0.623,0.498,0.845,0.769,0.598,0.743,0.744,0.681,0.703,0.644,0.491,0.5,0.508,0.586,0.801,0.808,0.772,0.771,0.784,0.848,0.746,0.728,0.637,0.533,0.455,0.617,0.8,0.74,0.714,0.753,0.87,0.698,0.698,0.68,0.635,0.583,0.501,0.656,0.798,0.75,0.733,0.781,0.792,0.763,0.72,0.721,0.749,0.753,0.739,0.699,0.715,0.597,0.455,0.35,0.374,0.352,0.315,0.185,0.138,0.054]},{"id":"007","preset":7,"name":"LUSH STRINGS","file":"sounds/007-lush-strings.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.14,0.669,0.77,0.747,0.719,0.689,0.776,0.739,0.77,0.802,0.716,0.698,0.67,0.632,0.694,0.786,0.701,0.686,0.722,0.649,0.706,0.694,0.723,0.719,0.784,0.686,0.764,0.673,0.742,0.712,0.737,0.737,0.673,0.723,0.795,0.728,0.727,0.681,0.72,0.759,0.694,0.762,0.759,0.722,0.706,0.562,0.727,0.759,0.737,0.709,0.723,0.714,0.76,0.623,0.694,0.719,0.749,0.601,0.759,0.744,0.554,0.711,0.717,0.727,0.764,0.792,0.642,0.728,0.674,0.666,0.707,0.751,0.738,0.804,0.656,0.643,0.63,0.709,0.714,0.652,0.722,0.702,0.678,0.663,0.772,0.733,0.731,0.673,0.665,0.734,0.713,0.73,0.74,0.779,0.637,0.77,0.71,0.748,0.745,0.715,0.611,0.743,0.761,0.733,0.669,0.714,0.667,0.68,0.633,0.494,0.506,0.397,0.32,0.214,0.207,0.099]},{"id":"008","preset":8,"name":"AURA ATMOS","file":"sounds/008-aura-atmos.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.011,0.058,0.105,0.17,0.187,0.239,0.396,0.516,0.584,0.618,0.561,0.511,0.623,0.761,0.679,0.677,0.772,0.72,0.628,0.604,0.694,0.669,0.732,0.696,0.705,0.716,0.652,0.62,0.658,0.65,0.621,0.545,0.709,0.709,0.774,0.599,0.551,0.63,0.763,0.653,0.636,0.541,0.62,0.676,0.749,0.686,0.696,0.735,0.732,0.784,0.712,0.672,0.713,0.783,0.724,0.673,0.62,0.708,0.711,0.765,0.698,0.755,0.749,0.724,0.537,0.518,0.64,0.658,0.585,0.789,0.617,0.668,0.635,0.76,0.688,0.664,0.599,0.64,0.634,0.726,0.61,0.667,0.61,0.691,0.596,0.662,0.698,0.731,0.687,0.612,0.755,0.674,0.63,0.629,0.602,0.533,0.476,0.666,0.627,0.557,0.604,0.704,0.688,0.617,0.594,0.668,0.714,0.703,0.674,0.759,0.687,0.667,0.783,0.62,0.679,0.354]},{"id":"009","preset":9,"name":"UFO","file":"sounds/009-ufo.mp3","seconds":10.0,"peaks":[0.0,0.0,0.0,0.0,0.105,0.449,0.665,0.774,0.753,0.727,0.654,0.713,0.718,0.671,0.699,0.684,0.669,0.735,0.733,0.68,0.708,0.713,0.715,0.754,0.676,0.753,0.617,0.759,0.75,0.713,0.693,0.686,0.64,0.649,0.663,0.71,0.656,0.593,0.666,0.621,0.68,0.745,0.682,0.734,0.698,0.675,0.74,0.709,0.685,0.668,0.73,0.769,0.734,0.727,0.694,0.719,0.771,0.754,0.746,0.691,0.74,0.697,0.778,0.632,0.796,0.632,0.697,0.645,0.656,0.729,0.715,0.726,0.734,0.667,0.705,0.752,0.625,0.669,0.773,0.666,0.751,0.736,0.749,0.655,0.686,0.672,0.676,0.687,0.649,0.727,0.619,0.702,0.759,0.615,0.68,0.831,0.73,0.67,0.726,0.703,0.642,0.577,0.674,0.612,0.552,0.688,0.657,0.614,0.534,0.605,0.591,0.524,0.473,0.541,0.604,0.569,0.617,0.68,0.48,0.326]}]} \ No newline at end of file diff --git a/tools/fmini_samples.py b/tools/fmini_samples.py index 9cc8e79..d55201b 100644 --- a/tools/fmini_samples.py +++ b/tools/fmini_samples.py @@ -49,6 +49,19 @@ def C(b, d, ns, v=100): START = 0.4 +def bend_path(points, step=0.02): + """pitch bend events along breakpoints (t seconds, semitones); the range is +-2 (the factory's PITCH BEND 0), + so a semitone is 4096 steps around the centre 8192. Linear between the points, one event every `step` s.""" + ev = [] + for (t0, s0), (t1, s1) in zip(points, points[1:]): + n = max(1, int(round((t1 - t0) / step))) + for i in range(n + 1): + t = t0 + (t1 - t0) * i / n + v = s0 + (s1 - s0) * i / n + ev.append([round(t, 4), "bend", max(0, min(16383, round(8192 + v * 4096)))]) + return ev + + # ---- the ten arrangements: a keyboardist's line for each patch, in the register it sounds in ---- def mini_lead(off): @@ -58,18 +71,23 @@ def mini_lead(off): N(9, .5, 72), N(9.5, .5, 71), N(10, 1.5, 69), N(12, .25, 67), N(12.25, .25, 69), N(12.5, .25, 71), N(12.75, .25, 72), N(13, 1, 76), N(14, .5, 74), N(14.5, .5, 71), N(15, 1, 69), N(16.5, 2.5, 69, 110)] - return score(120, it, off, legato=0.95) + T = lambda b: START + b * 0.5 # 120 bpm: a beat is half a second + bends = [(0.0, 0.0), (T(1.5), -2.0), (T(1.5) + 0.2, 0.0), # scoop up into the E5 + (T(7.0), 0.0), (T(7.9), -2.0), (T(8.0), 0.0), # fall off the C5 before the D5 + (T(16.5) + 0.2, 0.0), (T(16.5) + 0.7, 1.0), (T(16.5) + 1.2, 0.0)] # the last note bends up and back + return score(120, it, off, legato=0.95) + bend_path(bends) def moog_bass(off): - # 001 MOOG BASS: a sixteenth-note bass riff in E minor, octave jumps, two cycles and a held octave + # 001 MOOG BASS: a sixteenth-note bass riff in E minor, octave jumps, two cycles and a held octave, an octave down c1 = [N(0, .5, 40), N(.75, .25, 52), N(1, .25, 40), N(1.5, .25, 43), N(1.75, .25, 40), N(2, .5, 45), N(2.5, .25, 47), N(2.75, .25, 45), N(3, .25, 43), N(3.5, .5, 40), N(4, .25, 40), N(4.25, .25, 40), N(4.5, .5, 52), N(5, .25, 50), N(5.25, .25, 47), N(5.5, .25, 43), N(5.75, .25, 45), N(6, .5, 47), N(6.5, .25, 40), N(6.75, .25, 52), N(7, .25, 43), N(7.25, .25, 45), N(7.5, .25, 47), N(7.75, .25, 50)] c2 = [(b + 8, d, n, v + (10 if i % 4 == 0 else 0)) for i, (b, d, n, v) in enumerate(c1)] c2 += [N(15.5, .25, 52, 120), N(15.75, 1.0, 52, 110)] - return score(110, c1 + c2, off, legato=0.85) + # one octave lower than the first version: the same riff with the key sent one octave higher + return score(110, c1 + c2, off + 12, legato=0.85) def pluck_arp(off): @@ -139,11 +157,9 @@ def lush_strings(off): def aura_atmos(off): - # 008 AURA ATMOS: a cluster that turns into another, a glassy motif on top, the bell figure on the offbeats - it = C(0, 5.0, (60, 64, 67, 71, 74, 77), 88) + C(5, 5.0, (62, 67, 69, 71, 74, 79), 88) - it += [N(1.5, .25, 84, 96), N(3.0, .25, 88, 96), N(4.25, .5, 86, 96), N(6.5, .25, 79, 96), - N(7.5, .25, 83, 96), N(8.75, .5, 86, 96)] - return score(72, it, off, legato=1.0) + # 008 AURA ATMOS: two notes an octave apart, sustained the whole sample, in the middle-lower register (C3 and C4) + it = C(0, 9.2, (48,), 100) + C(0, 9.2, (60,), 100) + return score(60, it, off, legato=1.0) def ufo_sweep(off):