enzienaudio / heavy

heavy public issue tracker and static dsp code releases
https://enzienaudio.com
ISC License
71 stars 4 forks source link

Makenote Substitute? #184

Open bsangston opened 7 years ago

bsangston commented 7 years ago

Does anyone have a good makenote substitute/workaround? I've implemented my own versions of this that act perfectly fine within Pure Data, but don't function correctly inside Heavy's compiled version (I'm specifically using the Unity plugin/C# script).

It seems to be running into a lot of problems with note off messages not being sent, as well as occasional major audio meltdowns involving screeching noise and channels cutting in and out. Again, everything works as expected inside of Pure Data, but not in the Heavy compiled Unity plugin.

dbaxaudio commented 7 years ago

I've let Unity run for about an hour triggering a sampler with this custom make note setup ->

N canvas 0 22 646 456 10;

X msg 512 249 1;

X msg 294 147 0;

X obj 185 88 inlet;

X obj 512 323 outlet;

X obj 403 323 outlet;

X obj 185 118 t f b f b, f 55;

X obj 294 169 f;

X obj 512 271 f;

X obj 294 194 pipe 0 700, f 13;

X obj 185 196 pipe 0 700, f 13;

X connect 0 0 7 0;

X connect 1 0 6 0;

X connect 2 0 5 0;

X connect 5 0 9 0;

X connect 5 1 1 0;

X connect 5 2 4 0;

X connect 5 3 0 0;

X connect 6 0 8 0;

X connect 7 0 3 0;

X connect 8 0 3 0;

X connect 9 0 4 0;

diplojocus commented 7 years ago

thanks for the inspiration @dbaxaudio

@Bsangston I've pushed an implementation of [makenote] to the dev release in heavy. If you could try it out and let me know if you run into any issues.

See here for more information on specifying a build with the dev release https://enzienaudio.com/docs/index.html#03.uploader