heavy icon indicating copy to clipboard operation
heavy copied to clipboard

hv.vline works in patch but won't upload

Open RobertoHuge opened this issue 7 years ago • 6 comments

I added the hv.vline object to my pd patch on Windows 7. I pasted the file to C/Program Files (x86)/Pd/extra It works fine in the patch, but won't upload and gives the following errors:

_main.pd in "_main.pd" @ (x:0, y:0): Don't know how to parse object "hv.vline". Is it an object supported by Heavy? Is it an abstraction? Have the search paths been correctly configured?

_main.pd in "_main.pd" @ (x:0, y:0): There was an error while connecting two objects. Have all objects been correctly instantiated? Have all inlets and outlets been declared?

[comment text] in "_main.pd" @ (x:0, y:0): Connection made to non-existent inlet at [comment {u'text': 'null object placeholder (hv.vline)'}]:0.

Any ideas how I can resolve this?

RobertoHuge avatar Feb 26 '18 18:02 RobertoHuge

Abstraction such as hv.line must be included within the project (zip file). Include hv.line.pd (as well as adsr.pd) within your project folder before compressing into zip file and uploading.

https://enzienaudio.com/docs/index.html#03.uploader

sergiogranadamoreno avatar Feb 26 '18 21:02 sergiogranadamoreno

@sergiogranadamoreno is correct, when uploading heavy will only be able to search through the files contained within the archive/zip. See the docs here for more info: https://enzienaudio.com/docs/index.html#02.getting_started#uploading

The simplest solution is to create a folder structure like this:

myPatch/
      _main.pd
      hv.line.pd  

And zip & upload the myPatch folder

diplojocus avatar Feb 26 '18 23:02 diplojocus

I zipped the file as you said and it uploads fine now, but hv.vline isn't working in Wwise. The patch works without hv.vline, and it works with it in Pd. I attached some images if you could please check that eveything is done correctly.

image

image

RobertoHuge avatar Feb 27 '18 14:02 RobertoHuge

@RobertoHuge I think the control connection to the [*~ ] on the left hand will not work correctly in heavy. Remove the [env~] section that converts it to control and leave everything at signal rate.

[osc~ ]
|           
|   [1 5, 0.02 50 5, 0 1000 5(
|   |
|   [hv.vline]
|   |     
|   |   [r MelodyVolume @hv_param 0 1 0]
|   |   |
|   |   [$1 100 (
|   |   |
|   |   [line~]
|   |   /
|   [*~ ]
|   /
[*~ ]
|
[dac~]

diplojocus avatar Feb 27 '18 14:02 diplojocus

Thank you very much - it works perfectly now!

Perhaps it would be a good idea to change the help file for hv.vline as I copied that example.

Thanks again.

RobertoHuge avatar Feb 27 '18 15:02 RobertoHuge

done https://github.com/enzienaudio/heavylib/commit/df0cf57d530e06e6015bd8e4a892a8387fb81406

diplojocus avatar Feb 27 '18 15:02 diplojocus