Contact me: hankecnc@gmail.com

Midi2cnc error #570

推推 grbl 3年前 (2023-02-01) 265次浏览
 Closed

Midi2cnc error#570

LuisDiazUgena opened this issue on May 1, 2017 · 2 comments

Comments

Midi2cnc error #570

Hi!

When trying to parse a .mid song (random download) there is a error in the console:

Traceback (most recent call last): File "C:\Users\Ciencia2\Downloads\bCNC-master-20170501T093403Z-001\Utils.py", line 397, in __call__ return self.func(*args) File "C:\Users\Ciencia2\Downloads\bCNC-master-20170501T093403Z-001\ToolsPage.p y", line 1449, in execute self.tools.getActive().execute(self.app) File "C:\Users\Ciencia2\Downloads\bCNC-master-20170501T093403Z-001\plugins\mid i2cnc.py", line 244, in execute duration = ( ( ( note[0] - last_time ) + 0.0 ) / ( midi.division + 0.0 ) * ( tempo / 1000000.0 ) ) UnboundLocalError: local variable 'tempo' referenced before assignment
What can I do to fix this? I’ve been looking for a answer online and can find anything on how to fix this.

Thanks

Midi2cnc error #570
Contributor
CarlosGS commented on May 1, 2017 via email
Midi2cnc error #570
Author

Hi!

It was a problem with Ableton (the program that we were using) With other program there was no problem.