Skip to content

Script not sending full MIDI notes, just MIDI Off #1

Description

@Jademalo
on
0
1
2
3
4
5
6
7
8
9
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 50613)
Traceback (most recent call last):
  File "/Users/inspired/miniconda3/lib/python3.6/socketserver.py", line 639, in process_request_thread
    self.finish_request(request, client_address)
  File "/Users/inspired/miniconda3/lib/python3.6/socketserver.py", line 361, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/Users/inspired/miniconda3/lib/python3.6/socketserver.py", line 696, in __init__
    self.handle()
  File "/Users/inspired/miniconda3/lib/python3.6/site-packages/pythonosc/osc_server.py", line 92, in handle
    _call_handlers_for_packet(self.request[0], self.server.dispatcher)
  File "/Users/inspired/miniconda3/lib/python3.6/site-packages/pythonosc/osc_server.py", line 75, in _call_handlers_for_packet
    handler.callback(timed_msg.message.address, *timed_msg.message)
  File "tracking_server.py", line 111, in fft_handler
    coeffs = normalize_vector(np.array(coeffs))[0]
TypeError: 'NoneType' object is not subscriptable
----------------------------------------

Every time I play a note, I get this error. The only information being passed to the DAW is a midi note off when the note finishes. I get no other midi information.
Everything is definitely configured correctly, learning works, etc etc. The MIDI is set up correctly, and I'm definitely getting a bit of information, but I'm not not getting anything else.

It's always after 9, and before 10. Every single time I play a note.

Any ideas?

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions