Csound Csound-dev Csound-tekno Search About

Re: soundin2/Re: Keep Csound PD

Date1997-03-07 08:35
FromGabriel Maldonado
SubjectRe: soundin2/Re: Keep Csound PD
Matt J. Ingalls wrote:

> unless it has changed, the code Gabriel posted to the list changes the
> SOUNDIN struct instead of creating a new SOUNDIN2 struct, which is kinda
> risky -  and i dont know
> how this affects the old soundin ugen.  

I modificated SOUNDIN struct instead of writing a new SOUNDIN2 struct
for avoiding to have to duplicate work functions (such as sndgetset())
and saving executable space in this way. This modification does not
touch the struct members used by the old soundin UG. I only increased
the allocation of buffer inbuf[] (old soundin UG continues to use the
old buffer length) and added some member to the structure (old soundin
UG simply ignores these new memberes). This DEOS NOT affect the normal
behaviour of old soundin UG!

> Also, i couldnt get it to work on
> the power mac. 

Why? What kind of bug did you found?

> i would also like to see it take negative parameters to
> play soundfiles backwards.
> -matt

I think the new filetablei UG I am developing may be used as a more
general soundin2.

-- 
Gabriel Maldonado

mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm