Frank Bonarrigo

Avatar

Frank Bonarrigo's code

Keyboard Pattern recorder with samples this time

This is the second Keyboard. This one is setup for samples . Activating the Keyboard button allows you to play the keyboard with your computer Keyboard (Mac, not sure if Windows works). Number buttons change octaves. Start Time Capture records little phrases including Chords. Just copy paste your degree array and dur array into your Pattern setup . Do math in the array to make it work with your Key. It is setup for the Chromatic scale. Just replace the path with your sample . You must setup your sample to be Middle C so it tracks properly. Here is how in Audacity. If you have a sample but don't know its exact frequency, you can use Audacity to analyze and adjust it. Here's a step-by-step process to prepare your sample for use in the SuperCollider keyboard app: Determine the sample's frequency: Open your sample in Audacity. Select a stable portion of the note (avoid the attack and decay). Go to Analyze > Plot Spectrum. In the spectrum analysis window, look for the highest peak. This is likely your fundamental frequency. Note down this frequency. Adjust the sample to C4 (261.63 Hz): Select the entire audio sample. Go to Effect > Change Pitch. In the Change Pitch window, you'll see "Frequency (Hz)" fields. Enter the frequency you found in step 1 in the "from" field. Enter 261.63 in the "to" field. Click "OK" to apply the change. Verify the adjustment: After changing the pitch, use the Plot Spectrum tool again to confirm the new fundamental frequency is close to 261.63 Hz. Fine-tune if necessary: If it's slightly off, you can make small adjustments using the Change Pitch effect again. Prepare the sample as described earlier: Trim, normalize, loop (if desired), and apply fades. Export the adjusted sample: Go to File > Export > Export as WAV.

Keyboard phrase recorder and Pattern Array printer

10 Jul'24 08:12 in patternguisequencer

One of 2 Keyboards, The other will play a sample. This is one with a standard default Synth. Activating the Keyboard button allows you to play the keyboard with your computer Keyboard (Mac, not sure if Windows works). Number buttons change octaves. Start Time Capture records little phrases including Chords. Just copy paste your degree array and dur array into your Pattern setup . Do math in the array to make it work with your Key. It is setup for the Chromatic scale.