diff --git a/source/native-plugins/Makefile b/source/native-plugins/Makefile index c33f70a28..0a45f7c6d 100644 --- a/source/native-plugins/Makefile +++ b/source/native-plugins/Makefile @@ -84,7 +84,7 @@ OBJS += \ $(OBJDIR)/audio-file.cpp.o \ $(OBJDIR)/bigmeter.cpp.o \ $(OBJDIR)/midi-file.cpp.o \ - $(OBJDIR)/midi-sequencer.cpp.o \ + $(OBJDIR)/midi-pattern.cpp.o \ $(OBJDIR)/notes.cpp.o # ---------------------------------------------------------------------------------------------------------------------------- @@ -256,7 +256,7 @@ $(OBJDIR)/midi-file.cpp.o: midi-file.cpp @echo "Compiling $<" @$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ -$(OBJDIR)/midi-sequencer.cpp.o: midi-sequencer.cpp +$(OBJDIR)/midi-pattern.cpp.o: midi-pattern.cpp -@mkdir -p $(OBJDIR) @echo "Compiling $<" @$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ diff --git a/source/native-plugins/_all.c b/source/native-plugins/_all.c index bbd582989..9904ba02e 100644 --- a/source/native-plugins/_all.c +++ b/source/native-plugins/_all.c @@ -35,7 +35,7 @@ extern void carla_register_native_plugin_audiofile(void); // MIDI file and sequencer extern void carla_register_native_plugin_midifile(void); -extern void carla_register_native_plugin_midisequencer(void); +extern void carla_register_native_plugin_midipattern(void); // Carla extern void carla_register_native_plugin_carla(void); @@ -85,7 +85,7 @@ void carla_register_all_native_plugins(void) // MIDI file and sequencer carla_register_native_plugin_midifile(); #ifdef CARLA_OS_LINUX - carla_register_native_plugin_midisequencer(); + carla_register_native_plugin_midipattern(); #endif #ifndef CARLA_OS_WIN diff --git a/source/native-plugins/_data.cpp b/source/native-plugins/_data.cpp index 10112ea54..6bd507803 100644 --- a/source/native-plugins/_data.cpp +++ b/source/native-plugins/_data.cpp @@ -215,12 +215,12 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = { /* supports */ NATIVE_PLUGIN_SUPPORTS_EVERYTHING, /* audioIns */ 0, /* audioOuts */ 0, - /* midiIns */ 1, + /* midiIns */ 0, /* midiOuts */ 1, /* paramIns */ 0, /* paramOuts */ 0, - /* name */ "MIDI Sequencer", - /* label */ "midisequencer", + /* name */ "MIDI Pattern", + /* label */ "midipattern", /* maker */ "falkTX, tatch", /* copyright */ "GNU GPL v2+", DESCFUNCS diff --git a/source/native-plugins/midi-sequencer.cpp b/source/native-plugins/midi-pattern.cpp similarity index 94% rename from source/native-plugins/midi-sequencer.cpp rename to source/native-plugins/midi-pattern.cpp index 046328991..a62c8a228 100644 --- a/source/native-plugins/midi-sequencer.cpp +++ b/source/native-plugins/midi-pattern.cpp @@ -22,7 +22,7 @@ // ----------------------------------------------------------------------- -class MidiSequencerPlugin : public NativePluginAndUiClass, +class MidiPatternPlugin : public NativePluginAndUiClass, public AbstractMidiPlayer { public: @@ -30,8 +30,8 @@ public: kParameterCount = 0 }; - MidiSequencerPlugin(const NativeHostDescriptor* const host) - : NativePluginAndUiClass(host, "midiseq-ui"), + MidiPatternPlugin(const NativeHostDescriptor* const host) + : NativePluginAndUiClass(host, "midipattern-ui"), fNeedsAllNotesOff(false), fWantInEvents(false), fWasPlayingBefore(false), @@ -349,13 +349,13 @@ private: } } - PluginClassEND(MidiSequencerPlugin) - CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(MidiSequencerPlugin) + PluginClassEND(MidiPatternPlugin) + CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(MidiPatternPlugin) }; // ----------------------------------------------------------------------- -static const NativePluginDescriptor midisequencerDesc = { +static const NativePluginDescriptor midipatternDesc = { /* category */ NATIVE_PLUGIN_CATEGORY_UTILITY, /* hints */ static_cast(NATIVE_PLUGIN_IS_RTSAFE |NATIVE_PLUGIN_HAS_UI @@ -364,26 +364,26 @@ static const NativePluginDescriptor midisequencerDesc = { /* supports */ NATIVE_PLUGIN_SUPPORTS_EVERYTHING, /* audioIns */ 0, /* audioOuts */ 0, - /* midiIns */ 1, + /* midiIns */ 0, /* midiOuts */ 1, - /* paramIns */ MidiSequencerPlugin::kParameterCount, + /* paramIns */ MidiPatternPlugin::kParameterCount, /* paramOuts */ 0, - /* name */ "MIDI Sequencer", - /* label */ "midisequencer", + /* name */ "MIDI Pattern", + /* label */ "midipattern", /* maker */ "falkTX, tatch", /* copyright */ "GNU GPL v2+", - PluginDescriptorFILL(MidiSequencerPlugin) + PluginDescriptorFILL(MidiPatternPlugin) }; // ----------------------------------------------------------------------- CARLA_EXPORT -void carla_register_native_plugin_midisequencer(); +void carla_register_native_plugin_midipattern(); CARLA_EXPORT -void carla_register_native_plugin_midisequencer() +void carla_register_native_plugin_midipattern() { - carla_register_native_plugin(&midisequencerDesc); + carla_register_native_plugin(&midipatternDesc); } // ----------------------------------------------------------------------- diff --git a/source/native-plugins/resources/midiseq-ui b/source/native-plugins/resources/midipattern-ui similarity index 100% rename from source/native-plugins/resources/midiseq-ui rename to source/native-plugins/resources/midipattern-ui