1 /* B.Jumblr 2 * Pattern-controlled audio stream / sample re-sequencer LV2 plugin 3 * 4 * Copyright (C) 2018 - 2020 by Sven Jähnichen 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 3, or (at your option) 9 * any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software Foundation, 18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 */ 20 21 #ifndef PORTS_HPP_ 22 #define PORTS_HPP_ 23 24 enum PortIndex { 25 CONTROL = 0, 26 NOTIFY = 1, 27 AUDIO_IN_1 = 2, 28 AUDIO_IN_2 = 3, 29 AUDIO_OUT_1 = 4, 30 AUDIO_OUT_2 = 5, 31 32 CONTROLLERS = 6, 33 SOURCE = 0, 34 PLAY = 1, 35 NR_OF_STEPS = 2, 36 STEP_BASE = 3, 37 STEP_SIZE = 4, 38 STEP_OFFSET = 5, 39 MANUAL_PROGRSSION_DELAY = 6, 40 SPEED = 7, 41 PAGE = 8, 42 43 MIDI = 9, 44 STATUS = 0, 45 CHANNEL = 1, 46 NOTE = 2, 47 VALUE = 3, 48 NR_MIDI_CTRLS = 4, 49 MAXCONTROLLERS = MIDI + 16 * NR_MIDI_CTRLS 50 }; 51 52 enum BaseIndex 53 { 54 SECONDS = 0, 55 BEATS = 1, 56 BARS = 2 57 }; 58 59 #endif /* PORTS_HPP_ */ 60