We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi!
i'm trying to use some java libraries in python mode, javax.sound.midi.MidiMessage
and javax.sound.midi.ShortMessage
.
i've tried importing the libraries using
add_library('javax.sound.midi.MidiMessage')
but the sketch compiling fails because it cannot find those libraries. the error is:
"Exception: This sketch requires the "javax.sound.midi.MidiMessage" library"
if i try importing the libraries from a Java sketch everything works fine.
do you know what i'm doing wrong? or do you know how i can "install" those libraries for the python interpreter?
Thanks!
Answers
add_library
is for Processing libraries.Try
from javax.sound.midi import MidiMessage
.