HISE icon indicating copy to clipboard operation
HISE copied to clipboard

Sampler.ID constant not found

Open ustk opened this issue 3 years ago • 1 comments

constant not found: Sampler.ID so we need to use Sample.get(0) instead of Sample.get(Sampler.ID)

ustk avatar Feb 06 '21 14:02 ustk

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));

davidhealey avatar Apr 10 '22 14:04 davidhealey