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

Cannot read property 'playNote' of undefined #25

Open
vjasterix opened this issue Dec 18, 2017 · 3 comments
Open

Cannot read property 'playNote' of undefined #25

vjasterix opened this issue Dec 18, 2017 · 3 comments

Comments

@vjasterix
Copy link

When solo is off, I get no sound. So I looked in console:

Uncaught TypeError: Cannot read property 'playNote' of undefined
at MagentaInstance.sendKeyDown (eval at (1.js:25), :97:23)
at Keyboard.keyDown (eval at (1.js:37), :179:30)
at KeyboardElement.eval (eval at (1.js:37), :94:10)
at KeyboardElement.EventEmitter.emit (eval at (1.js:31), :81:17)
at HTMLDivElement.eval (eval at (1.js:55), :146:12)
sendKeyDown @ Magenta.js?3a80:71
keyDown @ Keyboard.js?3167:125
(anonymous) @ Keyboard.js?3167:60
EventEmitter.emit @ events.js?7c71:81
(anonymous) @ Element.js?74ca:111
Magenta.js?3a80:75 Uncaught TypeError: Cannot read property 'stopNote' of undefined
at MagentaInstance.sendKeyUp (eval at (1.js:25), :102:23)
at Keyboard.keyUp (eval at (1.js:37), :201:30)
at KeyboardElement.eval (eval at (1.js:37), :98:10)
at KeyboardElement.EventEmitter.emit (eval at (1.js:31), :81:17)
at HTMLDivElement.eval (eval at (1.js:55), :152:12)

@vjasterix
Copy link
Author

Also the rnn's do not appear to have downloaded

@vjasterix
Copy link
Author

File "maybe_download_mags.py", line 15
print 'File %s already present' % mag_file
^
SyntaxError: Missing parentheses in call to 'print'
bash: midi_clock: command not found
bash: magenta_midi: command not found
bash: magenta_midi: command not found

@DWitol
Copy link

DWitol commented Aug 10, 2018

I am facing the same problems but I can help with the RNN's. You need to use Python 2.7 for the maybe_download_mags.py portion to work. You could also edit the file to add () around all the print statements. (There are only 2 in the program) If you have any luck fixing the bash commands not found please add it here. I would appreciate it.

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

No branches or pull requests

2 participants