Hi All-
I am trying to do a simple proof of concept to use Extempore to drive instruments in FL Studio. I am getting a segmentation fault when I run the following lines:
(define *midi-out* (pm_create_output_stream (pm_default_out)))
Extempore is able to see my Midi_out devices:
Running:
(sys:load "libs/external/portmidi.xtm")
(pm_initialize)
(pm_print_devices)
I get:
OUTPUT >>>>
Portmidi successfully initialised.
-- MIDI input devices --
device id 1 : <PmDeviceInfo: interface=MMSystem name=LoopBe Internal MIDI I/O?:I>
-- MIDI output devices --
device id 0 : <PmDeviceInfo: interface=MMSystem name=Microsoft MIDI Mapper I/O?:O>
device id 2 : <PmDeviceInfo: interface=MMSystem name=Microsoft GS Wavetable Synth I/O?:O>
device id 3 : <PmDeviceInfo: interface=MMSystem name=LoopBe Internal MIDI I/O?:O>
All of the following result in segmentation faults:
(define *midi-out* (pm_create_output_stream (pm_default_out)))
(define *midi-out* (pm_create_output_stream 0) )
(define *midi-out* (pm_create_output_stream 2) )
(define *midi-out* (pm_create_output_stream 3) )
Are there any thoughts on what I am doing wrong? Or hints about how to start debugging / trouble shooting? Thanks in advance.
Cheers,