Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] pvsdemix in MacCsound (and other plugins)

Date2005-03-28 20:32
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvsdemix in MacCsound (and other plugins)
In that case, why not just add ftnp2find() as
Ftnp2Find() and csoundFtnp2Find() ?

Victor

> 
> Victor Lazzarini wrote:
> 
> > Does the new FtFind() also finds non-power-of-two
> > tables? Does it do the ftfind() and ftnp2find() jobs?
> 
> csound->FTFind is just the old ftfind() function added to
> the API. I may add non-power of two tables to
> csound->GetTable(), which is a new function, but I am not
> sure about the details how "deferred" tables differ from
> normal tables.
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products
> from real users. Discover which products truly live up to
> the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=
click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-28 20:35
FromIstvan Varga
SubjectRe: [Cs-dev] pvsdemix in MacCsound (and other plugins)
Victor Lazzarini wrote:

> In that case, why not just add ftnp2find() as
> Ftnp2Find() and csoundFtnp2Find() ?

That will be done too, eventually.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-29 21:42
FromIstvan Varga
SubjectCsound5 API (was: Re: [Cs-dev] pvsdemix in MacCsound (and other plugins))
Victor Lazzarini wrote:

> In that case, why not just add ftnp2find() as
> Ftnp2Find() and csoundFtnp2Find() ?

Indeed, there are some new Csound5 API changes that you may
find interesting. The following function pointers have been
added to ENVIRON (in addition to the previously mentioned ones):

     FUNC *(*FTFindP)(void *csound_, MYFLT *argp);
     FUNC *(*FTnp2Find)(void *csound_, MYFLT *argp);
     void (*Die)(void *csound, const char *msg, ...);
     int (*InitError)(void *csound, const char *msg, ...);
     int (*PerfError)(void *csound, const char *msg, ...);
     void (*Warning)(void *csound, const char *msg, ...);
     void (*DebugMsg)(void *csound, const char *msg, ...);

All these function pointers correspond to functions with the name
prefixed with 'csound' (thus csound->FTFindP() is equivalent to
csoundFTFindP() etc.). The following functions are no longer available:

     ftfind, ftfindp, ftnp2find, die, dies,
     initerror, perferror

Note that all the various message functions like csound->InitError()
now support variable number of arguments and can be used like printf
(except for the automatically appended '\n' character). This makes it
unnecessary to write the message first to a (usually small fixed length)
buffer first with sprintf.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-30 09:13
FromVictor Lazzarini
SubjectRe: Csound5 API (was: Re: [Cs-dev] pvsdemix in MacCsound (and other plugins))
Great,  these were missing from your first additions.
In fact I had updated the text on opcode development for
csounds.com and now I'll  have to add these changes.
I should have waited.

Victor
At 21:42 29/03/2005, you wrote:
>Victor Lazzarini wrote:
>
>>In that case, why not just add ftnp2find() as
>>Ftnp2Find() and csoundFtnp2Find() ?
>
>Indeed, there are some new Csound5 API changes that you may
>find interesting. The following function pointers have been
>added to ENVIRON (in addition to the previously mentioned ones):
>
>     FUNC *(*FTFindP)(void *csound_, MYFLT *argp);
>     FUNC *(*FTnp2Find)(void *csound_, MYFLT *argp);
>     void (*Die)(void *csound, const char *msg, ...);
>     int (*InitError)(void *csound, const char *msg, ...);
>     int (*PerfError)(void *csound, const char *msg, ...);
>     void (*Warning)(void *csound, const char *msg, ...);
>     void (*DebugMsg)(void *csound, const char *msg, ...);
>
>All these function pointers correspond to functions with the name
>prefixed with 'csound' (thus csound->FTFindP() is equivalent to
>csoundFTFindP() etc.). The following functions are no longer available:
>
>     ftfind, ftfindp, ftnp2find, die, dies,
>     initerror, perferror
>
>Note that all the various message functions like csound->InitError()
>now support variable number of arguments and can be used like printf
>(except for the automatically appended '\n' character). This makes it
>unnecessary to write the message first to a (usually small fixed length)
>buffer first with sprintf.
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-30 11:29
FromIstvan Varga
Subject[Cs-dev] Re: Csound5 API
Victor Lazzarini wrote:

