Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hv.vline works in patch but won't upload #251

Open
RobertoHuge opened this issue Feb 26, 2018 · 6 comments
Open

hv.vline works in patch but won't upload #251

RobertoHuge opened this issue Feb 26, 2018 · 6 comments
Labels

Comments

@RobertoHuge
Copy link

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?

@sergiogranadamoreno
Copy link

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

@diplojocus
Copy link
Contributor

diplojocus commented Feb 26, 2018

@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

@RobertoHuge
Copy link
Author

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

@diplojocus
Copy link
Contributor

diplojocus commented Feb 27, 2018

@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~]

@RobertoHuge
Copy link
Author

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.

@diplojocus
Copy link
Contributor

done enzienaudio/heavylib@df0cf57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants