Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csoundapi~ on Windows

Date2005-06-27 13:36
FromVictor Lazzarini
SubjectRe: [Cs-dev] csoundapi~ on Windows
Another thought that occurred to me: so far all the PD classes I have 
developed and
built on Windows were done with the Visual C compiler. Could it be that a 
migwin/gcc
DLL would not work with PD (which is built afaik with MSVC)? Did you build your
PD 0.38 from the sources with MinGW?

Victor

At 00:39 27/06/2005, you wrote:
>Thanks for the information.
>
>I ran from the examples/csoundapi_tilde directory as you instructed. It 
>then connected, but crashed as soon as I started up PD's audio.
>
>One problem obviously is that the demo orc is for 4 channels, whereas my 
>sound card only has 2.  I fixed the orc, and deleted 2 of the audio 
>outlets so that numlets is 2 instead of 4 in the debugger, but it still 
>crashed. In the debugger, it seems that csin and csout can't be 
>dereferenced, which probably means they are bad addresses.
>
>This is a clean build, so I'm not sure what to do next. However, I would 
>really like to see this thing working on Windows.
>
>Regards,
>Mike
>
>
>----- Original Message -----
>From: "Victor Lazzarini" 
>To: 
>Sent: Sunday, June 26, 2005 3:30 PM
>Subject: Re: [Cs-dev] csoundapi~ on Windows
>
>
> > PD uses  32-bit floats (its own t_float).
> >
> > From the output below, I see that the problem is that
> > for some reason  the csd csdapi_demo.csd cannot be
> > compiled; this is generally because csdapi_demo.csd
> > was not found.
> >
> > If you start PD anywhere but in the examples/csoundapi_tilde
> > directory, this will happen. That is because csoundapi looks
> > for
> > the csd in the current directory.
> >
> > You can try csoundapi with any csd.
> > For instance, if you start PD, open a new patch and
> > then type in an object
> >
> > csoundapi~ examples/trapped.csd
> >
> > (provided you are in the top-level csound5 directory) a
> > new object will be created, load in trapped and if you
> > connect it to dac~ and start PD, you'll hear Rick
> > Boulanger's
> > piece.
> >
> > Victor
> >
> >> input channels = 2, output channels = 2
> >> input channels = 2, output channels = 2
> >> 1 devices in, 1 devices out
> >> tried
> >> C:\\utah\\opt\\pd-0.38-4-devel-2\\bin\\csoundapi~.dll and
> >> failed tried c:\\utah\\opt\\csound\\csoundapi~.dll and
> >> succeeded
> >>
> >> csoundapi~ 1.0
> >>  A PD csound class using the Csound 5.00 API
> >> (c) V Lazzarini, 2005
> >>
> >> csapi_demo.csd
> >> csoundapi~ warning: could not compile
> >> csoundapi.pd 4 0 39 3 (adc~->csoundapi~/csoundapi~)
> >> connection failed csoundapi.pd 4 1 39 3
> >> (adc~->csoundapi~/csoundapi~) connection failed
> >> csoundapi.pd 39 3 0 1 (csoundapi~/csoundapi~->dac~)
> >> connection failed csoundapi.pd 39 4 24 0
> >> (csoundapi~/csoundapi~->message) connection failed
> >> csoundapi~ run: 1 csoundapi~ warning: not compiled
> >>
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net