Re: Undocumented Live device parameter names
Posted: Fri Oct 25, 2013 5:11 pm
Ok there definitely needs to be more changes, it's giving errors to other scripts. I'll cut out banks past 8 and see if that helps.
Yeah, I could well imagine that 8 banks is the limit here... Too bad!shadx312 wrote:Ok there definitely needs to be more changes, it's giving errors to other scripts. I'll cut out banks past 8 and see if that helps.
No more time to go on for now.80315 ms. RemoteScriptError: Traceback (most recent call last):
80316 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 426, in update_display
80317 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 50, in update
80317 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 238, in do_update
80318 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 50, in update
80319 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 146, in do_update
80320 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 546, in message
80320 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 51, in doit
80321 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 254, in set_appointed_device
80321 ms. RemoteScriptError: File "h:\Jenkins\live\Projects\AppWebConnector\Resources\third_party\lib\contextlib.py", line 33, in __exit__
80322 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 611, in component_guard
80324 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 254, in set_appointed_device
80324 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 134, in set_device
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 271, in update
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 399, in _assign_parameters
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 469, in _current_bank_details
80326 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 452, in _best_of_parameter_bank
80326 ms. RemoteScriptError: File "MIDI Remote Scripts\_Generic\Devices.py", line 539, in best_of_parameter_bank
80331 ms. RemoteScriptError:
80332 ms. RemoteScriptError: if not len(bobs) == 1:
80332 ms. RemoteScriptError: TypeError
80332 ms. RemoteScriptError: :
80333 ms. RemoteScriptError: object of type 'bool' has no len()
80334 ms. RemoteScriptError:
Well, I also added one bank, as the original Analog map has only 7. Maybe adding banks, doesn't work either? When you have time again try the Arpeggiator one I posted. I added a bank there too.shadx312 wrote:I don't think that's the issue, even with 8 banks it's the same.
It doesn't fly with others scripts in the framework.
For example:No more time to go on for now.80315 ms. RemoteScriptError: Traceback (most recent call last):
80316 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 426, in update_display
80317 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 50, in update
80317 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 238, in do_update
80318 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 50, in update
80319 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\Task.py", line 146, in do_update
80320 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 546, in message
80320 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 51, in doit
80321 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 254, in set_appointed_device
80321 ms. RemoteScriptError: File "h:\Jenkins\live\Projects\AppWebConnector\Resources\third_party\lib\contextlib.py", line 33, in __exit__
80322 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 611, in component_guard
80324 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\ControlSurface.py", line 254, in set_appointed_device
80324 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 134, in set_device
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 271, in update
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 399, in _assign_parameters
80325 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 469, in _current_bank_details
80326 ms. RemoteScriptError: File "MIDI Remote Scripts\_Framework\DeviceComponent.py", line 452, in _best_of_parameter_bank
80326 ms. RemoteScriptError: File "MIDI Remote Scripts\_Generic\Devices.py", line 539, in best_of_parameter_bank
80331 ms. RemoteScriptError:
80332 ms. RemoteScriptError: if not len(bobs) == 1:
80332 ms. RemoteScriptError: TypeError
80332 ms. RemoteScriptError: :
80333 ms. RemoteScriptError: object of type 'bool' has no len()
80334 ms. RemoteScriptError:
Syncr said he tried it with Live 9.05 and up to beta 9.1.2 something, and it worked.tedlogan wrote:I've been trying to get this to work. backed up and taken away the original devices.pyc (although this doesnt seem necessary as Live creates a new one when nothing is there), I've copied the text from github (and in this forum) just for the normal 8 bank devices, whilst renaming the extension of edited file to .py. My Push simply doesnt work at all with this. I've tried using the modified text as .pyc and still a dead Push. Everything is fine when I revert to the old .pyc file.
I am using Beta 9.22 though.
I don't have any understanding of their frame work or Python, and don't even know what LOM stands for: yet I think I can do it!shadx312 wrote:I wouldn't recommend trying this unless you have a better understanding of their framework, LOM, and python.
Same here, yet I have modified .ini files and the like numerous times for various applications, and it is usually pretty straight forward. It is after all, just changing a list, so I must have a syntax error somewhere.TomViolenz wrote:I don't have any understanding of their frame work or Python, and don't even know what LOM stands for: yet I think I can do it!shadx312 wrote:I wouldn't recommend trying this unless you have a better understanding of their framework, LOM, and python.
And if syncr was right, it did succeed!
It's just changing a list, damnit....![]()
(Maybe adding banks and adding banks more than 8 was a little too ambitious though...?!)
Do it step by step:tedlogan wrote:Same here, yet I have modified .ini files and the like numerous times for various applications, and it is usually pretty straight forward. It is after all, just changing a list, so I must have a syntax error somewhere.TomViolenz wrote:I don't have any understanding of their frame work or Python, and don't even know what LOM stands for: yet I think I can do it!shadx312 wrote:I wouldn't recommend trying this unless you have a better understanding of their framework, LOM, and python.
And if syncr was right, it did succeed!
It's just changing a list, damnit....![]()
(Maybe adding banks and adding banks more than 8 was a little too ambitious though...?!)
tedlogan wrote:Alright, I'll get out of bed and head to the desktop and try it all from scratch. I'll report back soon.
]]TomViolenz wrote:I think adding banks is trivial, I will do try it in some of my own custom mappings.shadx312 wrote:Hey Tom when you're modifying the devices.py see if adding extra banks (like going past bank 8 on sampler) will work!
I know you can bank after 8 on vst's, so maybe you can use all accessible params by writing in extra banks...although maybe you'd have to modify other scripts that reference devices.py....
If adding banks past 8 is possible, I'm not so sure, I may try it for Sampler, but not before I actually have Push and try out it's behavior with the changed script. But the only thing lacking now from my mapping of 9 banks (8 + Best of Bank) are all the slopes for the envelopes. I have to try out how important that would be for me.
Besides having SOME restrictions is rather helping creativity.
But it shouldn't be too hard to verify if it'd work.