Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add abstract methods to GarageBand.ck

  • Loading branch information...
commit ecc35aac5dd1e0846177dc085b698aaab6e765da 1 parent 5c64188
@heuermh authored
Showing with 188 additions and 2 deletions.
  1. +187 −0 GarageBand.ck
  2. +1 −2  GarageBandMidi.ck
View
187 GarageBand.ck
@@ -24,4 +24,191 @@
public class GarageBand
{
+ fun void noteOn(int note, int velocity)
+ {
+ }
+
+ fun void noteOff(int note, int velocity)
+ {
+ }
+
+ fun void noteOn(float velocity)
+ {
+ }
+
+ fun void noteOff(float velocity)
+ {
+ }
+
+ fun void freq(float frequency)
+ {
+ }
+
+ fun void classicStudioKit()
+ {
+ }
+
+ fun void vintageKit()
+ {
+ }
+
+ fun void liveRockKit()
+ {
+ }
+
+ fun void classicDrumMachine()
+ {
+ }
+
+ fun void houseDrumMachine()
+ {
+ }
+
+ fun void hipHopDrumMachine()
+ {
+ }
+
+ fun void kick(int velocity)
+ {
+ }
+
+ fun void kick(float velocity)
+ {
+ }
+
+ fun void sideStick(int velocity)
+ {
+ }
+
+ fun void sideStick(float velocity)
+ {
+ }
+
+ fun void claves(int velocity)
+ {
+ }
+
+ fun void claves(float velocity)
+ {
+ }
+
+ fun void snare(int velocity)
+ {
+ }
+
+ fun void snare(float velocity)
+ {
+ }
+
+ fun void rim(int velocity)
+ {
+ }
+
+ fun void rim(float velocity)
+ {
+ }
+
+ fun void clap(int velocity)
+ {
+ }
+
+ fun void clap(float velocity)
+ {
+ }
+
+ fun void lowTom(int velocity)
+ {
+ }
+
+ fun void lowTom(float velocity)
+ {
+ }
+
+ fun void middleTom(int velocity)
+ {
+ }
+
+ fun void middleTom(float velocity)
+ {
+ }
+
+ fun void highTom(int velocity)
+ {
+ }
+
+ fun void highTom(float velocity)
+ {
+ }
+
+ fun void closedHat(int velocity)
+ {
+ }
+
+ fun void closedHat(float velocity)
+ {
+ }
+
+ fun void openHat(int velocity)
+ {
+ }
+
+ fun void openHat(float velocity)
+ {
+ }
+
+ fun void pedalHat(int velocity)
+ {
+ }
+
+ fun void pedalHat(float velocity)
+ {
+ }
+
+ fun void ride(int velocity)
+ {
+ }
+
+ fun void ride(float velocity)
+ {
+ }
+
+ fun void crash(int velocity)
+ {
+ }
+
+ fun void crash(float velocity)
+ {
+ }
+
+ fun void cowbell(int velocity)
+ {
+ }
+
+ fun void cowbell(float velocity)
+ {
+ }
+
+ fun void fx(int velocity)
+ {
+ }
+
+ fun void fx(float velocity)
+ {
+ }
+
+ fun void bell(int velocity)
+ {
+ }
+
+ fun void bell(float velocity)
+ {
+ }
+
+ fun void shaker(int velocity)
+ {
+ }
+
+ fun void shaker(float velocity)
+ {
+ }
}
View
3  GarageBandMidi.ck
@@ -658,7 +658,7 @@ class HipHopDrumMachine extends DrumKit
// interacts with the GarageBand iOS app over MIDI
-public class GarageBandMidi
+public class GarageBandMidi extends GarageBand
{
MidiOut out;
ControlChangeMidiMsg ccMsg;
@@ -688,7 +688,6 @@ public class GarageBandMidi
// todo: this class should use polyphony
// todo: refactor common code to AbstractMidiApp or some such
- // todo: midi class should extend from non-midi class if possible
// MIDI instrument API
Please sign in to comment.
Something went wrong with that request. Please try again.