HISE
HISE copied to clipboard
Sampler.ID constant not found
constant not found: Sampler.ID
so we need to use Sample.get(0)
instead of Sample.get(Sampler.ID)
Does it work if you use a reference to a Sampler rather than calling it directly on the Sampler class?
const var Sampler1 = Synth.getSampler("Sampler1");
Console.print(Sample.get(Sampler1.ID));