Extempore with windows 7 : were is the rtmidilib.dll

32 views
Skip to first unread message

Roberto Arletti

unread,
Nov 3, 2015, 11:41:19 AM11/3/15
to Extempore
Hi, I 'installed a few days ago Extempore with Windows 7 64 bit , I would use the Midi Out, to do this I 'used the file "examples\contrib\midi.xtm", and gives me' this error :

"File Error could not find file libs/external/rtmidi.xtm"

this because the library rtmidi.xtm is not in the folder "libs/external"  but in the folder "libs/contrib" I 'changed the path but then me this error :

"Error: could not find rtmidilib.dll dynamic library
sys: load notification could not load dynamic library rtmidilib.dll"

where can I find the library rtmidilib.dll request?

Thanks for your help

Roberto

Andrew Sorensen

unread,
Nov 3, 2015, 7:52:10 PM11/3/15
to extemp...@googlegroups.com
Hi Roberto,

We've moved from rtmidi to portmidi for the 'stdlib'.  Check examples/external/portmidi.xtm

You can still use rtmidi if you like, but you'll need to build it yourself from src.  Portmidi, on the other hand, is already included in your binary install.

Cheers,
Andrew.

--
You received this message because you are subscribed to the Google Groups "Extempore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extemporelan...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ben Swift

unread,
Nov 3, 2015, 8:44:07 PM11/3/15
to extemp...@googlegroups.com
Hi Roberto

Sorry about that - Andrew's right, but I should have made it clearer in
the midi.xtm example file. I'll fix it for the next release.

Cheers,
Ben
Message has been deleted

Roberto Arletti

unread,
Nov 4, 2015, 5:18:36 AM11/4/15
to Extempore


Thanks for the reply, I would need another help, using the sample files "portmidi.xtm" I can not understand to do this step:

"by passing the appropriate device index arguments to
 pm_create_input_stream and pm_create_output_stream you can create
 as many as you like"

on the left is the command being executed and on the right the result displayed on the command shell :

(sys:load "libs/external/portmidi.xtm")     ------>   Loading xtmportmidi library... done in 2.400363 seconds
                                                                       sys:load notification portmidi already loaded 

 (pm_initialize) ------------------------------------------------>  Portmidi successfully initialised.

(pm_print_devices)  ---------------------------------------->  Portmidi: found 4 devices
                                                                          ---- device 0  ----
                                                                          <PmDeviceInfo: interface=MMSystem name=Microsoft MIDI Mapper I/O?:O>
                                                                          ---- device 1  ----
                                                                         <PmDeviceInfo: interface=MMSystem name=loopMIDI Port I/O?:I>
                                                                         ---- device 2  ----
                                                                         <PmDeviceInfo: interface=MMSystem name=Microsoft GS Wavetable Synth I/O?:O>
                                                                         ---- device 3  ----
                                                                         <PmDeviceInfo: interface=MMSystem name=loopMIDI Port I/O?:O>

(bind-val midi_out PmStream* (pm_create_output_stream (Pm_GetDefaultOutputDeviceID)))  ------->   SetValue:  midi_out >>> i8*

(bind-func get_midi_out    ----------------------->   Compiled:  get_midi_out >>> [i8*]* zone size: 8192 (default)
  (lambda ()
    midi_out))

(define *midi-out* (get_midi_out))   

(play-midi-note (now) *midi-out* (random 60 72) (random 60 90) 44100)   -------------->  eval: unbound variable: *midi-note-on*
                                                                                                                           Trace: play-midi-note
loopmidi is a virtual loop midi ports I normally use with Supercollider

thanks

Jason Levine

unread,
Nov 4, 2015, 6:03:48 AM11/4/15
to extemp...@googlegroups.com
Hi Roberto,

I had the same problem and found the solution is opening libs/external/portmidi and manually evaluating the scheme helper functions for midi on and midi off (and whichever other ones you want)

However, once I had no more error messages, I still couldn't get any sound out of my midi device. I'm using AULab to host instruments. (pm_print_devices) correctly identifies my synth (i tried several) and I get #t when I evaluate the play-midi-note function at the bottom of the portmidi.xtm example, but no sound.

Anyone have a clue what's going wrong?

Thanks,
Jason
--
You received this message because you are subscribed to the Google Groups "Extempore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extemporelan...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Jason Levine
new media performer + creative coder


Ben Swift

unread,
Nov 4, 2015, 4:51:48 PM11/4/15
to extemp...@googlegroups.com
Hi Roberto

I'm looking into it - I'll be in touch asap.

Cheers,
Ben
Reply all
Reply to author
Forward
0 new messages