Heavylib hv.osc object not working

Hey there, I have seen people using the heavylib Objects such as hv.lfo in their Pd patches for Daisy. I have tried uploading a very simple patch – basically an hv.osc/square going to DAC – to test if it works on my Daisy Seed, but i don’t get any audio out of it. Are the heavylib objects even usable? I was surprised to see it but would love to use them if possible.

I flashed the patch directly from plugdata to daisy and there was no error message regarding the used objects and the export was successful.

Thanks for your help!

Please share your patch, all the heavylib objects are compatible.

You have to use it like [hv.osc~ square] and not [hv.osc/square]

Or in plugdata, with compiled mode enabled, you can select it from the object browser:

Thanks for your reply! That was probably the mistake. This is the patch i tried to flash. I’ll try again with the hv.osc~ square instead. Thanks!

Hey, So i’ve tried multiple times now and all it puts out is some crackling noise sadly … I also tried a patch with one hv.osc~ sine and a normal osc~ for comparison, but neither of the two oscillators gives me any output as soon as an hv.osc is involved in the patch. If i replace the hv.osc~ sine with osc~ it works out as expected.

Even though it shows export successful, the compiler shows a dfu-util Error and make Error 74. Could this have something to do with the issue?

Thanks in advance!

The error 74 is normal, and should be ignored. ‘File downloaded successfully’ is the important thing.

1 Like

Make sure you are sending a signal to control the frequency. Since you are connecting it to an analog control input you will want to smooth it out using a line~ object as well:

Make sure to go over the tips-and-tricks: hvcc/docs/02.getting_started.md at develop · Wasted-Audio/hvcc · GitHub

1 Like

Thanks! I"ll look into that :slight_smile:

  • and yes, the frequency control signal should be working as I’ve tested the exact same patch with osc~ and everything was fine. I’ll keep trying

As I said: make sure it’s a signal going in, not a control message.
Note the i/o-let and cable colors …

Ah yes, thanks for clarifying!

So it works now, thanks again for your help! I noticed the mistake was that as soon as i use heavylib objects, the patch will not immediately start working after flashing, but only after i disconnect and reconnect it with the power source. Not sure what that’s about but now it works fine. Thanks!

I’ve never encountered this issue and there should be no reason for that to happen :person_shrugging:

Alright, strange but at least it works :smiley: