Csound Csound-dev Csound-tekno Search About

[Cs-dev] portmidi || oss midi?

Date2005-08-08 15:50
Fromjjbenham@chicagoguitar.com (Jeremiah Benham)
Subject[Cs-dev] portmidi || oss midi?
AttachmentsNone  

Date2005-08-08 16:08
FromKen
SubjectRe: [Cs-dev] portmidi || oss midi?
PortMidi does not have a configure script, so it is somewhat more
complicated
to install than the other packages; to compile it, simply unzip the
package,
cd to 'portmidi' and run 'make'.
Installation can be done by copying the following files to
directories that can be found in the include and library paths:
   pm_common/portmidi.h   => /usr/local/include
   porttime/porttime.h    => /usr/local/include
   pm_common/pmutil.h     => /usr/local/include
   pm_linux/libportmidi.a => /usr/local/lib
   porttime/libporttime.a => /usr/local/lib

The error message is from not setting "OPCODEDIR" variable.
In .bashrc type:

OPCODEDIR=/usr/local/lib/csound/opcodes
export OPCODEDIR=/usr/local/lib/csound/opcodes

Ken

On Mon, 2005-08-08 at 09:50 -0500, Jeremiah Benham wrote:
> I downloaded and built portmidi but realized that there is no Install target in the Makefile. I was wondering what I copy where to get csound5 to 
> build with portmidi. Once I have portmidi installed I know I can do -M0 or -+rtmidi=PortMIDI. Does this turn csound into an alsa sequencer client? 
> Can I build csound5 with portmidi by telling scons the portmidi path? If so how?
> 
> I also tried using the oss style midi input with the command line -M /dev/midi. It just complained:
> 
> error: -+rtmidi='PortMIDI': unknown module
> 
> Sorry if this is documented or discussed in a previous thread. I have been googling for this for over a half hour and then thought I would just ask.
> 
> Thanks,
> Jeremiah
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net