> Great,  these were missing from your first additions.
> In fact I had updated the text on opcode development for
> csounds.com and now I'll  have to add these changes.
> I should have waited.

If you are updating the opcode development documentation, you may
want to have a look at the current state of the Csound5 API. While
not all the following functions are relevant to opcodes, there are
a few useful new ones that may be worth to mention.

     int (*GetVersion)(void);
     int (*GetAPIVersion)(void);
     void *(*GetHostData)(void *csound);
     void (*SetHostData)(void *csound, void *hostData);
     int (*Perform)(void *csound, int argc, char **argv);
     int (*Compile)(void *csound, int argc, char **argv);
     int (*PerformKsmps)(void *csound);
     int (*PerformBuffer)(void *csound);
     void (*Cleanup)(void *csound);
     void (*Reset)(void *csound);
     MYFLT (*GetSr)(void *csound);
     MYFLT (*GetKr)(void *csound);
     int (*GetKsmps)(void *csound);
     int (*GetNchnls)(void *csound);
     int (*GetSampleFormat)(void *csound);
     int (*GetSampleSize)(void *csound);
     long (*GetInputBufferSize)(void *csound);
     long (*GetOutputBufferSize)(void *csound);
     void *(*GetInputBuffer)(void *csound);
     void *(*GetOutputBuffer)(void *csound);
     MYFLT *(*GetSpin)(void *csound);
     MYFLT *(*GetSpout)(void *csound);
     MYFLT (*GetScoreTime)(void *csound);
     MYFLT (*GetProgress)(void *csound);
     MYFLT (*GetProfile)(void *csound);
     MYFLT (*GetCpuUsage)(void *csound);
     int (*IsScorePending)(void *csound);
     void (*SetScorePending)(void *csound, int pending);
     MYFLT (*GetScoreOffsetSeconds)(void *csound);
     void (*SetScoreOffsetSeconds)(void *csound, MYFLT offset);
     void (*RewindScore)(void *csound);
     void (*Message)(void *csound, const char *format, ...);
     void (*MessageV)(void *csound, const char *format, va_list args);
     void (*ThrowMessage)(void *csound, const char *format, ...);
     void (*ThrowMessageV)(void *csound, const char *format, va_list args);
     void (*SetMessageCallback)(void *csound,
                                void (*csoundMessageCallback)(void *hostData,
                                                              const char *format,
                                                              va_list valist));
     void (*SetThrowMessageCallback)(void *csound,
                      void (*throwMessageCallback)(void *hostData,
                                                   const char *format,
                                                   va_list valist));
     int (*GetMessageLevel)(void *csound);
     void (*SetMessageLevel)(void *csound, int messageLevel);
     void (*InputMessage)(void *csound, const char *message__);
     void (*KeyPress)(void *csound, char c__);
     void (*SetInputValueCallback)(void *csound,
                                   void (*inputValueCalback)(void *hostData,
                                                             char *channelName,
                                                             MYFLT *value));
     void (*SetOutputValueCallback)(void *csound,
                    void (*outputValueCalback)(void *hostData,
                                                               char *channelName,
                                                               MYFLT value));
     int (*ScoreEvent)(void *csound, char type, MYFLT *pFields, long numFields);
     void (*SetExternalMidiInOpenCallback)(void *csound,
                                           int (*func)(void*, void**,
                                                       const char*));
     void (*SetExternalMidiReadCallback)(void *csound,
                                         int (*func)(void*, void*,
                                                     unsigned char*, int));
     void (*SetExternalMidiInCloseCallback)(void *csound,
                                            int (*func)(void*, void*));
     void (*SetExternalMidiOutOpenCallback)(void *csound,
                                               int (*func)(void*, void**,
                                                           const char*));
     void (*SetExternalMidiWriteCallback)(void *csound,
                                          int (*func)(void*, void*,
                                                      unsigned char*, int));
     void (*SetExternalMidiOutCloseCallback)(void *csound,
                                             int (*func)(void*, void*));
     void (*SetExternalMidiErrorStringCallback)(void *csound,
                                                char *(*func)(int));
     void (*SetIsGraphable)(void *csound, int isGraphable);
     void (*SetMakeGraphCallback)(void *csound,
                                  void (*makeGraphCallback)(void *hostData,
                                                            WINDAT *p,
                                                            char *name));
     void (*SetDrawGraphCallback)(void *csound,
                                  void (*drawGraphCallback)(void *hostData,
                                                            WINDAT *p));
     void (*SetKillGraphCallback)(void *csound,
                                  void (*killGraphCallback)(void *hostData,
                                                            WINDAT *p));
     void (*SetExitGraphCallback)(void *csound,
                                  int (*exitGraphCallback)(void *hostData));
     opcodelist *(*NewOpcodeList)(void);
     void (*DisposeOpcodeList)(opcodelist *opcodelist_);
     int (*AppendOpcode)(void *csound, char *opname, int dsblksiz,
                         int thread, char *outypes, char *intypes,
                         int (*iopadr)(void*, void*),
                         int (*kopadr)(void*, void*),
                         int (*aopadr)(void*, void*),
                         int (*dopadr)(void*, void*));
     int (*LoadExternal)(void *csound, const char *libraryPath);
     int (*LoadExternals)(void *csound);
     void *(*OpenLibrary)(const char *libraryPath);
     void *(*CloseLibrary)(void *library);
     void *(*GetLibrarySymbol)(void *library, const char *procedureName);
     void (*SetYieldCallback)(void *csound,
                              int (*yieldCallback)(void *hostData));
     char *(*GetEnv)(void *csound, const char *name);
     char *(*FindInputFile)(void *csound,
                            const char *filename, const char *envList);
     char *(*FindOutputFile)(void *csound,
                             const char *filename, const char *envList);
     void (*SetPlayopenCallback)(void *csound,
                                 int (*playopen__)(void *csound,
                                                   csRtAudioParams *parm));
     void (*SetRtplayCallback)(void *csound,
                               void (*rtplay__)(void *csound, void *outBuf,
                                                int nbytes));
     void (*SetRecopenCallback)(void *csound,
                                int (*recopen__)(void *csound,
                                                 csRtAudioParams *parm));
     void (*SetRtrecordCallback)(void *csound,
                                 int (*rtrecord__)(void *csound, void *inBuf,
                                                   int nbytes));
     void (*SetRtcloseCallback)(void *csound, void (*rtclose__)(void *csound));
     void (*AuxAlloc)(void *csound, long nbytes, AUXCH *auxchp);
     FUNC *(*FTFind)(void *csound, MYFLT *argp);
     FUNC *(*FTFindP)(void *csound_, MYFLT *argp);
     FUNC *(*FTnp2Find)(void *csound_, MYFLT *argp);
     MYFLT *(*GetTable)(void *csound_, int tableNum, int *tableLength);
     void *(*Malloc)(void *csound, size_t nbytes);
     void *(*Calloc)(void *csound, size_t nbytes);
     void *(*ReAlloc)(void *csound, void *oldp, size_t nbytes);
     void (*Free)(void *csound, void *ptr);
     void (*Die)(void *csound, const char *msg, ...);
     int (*InitError)(void *csound, const char *msg, ...);
     int (*PerfError)(void *csound, const char *msg, ...);
     void (*Warning)(void *csound, const char *msg, ...);
     void (*DebugMsg)(void *csound, const char *msg, ...);
     /* Internal functions that are needed */
     void (*dispset)(WINDAT *, MYFLT *, long, char *, int, char *);
     void (*display)(WINDAT *);
     MYFLT (*intpow_)(MYFLT, long);
     char *(*unquote_)(char *);
     MEMFIL *(*ldmemfile_)(void*, const char*);
     void (*err_printf_)(char *, ...);
     FUNC *(*hfgens_)(struct ENVIRON_*, EVTBLK *);
     int (*IsPowerOfTwo_)(long);
     void (*FFT2torlpacked_)(complex *, long, MYFLT, complex *);
     void (*FFT2realpacked_)(complex *, long, complex *);
     void (*cxmult_)(complex *,complex *,long);
     int (*getopnum_)(char *s);
     long (*strarg2insno_)(MYFLT *p, char *s);
     long (*strarg2opcno_)(MYFLT *p, char *s, int force_opcode);
     INSDS *(*instance_)(int insno);
     void (*rewriteheader_)(SNDFILE *ofd, int verbose);
     void (*writeheader)(int ofd, char *ofname);
     void (*Printf)(const char *format, ...);
     int (*PerformKsmpsAbsolute_)(void *csound);
     int (*GetDebug)(void *csound);
     void (*SetDebug)(void *csound, int d);
     int (*TableLength)(void *csound, int table);
     MYFLT (*TableGet)(void *csound, int table, int index);
     void (*TableSet)(void *csound, int table, int index, MYFLT value);
     void *(*CreateThread)(void *csound, int (*threadRoutine)(void *userdata),
                           void *userdata);
     int (*JoinThread)(void *csound, void *thread);
     void *(*CreateThreadLock)(void *csound);
     void (*WaitThreadLock)(void *csound, void *lock, size_t milliseconds);
     void (*NotifyThreadLock)(void *csound, void *lock);
     void (*DestroyThreadLock)(void *csound, void *lock);
     void (*SetFLTKThreadLocking)(void *csound, int isLocking);
     int (*GetFLTKThreadLocking)(void *csound);
     /* IV - Jan 27 2005: new functions */
     void (*timers_struct_init)(RTCLOCK*);
     double (*timers_get_real_time)(RTCLOCK*);
     double (*timers_get_CPU_time)(RTCLOCK*);
     unsigned long (*timers_random_seed)(void);
     char *(*LocalizeString)(const char*);
     int (*CreateGlobalVariable)(void *csound, const char *name, size_t nbytes);
     void *(*QueryGlobalVariable)(void *csound, const char *name);
     void *(*QueryGlobalVariableNoCheck)(void *csound, const char *name);
     int (*DestroyGlobalVariable)(void *csound, const char *name);
     int (*CreateConfigurationVariable)(void *csound, const char *name,
                                        void *p, int type, int flags,
                                        void *min, void *max,
                                        const char *shortDesc,
                                        const char *longDesc);
     int (*SetConfigurationVariable)(void *csound, const char *name,
                                     void *value);
     int (*ParseConfigurationVariable)(void *csound, const char *name,
                                       const char *value);
     csCfgVariable_t *(*QueryConfigurationVariable)(void *csound,
                                                    const char *name);
     csCfgVariable_t **(*ListConfigurationVariables)(void *csound);
     int (*DeleteConfigurationVariable)(void *csound, const char *name);
     char *(*CfgErrorCodeToString)(int errcode);
     /* real-time audio callbacks */
     int (*playopen_callback)(void *csound, csRtAudioParams *parm);
     void (*rtplay_callback)(void *csound, void *outBuf, int nbytes);
     int (*recopen_callback)(void *csound, csRtAudioParams *parm);
     int (*rtrecord_callback)(void *csound, void *inBuf, int nbytes);
     void (*rtclose_callback)(void *csound);
     int (*GetSizeOfMYFLT)(void);
     void **(*GetRtRecordUserData)(void *csound);
     void **(*GetRtPlayUserData)(void *csound);
     MYFLT (*GetInverseComplexFFTScale)(void *csound, int FFTsize);
     MYFLT (*GetInverseRealFFTScale)(void *csound, int FFTsize);
     void (*ComplexFFT)(void *csound, MYFLT *buf, int FFTsize);
     void (*InverseComplexFFT)(void *csound, MYFLT *buf, int FFTsize);
     void (*RealFFT)(void *csound, MYFLT *buf, int FFTsize);
     void (*InverseRealFFT)(void *csound, MYFLT *buf, int FFTsize);
     void (*RealFFTMult)(void *csound, MYFLT *outbuf, MYFLT *buf1, MYFLT *buf2,
                         int FFTsize, MYFLT scaleFac);


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-30 11:37
FromVictor Lazzarini
SubjectRe: [Cs-dev] Re: Csound5 API
Yes, it's looking impressive.

