diff --git a/hvcc/generators/ir2c/templates/Heavy_NAME.cpp b/hvcc/generators/ir2c/templates/Heavy_NAME.cpp index c984c5d7..601c8693 100644 --- a/hvcc/generators/ir2c/templates/Heavy_NAME.cpp +++ b/hvcc/generators/ir2c/templates/Heavy_NAME.cpp @@ -161,6 +161,8 @@ void Heavy_{{name}}::{{x}} */ int Heavy_{{name}}::process(float **inputBuffers, float **outputBuffers, int n) { + sendBangToReceiver(0xDD21C0EB); // send to __hv_bang~ + while (hLp_hasData(&inQueue)) { hv_uint32_t numBytes = 0; ReceiverMessagePair *p = reinterpret_cast(hLp_getReadBuffer(&inQueue, &numBytes)); diff --git a/hvcc/interpreters/pd2hv/libs/pd/bang~.pd b/hvcc/interpreters/pd2hv/libs/pd/bang~.pd new file mode 100644 index 00000000..16034dc2 --- /dev/null +++ b/hvcc/interpreters/pd2hv/libs/pd/bang~.pd @@ -0,0 +1,6 @@ +#N canvas 502 0 450 300 12; +#X obj 99 115 r __hv_bang~; +#X obj 99 140 outlet; +#X obj 99 71 inlet; +#X text 151 69 inlet is inactive; +#X connect 0 0 1 0;