Browse Source

Add description to Core modules. Disable QWERTY MIDI keyboard when an element is selected.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
dab876ab96
14 changed files with 23 additions and 23 deletions
  1. +1
    -1
      src/Core/AudioInterface.cpp
  2. +1
    -1
      src/Core/Blank.cpp
  3. +1
    -1
      src/Core/CV_CC.cpp
  4. +1
    -1
      src/Core/CV_Gate.cpp
  5. +1
    -1
      src/Core/CV_MIDI.cpp
  6. +1
    -1
      src/Core/MIDI_CC.cpp
  7. +1
    -1
      src/Core/MIDI_CV.cpp
  8. +1
    -1
      src/Core/MIDI_Gate.cpp
  9. +1
    -1
      src/Core/MIDI_Map.cpp
  10. +1
    -1
      src/Core/Notes.cpp
  11. +10
    -10
      src/Core/plugin.cpp
  12. +0
    -0
      src/Core/plugin.hpp
  13. +2
    -2
      src/plugin.cpp
  14. +1
    -1
      src/window.cpp

+ 1
- 1
src/Core/AudioInterface.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"
#include "audio.hpp"
#include "app.hpp"
#include <mutex>


+ 1
- 1
src/Core/Blank.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"
#include "app.hpp"

using namespace rack;


+ 1
- 1
src/Core/CV_CC.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


struct CCMidiOutput : midi::Output {


+ 1
- 1
src/Core/CV_Gate.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


struct GateMidiOutput : midi::Output {


+ 1
- 1
src/Core/CV_MIDI.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


template <int C>


+ 1
- 1
src/Core/MIDI_CC.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


struct MIDI_CC : Module {


+ 1
- 1
src/Core/MIDI_CV.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"

#include <algorithm>



+ 1
- 1
src/Core/MIDI_Gate.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


struct MIDI_Gate : Module {


+ 1
- 1
src/Core/MIDI_Map.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


struct MIDI_Map : Module {


+ 1
- 1
src/Core/Notes.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"

using namespace rack;



src/Core/Core.cpp → src/Core/plugin.cpp View File

@@ -1,4 +1,4 @@
#include "Core.hpp"
#include "plugin.hpp"


void init(rack::Plugin *p) {
@@ -6,7 +6,7 @@ void init(rack::Plugin *p) {
p->version = TOSTRING(VERSION);
p->name = "Core";
p->author = "VCV";
p->license = "LGPL-3.0-only and BSD-3-Clause";
p->license = "BSD-3-Clause";
p->authorEmail = "contact@vcvrack.com";
p->pluginUrl = "https://vcvrack.com/";
p->authorUrl = "https://vcvrack.com/";
@@ -19,17 +19,17 @@ void init(rack::Plugin *p) {
p->addModel(modelAudioInterface);

modelMIDI_CV->name = "MIDI-CV";
modelMIDI_CV->description = "";
modelMIDI_CV->description = "Converts MIDI from an external device to CV and gates";
modelMIDI_CV->tags = {"External", "MIDI"};
p->addModel(modelMIDI_CV);

modelMIDI_CC->name = "MIDI-CC";
modelMIDI_CC->description = "";
modelMIDI_CC->description = "Converts MIDI CC from an external device to CV";
modelMIDI_CC->tags = {"External", "MIDI"};
p->addModel(modelMIDI_CC);

modelMIDI_Gate->name = "MIDI-Gate";
modelMIDI_Gate->description = "";
modelMIDI_Gate->description = "Converts MIDI notes from an external device to gates";
modelMIDI_Gate->tags = {"External", "MIDI"};
p->addModel(modelMIDI_Gate);

@@ -39,27 +39,27 @@ void init(rack::Plugin *p) {
p->addModel(modelMIDI_Map);

modelCV_MIDI->name = "CV-MIDI";
modelCV_MIDI->description = "";
modelCV_MIDI->description = "Converts CV to MIDI and sends to an external device";
modelCV_MIDI->tags = {"External", "MIDI"};
p->addModel(modelCV_MIDI);

modelCV_CC->name = "CV-CC";
modelCV_CC->description = "";
modelCV_CC->description = "Converts CV to MIDI CC and sends to an external device";
modelCV_CC->tags = {"External", "MIDI"};
p->addModel(modelCV_CC);

modelCV_Gate->name = "CV-Gate";
modelCV_Gate->description = "";
modelCV_Gate->description = "Converts gates to MIDI notes and sends to an external device";
modelCV_Gate->tags = {"External", "MIDI"};
p->addModel(modelCV_Gate);

modelBlank->name = "Blank";
modelBlank->description = "";
modelBlank->description = "A resizable blank panel";
modelBlank->tags = {"Blank"};
p->addModel(modelBlank);

modelNotes->name = "Notes";
modelNotes->description = "";
modelNotes->description = "Write text for patch notes or artist attribution";
modelNotes->tags = {"Blank"};
p->addModel(modelNotes);
}

src/Core/Core.hpp → src/Core/plugin.hpp View File


+ 2
- 2
src/plugin.cpp View File

@@ -333,9 +333,9 @@ static void extractPackages(std::string path) {
////////////////////

void init(bool devMode) {
// Load core
// This function is defined in core.cpp
// Load Core
Plugin *corePlugin = new Plugin;
// This function is defined in Core/plugin.cpp
::init(corePlugin);
plugins.push_back(corePlugin);



+ 1
- 1
src/window.cpp View File

@@ -162,7 +162,7 @@ static void keyCallback(GLFWwindow *win, int key, int scancode, int action, int
APP->event->handleKey(window->mousePos, key, scancode, action, mods);

// Keyboard MIDI driver
if ((mods & WINDOW_MOD_MASK) == 0) {
if (!APP->event->selectedWidget && (mods & WINDOW_MOD_MASK) == 0) {
if (action == GLFW_PRESS) {
keyboard::press(key);
}


Loading…
Cancel
Save