Don't worry, instead of creating a new commit with the new files:
git add . // add new files
git commit -m "Oops I forgot some files sry"
You can fix your last commit!:
( | |
MIDIClient.init; | |
MIDIIn.connectAll; | |
~sustain = 0; | |
~notes = Array.newClear(16); | |
~ys = Array.newClear(16); | |
MIDIdef.noteOn(\noteOnTest, { | |
arg vel, nn, chan, src; |
test |
#include <iostream> | |
#include <libusb.h> | |
#include <cstdlib> | |
#include <RtMidi.h> | |
using namespace std; | |
int main() { | |
RtMidiOut *midiout = 0; | |
std::vector<unsigned char> message; |
SynthDef.new("3DPulse", | |
{ | |
arg freq=440, z=0, gate=0, bend=0, y = 0; | |
var f, signal, env; | |
f = freq * bend.midiratio; | |
env = EnvGen.kr(Env.adsr(attackTime: 0.1,sustainLevel: 1, releaseTime: 0.5), gate, doneAction: 2); | |
signal = Pulse.ar(freq: f, width: y.linlin(0, 127, 0.5, 0.2), mul: 0.2); | |
signal = LPF.ar(in: signal, freq: z.linexp(0, 127, 50, 2500))!2*env; | |
Out.ar(0, signal); | |
}).add; |
#!/bin/sh | |
# ANSI Color -- use these variables to easily have different color | |
# and format output. Make sure to output the reset sequence after | |
# colors (f = foreground, b = background), and use the 'off' | |
# feature for anything you turn on. | |
initializeANSI() | |
{ | |
esc="" |
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html |
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html |
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html |