void NoteOn(MidiChannel channel, int note, float velocity) { if (channel == LaunchControl) { LaunchNotes _note = (LaunchNotes)note; switch (_note) { default: break; } } if (channel == Arturia) { var _note = (ArturiaNotes)note; switch (_note) { case ArturiaNotes.BpmTap: SceneMan.I.BpmTap(); break; case ArturiaNotes.CameraNext: SceneMan.I.CameraNext(); break; case ArturiaNotes.LensDistort: PostProcessManager.I.BarrelPop(); break; case ArturiaNotes.TexturePop: SceneMan.I.MainTexturePop(); break; } } }
void NoteOff(MidiChannel channel, int note) { if (channel == LaunchControl) { LaunchNotes _note = (LaunchNotes)note; switch (_note) { default: break; } } if (channel == Arturia) { var _note = (ArturiaNotes)note; switch (_note) { default: break; } } }