mirror of
https://github.com/ruppert/fmini-1.git
synced 2026-12-05 12:24:36 +01:00
Sound samples: pitch bend on 000, 001 an octave down, 008 two sustained notes
- 000 MINI LEAD: the melody uses the pitch bend (the factory's +-2): a scoop up into the E5, a fall off the C5 before the D5, and the last note bends up a semitone and back - 001 MOOG BASS: the same riff, one octave lower - 008 AURA ATMOS: two notes an octave apart (C3 and C4), sustained the whole sample, in the middle-lower register - docs/sounds regenerated Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
This commit is contained in:
5 files changed
+25
-9
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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,Line truncated
|
||||
{"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.7Line truncated
|
||||
+24
-8
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user