Comments (2)
thats a good question.
in the case of samples you can already have unlimited slots. they are broken out over 'banks' (each of 10 slots) that are displayed on the screen. but you can have as many as you like
if you had (for example) 7 banks full of 10 samples each it would be possible to write a mapping that triggered each slot with a press of your launch pad button
you would just need to write a small helper function in actions.py
that takes the bank and slot number from the mapping - (something like this might do it although i havnt tested):
def _load_this_slot_and_bank_into_next_player(self, slot, bank):
if len(self.data.bank_data) <= bank:
self.message_handler.set_message('INFO', "bank %s doesnt exist" % bank)
else:
self.data.bank_number = bank
self._load_this_slot_into_next_player(slot)
and then all you need to do is write the specific functions that are set in the json mappings:
def load_slot_0_bank_3_into_next_player(self):
self._load_this_slot_and_bank_into_next_player(0,3)
...
the case for unlimited shaders is a little bit more tricky since they dont have unlimited banks like samples do. shaders have 3 layers (which interact with each other and are a bit more 'hardcoded' into the backend) - it would be possible to increase number of layers although requires more changes. the other option would be to increase the size of each layer - the only reason it is 10 is coz thats what can fit on the display... maybe a way to 'scroll down' the layer on the display would make sense in this case. or a quicker more hacky approach would be just to hard-code all the shaders into one big layer that you cant see or change. but can switch between with ur launchpad...
from r_e_c_u_r.
I see, thanks for the quick reply, seems like I'll have to explore this a bit more.
If python had meta-programming features like nim that would make the specific functions a lot easier ...
I understand now, the way I understood it was that shaders were "played" similarly to samples, that makes sense.
Thanks!
from r_e_c_u_r.
Related Issues (20)
- Better OSC Binding
- folder system is way slow with multiple files
- page up/down in folder system HOT 1
- redesign frame-sampling (detour) HOT 1
- midi mapping enhancements HOT 1
- shader browser slow on large harddrives
- Trouble with LPD8 HOT 10
- Switch for hdmi_force_hotplug in settings page? HOT 1
- i_n_c_u_r extension circuit is less stable on latest version (test this)
- Mention scanlines.xyz in the README alongside the FB group :) HOT 1
- Quantize sample start/end to MIDI clock HOT 24
- MIDI CC to rate? HOT 2
- Free up all alphaumeric keys for user keymapping
- Hide files and folders beginning with a dot from file browser HOT 2
- new control scheme (for default?) / nanokontrol HOT 1
- LOOP_TYPE parallel sampler issues HOT 3
- Menu changing skipping
- White background on LCD HOT 4
- emoji in sample title causes crashes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r_e_c_u_r.