File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /build
2+ /dist
3+ /* .so
4+ /* .dylib
5+ /* .dll
6+ .DS_Store
Original file line number Diff line number Diff line change 1+ # If RACK_DIR is not defined when calling the Makefile, default to two directories above
2+ RACK_DIR ?= ../..
3+
4+ # FLAGS will be passed to both the C and C++ compiler
5+ FLAGS +=
6+ CFLAGS +=
7+ CXXFLAGS +=
8+
9+ # Careful about linking to shared libraries, since you can't assume much about the user's environment and library search path.
10+ # Static libraries are fine, but they should be added to this plugin's build system.
11+ LDFLAGS +=
12+
13+ # Add .cpp files to the build
14+ SOURCES += $(wildcard src/* .cpp)
15+
16+ # Add files to the ZIP package when running `make dist`
17+ # The compiled plugin and "plugin.json" are automatically added.
18+ DISTRIBUTABLES += res
19+ DISTRIBUTABLES += $(wildcard LICENSE* )
20+ DISTRIBUTABLES += $(wildcard presets)
21+
22+ # Include the Rack plugin Makefile framework
23+ include $(RACK_DIR ) /plugin.mk
Original file line number Diff line number Diff line change 1+ # Matrix Sequncer
Original file line number Diff line number Diff line change 1+ {
2+ "slug" : " matrix-sequencer" ,
3+ "name" : " Matrix Sequencer" ,
4+ "version" : " 2.0.0" ,
5+ "license" : " AGPL-3.0-only" ,
6+ "brand" : " Matrix Sequencer" ,
7+ "author" : " R3tr0" ,
8+ "authorEmail" : " offer.nik.kor@gmail.com" ,
9+ "authorUrl" : " " ,
10+ "pluginUrl" : " " ,
11+ "manualUrl" : " " ,
12+ "sourceUrl" : " " ,
13+ "donateUrl" : " " ,
14+ "changelogUrl" : " " ,
15+ "modules" : []
16+ }
Original file line number Diff line number Diff line change 1+ #include " plugin.hpp"
2+
3+
4+ Plugin* pluginInstance;
5+
6+
7+ void init (Plugin* p) {
8+ pluginInstance = p;
9+
10+ // Add modules here
11+ // p->addModel(modelMyModule);
12+
13+ // Any other plugin initialization may go here.
14+ // As an alternative, consider lazy-loading assets and lookup tables when your module is created to reduce startup times of Rack.
15+ }
Original file line number Diff line number Diff line change 1+ #pragma once
2+ #include < rack.hpp>
3+
4+
5+ using namespace rack ;
6+
7+ // Declare the Plugin, defined in plugin.cpp
8+ extern Plugin* pluginInstance;
9+
10+ // Declare each Model, defined in each module source file
11+ // extern Model* modelMyModule;
You can’t perform that action at this time.
0 commit comments