Victor

At 11:29 30/03/2005, you wrote:
>Victor Lazzarini wrote:
>
>>Great,  these were missing from your first additions.
>>In fact I had updated the text on opcode development for
>>csounds.com and now I'll  have to add these changes.
>>I should have waited.
>
>If you are updating the opcode development documentation, you may
>want to have a look at the current state of the Csound5 API. While
>not all the following functions are relevant to opcodes, there are
>a few useful new ones that may be worth to mention.
>
>     int (*GetVersion)(void);
>     int (*GetAPIVersion)(void);
>     void *(*GetHostData)(void *csound);
>     void (*SetHostData)(void *csound, void *hostData);
>     int (*Perform)(void *csound, int argc, char **argv);
>     int (*Compile)(void *csound, int argc, char **argv);
>     int (*PerformKsmps)(void *csound);
>     int (*PerformBuffer)(void *csound);
>     void (*Cleanup)(void *csound);
>     void (*Reset)(void *csound);
>     MYFLT (*GetSr)(void *csound);
>     MYFLT (*GetKr)(void *csound);
>     int (*GetKsmps)(void *csound);
>     int (*GetNchnls)(void *csound);
>     int (*GetSampleFormat)(void *csound);
>     int (*GetSampleSize)(void *csound);
>     long (*GetInputBufferSize)(void *csound);
>     long (*GetOutputBufferSize)(void *csound);
>     void *(*GetInputBuffer)(void *csound);
>     void *(*GetOutputBuffer)(void *csound);
>     MYFLT *(*GetSpin)(void *csound);
>     MYFLT *(*GetSpout)(void *csound);
>     MYFLT (*GetScoreTime)(void *csound);
>     MYFLT (*GetProgress)(void *csound);
>     MYFLT (*GetProfile)(void *csound);
>     MYFLT (*GetCpuUsage)(void *csound);
>     int (*IsScorePending)(void *csound);
>     void (*SetScorePending)(void *csound, int pending);
>     MYFLT (*GetScoreOffsetSeconds)(void *csound);
>     void (*SetScoreOffsetSeconds)(void *csound, MYFLT offset);
>     void (*RewindScore)(void *csound);
>     void (*Message)(void *csound, const char *format, ...);
>     void (*MessageV)(void *csound, const char *format, va_list args);
>     void (*ThrowMessage)(void *csound, const char *format, ...);
>     void (*ThrowMessageV)(void *csound, const char *format, va_list args);
>     void (*SetMessageCallback)(void *csound,
>                                void (*csoundMessageCallback)(void *hostData,
>                                                              const char 
> *format,
>                                                              va_list 
> valist));
>     void (*SetThrowMessageCallback)(void *csound,
>                      void (*throwMessageCallback)(void *hostData,
>                                                   const char *format,
>                                                   va_list valist));
>     int (*GetMessageLevel)(void *csound);
>     void (*SetMessageLevel)(void *csound, int messageLevel);
>     void (*InputMessage)(void *csound, const char *message__);
>     void (*KeyPress)(void *csound, char c__);
>     void (*SetInputValueCallback)(void *csound,
>                                   void (*inputValueCalback)(void *hostData,
>                                                             char 
> *channelName,
>                                                             MYFLT *value));
>     void (*SetOutputValueCallback)(void *csound,
>                    void (*outputValueCalback)(void *hostData,
>                                                               char 
> *channelName,
>                                                               MYFLT value));
>     int (*ScoreEvent)(void *csound, char type, MYFLT *pFields, long 
> numFields);
>     void (*SetExternalMidiInOpenCallback)(void *csound,
>                                           int (*func)(void*, void**,
>                                                       const char*));
>     void (*SetExternalMidiReadCallback)(void *csound,
>                                         int (*func)(void*, void*,
>                                                     unsigned char*, int));
>     void (*SetExternalMidiInCloseCallback)(void *csound,
>                                            int (*func)(void*, void*));
>     void (*SetExternalMidiOutOpenCallback)(void *csound,
>                                               int (*func)(void*, void**,
>                                                           const char*));
>     void (*SetExternalMidiWriteCallback)(void *csound,
>                                          int (*func)(void*, void*,
>                                                      unsigned char*, int));
>     void (*SetExternalMidiOutCloseCallback)(void *csound,
>                                             int (*func)(void*, void*));
>     void (*SetExternalMidiErrorStringCallback)(void *csound,
>                                                char *(*func)(int));
>     void (*SetIsGraphable)(void *csound, int isGraphable);
>     void (*SetMakeGraphCallback)(void *csound,
>                                  void (*makeGraphCallback)(void *hostData,
>                                                            WINDAT *p,
>                                                            char *name));
>     void (*SetDrawGraphCallback)(void *csound,
>                                  void (*drawGraphCallback)(void *hostData,
>                                                            WINDAT *p));
>     void (*SetKillGraphCallback)(void *csound,
>                                  void (*killGraphCallback)(void *hostData,
>                                                            WINDAT *p));
>     void (*SetExitGraphCallback)(void *csound,
>                                  int (*exitGraphCallback)(void *hostData));
>     opcodelist *(*NewOpcodeList)(void);
>     void (*DisposeOpcodeList)(opcodelist *opcodelist_);
>     int (*AppendOpcode)(void *csound, char *opname, int dsblksiz,
>                         int thread, char *outypes, char *intypes,
>                         int (*iopadr)(void*, void*),
>                         int (*kopadr)(void*, void*),
>                         int (*aopadr)(void*, void*),
>                         int (*dopadr)(void*, void*));
>     int (*LoadExternal)(void *csound, const char *libraryPath);
>     int (*LoadExternals)(void *csound);
>     void *(*OpenLibrary)(const char *libraryPath);
>     void *(*CloseLibrary)(void *library);
>     void *(*GetLibrarySymbol)(void *library, const char *procedureName);
>     void (*SetYieldCallback)(void *csound,
>                              int (*yieldCallback)(void *hostData));
>     char *(*GetEnv)(void *csound, const char *name);
>     char *(*FindInputFile)(void *csound,
>                            const char *filename, const char *envList);
>     char *(*FindOutputFile)(void *csound,
>                             const char *filename, const char *envList);
>     void (*SetPlayopenCallback)(void *csound,
>                                 int (*playopen__)(void *csound,
>                                                   csRtAudioParams *parm));
>     void (*SetRtplayCallback)(void *csound,
>                               void (*rtplay__)(void *csound, void *outBuf,
>                                                int nbytes));
>     void (*SetRecopenCallback)(void *csound,
>                                int (*recopen__)(void *csound,
>                                                 csRtAudioParams *parm));
>     void (*SetRtrecordCallback)(void *csound,
>                                 int (*rtrecord__)(void *csound, void *inBuf,
>                                                   int nbytes));
>     void (*SetRtcloseCallback)(void *csound, void (*rtclose__)(void 
> *csound));
>     void (*AuxAlloc)(void *csound, long nbytes, AUXCH *auxchp);
>     FUNC *(*FTFind)(void *csound, MYFLT *argp);
>     FUNC *(*FTFindP)(void *csound_, MYFLT *argp);
>     FUNC *(*FTnp2Find)(void *csound_, MYFLT *argp);
>     MYFLT *(*GetTable)(void *csound_, int tableNum, int *tableLength);
>     void *(*Malloc)(void *csound, size_t nbytes);
>     void *(*Calloc)(void *csound, size_t nbytes);
>     void *(*ReAlloc)(void *csound, void *oldp, size_t nbytes);
>     void (*Free)(void *csound, void *ptr);
>     void (*Die)(void *csound, const char *msg, ...);
>     int (*InitError)(void *csound, const char *msg, ...);
>     int (*PerfError)(void *csound, const char *msg, ...);
>     void (*Warning)(void *csound, const char *msg, ...);
>     void (*DebugMsg)(void *csound, const char *msg, ...);
>     /* Internal functions that are needed */
>     void (*dispset)(WINDAT *, MYFLT *, long, char *, int, char *);
>     void (*display)(WINDAT *);
>     MYFLT (*intpow_)(MYFLT, long);
>     char *(*unquote_)(char *);
>     MEMFIL *(*ldmemfile_)(void*, const char*);
>     void (*err_printf_)(char *, ...);
>     FUNC *(*hfgens_)(struct ENVIRON_*, EVTBLK *);
>     int (*IsPowerOfTwo_)(long);
>     void (*FFT2torlpacked_)(complex *, long, MYFLT, complex *);
>     void (*FFT2realpacked_)(complex *, long, complex *);
>     void (*cxmult_)(complex *,complex *,long);
>     int (*getopnum_)(char *s);
>     long (*strarg2insno_)(MYFLT *p, char *s);
>     long (*strarg2opcno_)(MYFLT *p, char *s, int force_opcode);
>     INSDS *(*instance_)(int insno);
>     void (*rewriteheader_)(SNDFILE *ofd, int verbose);
>     void (*writeheader)(int ofd, char *ofname);
>     void (*Printf)(const char *format, ...);
>     int (*PerformKsmpsAbsolute_)(void *csound);
>     int (*GetDebug)(void *csound);
>     void (*SetDebug)(void *csound, int d);
>     int (*TableLength)(void *csound, int table);
>     MYFLT (*TableGet)(void *csound, int table, int index);
>     void (*TableSet)(void *csound, int table, int index, MYFLT value);
>     void *(*CreateThread)(void *csound, int (*threadRoutine)(void *userdata),
>                           void *userdata);
>     int (*JoinThread)(void *csound, void *thread);
>     void *(*CreateThreadLock)(void *csound);
>     void (*WaitThreadLock)(void *csound, void *lock, size_t milliseconds);
>     void (*NotifyThreadLock)(void *csound, void *lock);
>     void (*DestroyThreadLock)(void *csound, void *lock);
>     void (*SetFLTKThreadLocking)(void *csound, int isLocking);
>     int (*GetFLTKThreadLocking)(void *csound);
>     /* IV - Jan 27 2005: new functions */
>     void (*timers_struct_init)(RTCLOCK*);
>     double (*timers_get_real_time)(RTCLOCK*);
>     double (*timers_get_CPU_time)(RTCLOCK*);
>     unsigned long (*timers_random_seed)(void);
>     char *(*LocalizeString)(const char*);
>     int (*CreateGlobalVariable)(void *csound, const char *name, size_t 
> nbytes);
>     void *(*QueryGlobalVariable)(void *csound, const char *name);
>     void *(*QueryGlobalVariableNoCheck)(void *csound, const char *name);
>     int (*DestroyGlobalVariable)(void *csound, const char *name);
>     int (*CreateConfigurationVariable)(void *csound, const char *name,
>                                        void *p, int type, int flags,
>                                        void *min, void *max,
>                                        const char *shortDesc,
>                                        const char *longDesc);
>     int (*SetConfigurationVariable)(void *csound, const char *name,
>                                     void *value);
>     int (*ParseConfigurationVariable)(void *csound, const char *name,
>                                       const char *value);
>     csCfgVariable_t *(*QueryConfigurationVariable)(void *csound,
>                                                    const char *name);
>     csCfgVariable_t **(*ListConfigurationVariables)(void *csound);
>     int (*DeleteConfigurationVariable)(void *csound, const char *name);
>     char *(*CfgErrorCodeToString)(int errcode);
>     /* real-time audio callbacks */
>     int (*playopen_callback)(void *csound, csRtAudioParams *parm);
>     void (*rtplay_callback)(void *csound, void *outBuf, int nbytes);
>     int (*recopen_callback)(void *csound, csRtAudioParams *parm);
>     int (*rtrecord_callback)(void *csound, void *inBuf, int nbytes);
>     void (*rtclose_callback)(void *csound);
>     int (*GetSizeOfMYFLT)(void);
>     void **(*GetRtRecordUserData)(void *csound);
>     void **(*GetRtPlayUserData)(void *csound);
>     MYFLT (*GetInverseComplexFFTScale)(void *csound, int FFTsize);
>     MYFLT (*GetInverseRealFFTScale)(void *csound, int FFTsize);
>     void (*ComplexFFT)(void *csound, MYFLT *buf, int FFTsize);
>     void (*InverseComplexFFT)(void *csound, MYFLT *buf, int FFTsize);
>     void (*RealFFT)(void *csound, MYFLT *buf, int FFTsize);
>     void (*InverseRealFFT)(void *csound, MYFLT *buf, int FFTsize);
>     void (*RealFFTMult)(void *csound, MYFLT *outbuf, MYFLT *buf1, MYFLT 
> *buf2,
>                         int FFTsize, MYFLT scaleFac);
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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 email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net