Yet another IML "how does it work?" question
Hi again. Can anyone tell me why the following IML doesn't connect the output of audio bus module to the input of the vuMeter?
SET_TARGET_PATCH SENDER_PATCH
CREATE_MODULE VU 81 100 0
CREATE_MODULE InBus 284 0 0
SET_STRING_VALUE InBus name InBus
RENAME_MODULE InBus
SELECT_MODULE InBus
CREATE_LINK InBus 1 VU 1
Thanks!
SET_TARGET_PATCH SENDER_PATCH
CREATE_MODULE VU 81 100 0
CREATE_MODULE InBus 284 0 0
SET_STRING_VALUE InBus name InBus
RENAME_MODULE InBus
SELECT_MODULE InBus
CREATE_LINK InBus 1 VU 1
Thanks!
Regards,
Scott
Scott
What error message?
Sometomes, when doing these, it really helps to have the console open. Do the actions by hand, and watch/learn from the iml that is generated.
Sometomes, when doing these, it really helps to have the console open. Do the actions by hand, and watch/learn from the iml that is generated.
Address the process rather than the outcome. Then, the outcome becomes more likely. - Fripp
Thanks for getting back to me Shawn.
Yes, the console is always open on my machine. HH is waaay too much of a black box to expect that something will run as planned.
The error is that it can't find module InBus. (Silly me. I just assume y'all would run the code, or that my mistake was something obvious.)
Thanks again.
Yes, the console is always open on my machine. HH is waaay too much of a black box to expect that something will run as planned.
The error is that it can't find module InBus. (Silly me. I just assume y'all would run the code, or that my mistake was something obvious.)
Thanks again.
Regards,
Scott
Scott
I wasn't at my computer, just my phone. I was debating whether to point you to thread or not, in which I had similar issues:
http://www.sensomusic.com/forums/viewtopic.php?id=4547
I had found that 'var not found' messages were erroneous and could be safely ignored.
Some of my issues went away with HH2 & some were specifically with subpatches.
Still, you may find something helpful in that thread.
http://www.sensomusic.com/forums/viewtopic.php?id=4547
I had found that 'var not found' messages were erroneous and could be safely ignored.
Some of my issues went away with HH2 & some were specifically with subpatches.
Still, you may find something helpful in that thread.
Address the process rather than the outcome. Then, the outcome becomes more likely. - Fripp
By, the way, the much simpler version works:
CREATE_MODULE VU 81 100 0
CREATE_MODULE InBus 284 0 0
CREATE_LINK InBus 1 VU 1
You still get the erroneous 'Var not found' messages though.
CREATE_MODULE VU 81 100 0
CREATE_MODULE InBus 284 0 0
CREATE_LINK InBus 1 VU 1
You still get the erroneous 'Var not found' messages though.
Address the process rather than the outcome. Then, the outcome becomes more likely. - Fripp
Thanks again Shawn. It seems that something in my more complex script causes it to fail.Now I gotta figure out which step breaks it.
Edit: so it seems that issuing the RENAME_MODULE InBus command before the CREATE_LINK InBus 1 VU 1 command causes the "InBus not found" error.
Onwards and upwards.
Edit: so it seems that issuing the RENAME_MODULE InBus command before the CREATE_LINK InBus 1 VU 1 command causes the "InBus not found" error.
Onwards and upwards.
Regards,
Scott
Scott
While I'm asking about IML, does anyone know the syntax for creating a matrix audio mixer? I can see from the console that it is object ID 95 however there seems to be more to it than this. Creating a 95 module results is some weird object being created.
Thanks as always.
Thanks as always.
Regards,
Scott
Scott
Maybe since its an external module, if you look into the resources module folder its actually a usr instead of a plg.
Possibly try another usr and see if you have the same problem. I wonder if there is no current solution for a usr, or possibly the implementation in the specific usr isnt directing it as module 95.
Maybe there is another method the actual application is loading the usr instead of IML?
-s
Possibly try another usr and see if you have the same problem. I wonder if there is no current solution for a usr, or possibly the implementation in the specific usr isnt directing it as module 95.
Maybe there is another method the actual application is loading the usr instead of IML?
-s
"Every act of creation is first an act of destruction." -Picasso
Thanks sephult. Your suggestion was a good one. I located the audio-matrix usr patch in the resources folder. Then reading the wiki page on IML I saw a reference to the CREATE_MODULE modulename id x y [filename] command. I modified the example code and got the audio matrix to load however, as when you load it from the module browser, it prompts for the number of inputs and outputs. Is there any way to set this parameter automatically using IML?
Regards,
Scott
Scott
Who is online
Users browsing this forum: No registered users and 66 guests
