Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csoundapi~ on Windows

Date2005-06-26 17:21
FromMichael Gogins
SubjectRe: [Cs-dev] csoundapi~ on Windows
OK, I see you use spin and spout. 

For PD, is MYFLT double or float? I have been testing with float.

Regards,
Mike

-----Original Message-----
From: Michael Gogins 
Sent: Jun 26, 2005 12:11 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] csoundapi~ on Windows

PD's log follows. I'm running Pd version 0.38.4 devel. It loads, but doesn't connect audio I/O so won't run.

I haven't examined the code in detail, so I have a question about I/O. Are you using Csound's audio driver modules? Or are you simply writing to spin and reading from spout (which I think would be the way to go) and using PD's drivers for actual audio I/O?

Regards, 
Mike

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

-----Original Message-----
From: Victor Lazzarini 
Sent: Jun 26, 2005 4:46 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] csoundapi~ on Windows

What happens? Does it load when you do

pd -lib csoundapi~

(assuming it can be seen by PD, ie. in the same directory)

If it does, then does the
examples/csoundapi_tilde/csoundapi.pd
load?

Ex.:

cd  examples/csoundapi_tilde
pd   -lib ../../csoundapi~  csoundapi.pd

Also: csoundapi~ has to have the .dll extension on windows
(it is .pd_linux and .pd_darwin on linux and OSX respect.)

Let me know where your problems are.

Victor

>
> I have committed changes to SConstruct, custom.py, and
> frontends/csoundapi_tilde/csoundapi_tilde.c that enable
> this object to build and to be loaded by PD on Windows.
>
> However, I couldn't get it to work. (Not that I tried very
> hard, but I didn't know where to start.) I hope somebody
> who understands how it is supposed to work will help me
> finish this.
>
> Regards,
> Mike
>
>
>
>
> -------------------------------------------------------
> 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





-------------------------------------------------------
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