Control individual sample volumes?
-
@Chazrox if you want to adjust each dynamically maybe you could do
Synth.playNote(60, Knob1.getValue());
Synth.playNote(61, Knob2.getValue());
And maybe call Sampler1.changed(); for each
I'm not sure though, never tried it, but if not this then something similar I think
-
@rglides ehhhhh no, I don't think this works haha
-
@Chazrox said in Control individual sample volumes?:
Can we adjust volumes for samples loaded into sample maps with a slider? Or do I have to load samples into unique samplers and control the sampler volume? Im trying to figure out the easiest way to do this?
try:
-
@rglides lol Thanks anyways!
-
@Lindon I'll give this a try. Thanks!
-
@Chazrox no problem, worth a shot lol
-
@Lindon I checked it out but I cant figure it out. Could you possibly share a snort snippet with me if its not too much please.
-
@Chazrox In the note on callback you put
Message.setGain(-6);
and the incoming note will be set to -6db. -
@d-healey Thanks. Im trying to adjust drum samples. I have a set arrangement where the kick, snare,hat, etc. goes on the keyboard, so per key, like a mixer, I want to be able to change the volume of one note. I realize I thought of this late in the process of making this but if I have to i'll rebuild this idea.
So I guess my question is how to write this per note?
-
@Chazrox said in Control individual sample volumes?:
I want to be able to change the volume of one note
Which note? In realtime? Is this something the user should have control over?
-
@d-healey Sorry I should be more clear. Yes, in real time and I want to present a slider knob per key. I want individual knobs for Kick, snare, clap, hat, etc. Thank you.
-
@Chazrox I'd probably put each drum in a separate sampler, unless you have tons.
-
@d-healey yeah this 100%
-
@d-healey ok. My brain is trying to figure out how to call on all these different sample maps to 1 preset if I decide to do it this way with 12 samplers.
-
@Chazrox Do you want to load different sample maps for different presets?
-
@d-healey Yes. with this approach I imagine,
12 samplers,
- Kick
- stick
- snare 1
- clap
..... and so on.
each sampler has x amount of hits in them depending on how many total kits are available.
12 drum kits = 12 hits per sampler.
I just want to the user to be able to control the volume of each type of drum (per "track/key") from the interface.
-
@Chazrox said in Control individual sample volumes?:
Yes. with this approach I imagine,
In what way does changing a preset need to affect which sample maps are loaded?
-
@Chazrox Just occupy one drum type with one sample in each sampler. Kick on note 1 in sampler1, Snare on note 2 in sampler2 etc. give each sampler its own gain knob (and any other effect you want) and simply add sliders connected to those effects in the UI.
-
@rglides David has a good tutorial on key switching that you can adapt to add a bunch of kick samples, for example, into one note in one sampler/samplemap and allow the user to toggle through them with a slider in the UI
-
example:
while typing this I see @rglides comment also and yes, thats what I imagine doing.
Im trying to understand that concept before I go and rebuild my entire plugin. haha.
Im kinda grasping the concept slowly as im typing this also. Let me see if I got this correct.
I would have 12 tracks/samplers, each loaded with 12 samples.
I assume I could use combo boxes to load the proper samples per the curated drum "kit' and
make sure the combo boxes 'save in preset'.How does that sound? Im still fairly new to all of this so let me know if im being ambitious here. lol