Csound, DX7, MIDI & Pure Data

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Greetings,

I am slowly picking up Csound.

I have been having a great deal of fun with Jeff Harrington's DX7 patch to Csound SCO converter, and I am looking to integrate this with performance software I have designed in Pure Data using [csound~].

Details on Harrington's DX7 translator (based on Dr. Russell Pinkston's .orc and .sco files):

http://www.parnasse.com/dx72csnd.shtml

I have had success converting many instruments from the FLOSS manual into midi-controllable instruments in Pure Data. Basically the process involves invoking "-+rtmidi=pmidi -M0" in the header, and adding the following code into the orchestra section of a .CSD instrument:

Code: Select all

; Ensures that a MIDI-activated instrument
; will have a positive p3 field.
mididefault 60, p3 
; Puts MIDI key translated to cycles per
; second into p4, and MIDI velocity into p5
midinoteoncps p4, p5
Beyond that, I add"i 0 100000" into my score file, to allow my instrument to run for awhile.

Now, while I have had no trouble loading my DX7 translated .CSD instrument into Pd (and listening to a score generated tone), I am unable to control it via MIDI in the same fashion I have been controlling adapted instruments from the FLOSS manual and Richard Boulanger's text.

The error message I receive in my Pd console is:

Code: Select all

INIT ERROR in instr 1: 
table: could not find ftable  
 
k6gate 
tablei.k 
k6phs 
idevfn 
0 
0 
0 
 
T 75.885 - note deleted.
I wonder if anyone can offer me any help on adapting my DX7 translated .CSD instrument for MIDI control in Pd. Both my Pd and Csound instruments are attached to this post. Please note I am on OSX.

I made a quick post on the Csound mailing list, from which two useful links were provided:

http://www.csounds.com/manual/html/MidiInterop.html

http://www.csounds.com/manual/html/Comm ... inusUpperM

I have researched this documentation, and tried out the solutions offered within, but they have not yet enabled me to control this .CSD instrument from within Pd.

The Csound list is largely comprised of very advanced users, and highly trained computer music composers. If possible, I would like to solve this issue away from the list, and not bother them further with my relatively simple problem!

Many thanks for any advice offered,

Peter
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “DSP and Plugin Development”