Hi Jean,
didn't you try with SdifFGetAllTypefromSdifString?
...Diemo
Jean Holleville wrote:
> hello,
>
> I'm trying to write a gabarit (-OS4 supervp option) sdif file by hand
> (C, Xcode);
> but I get no information in my sdif file.
>
> here are the C subroutines I use :
>
>
>
>
> that I call in this order :
>
> #define SDIF_SEQC_PREDEFINED_TYPES_FILE "./SdifTypes.STYP"
>
> Sdif_SeqC_Init_Gen(SDIF_SEQC_PREDEFINED_TYPES_FILE);
> creer_ouvrir_fichiers_FFT_OUT_SDIF(nb_fic_synZEF);
>
> pad_and_close_sdif_file(fpOut_Sdif_AetB_FFT);
> SdifGenKill();
>
> when I run, I get that stdout debugging :
>
>
>
>
> and with the following shell command :
>
> Pwb-jh:data/sdif/out->querysdif -a DR0_vl-DR0_vla.AetB.FFT_OUT.sdif ;
> querysdif -d DR0_vl-DR0_vla.AetB.FFT_OUT.sdif ; sdiftotext -i
> DR0_vl-DR0_vla.AetB.FFT_OUT.sdif -o DR0_vl-DR0_vla.AetB.FFT_OUT.sdif.txt
> ; more DR0_vl-DR0_vla.AetB.FFT_OUT.sdif.txt
>
> I get that :
>
>
> *Sdif* erreur size 1NVT: lu: 368 Attendu: 184
>
> Ascii chunks of file DR0_vl-DR0_vla.AetB.FFT_OUT.sdif:
>
> SDIF
>
> 1NVT
> {
> SampleRate 44100.000000;
> SoundFiles ./data/sdif/out/DR0_vl-DR0_vla.AetB.FFT_OUT.sdif;
> GabaritMode 4;
> Date Tue Jan 26 14:52:20 CET 2010;
> TableName FFT;
>
> softWare SeqC Version 0.4.1;
> Written by jh;
>
> Command commande ...;
> NumChannels 1;
> Version version : 2.95.23 (compiled by roebel on Nov 28 2008
> 13:22:41 ) Prec=Float;
> Creator SuperVP;
> }
>
>
> *Sdif* erreur size 1NVT: lu: 368 Attendu: 184
>
> Data in file DR0_vl-DR0_vla.AetB.FFT_OUT.sdif (440 bytes):
>
> *Sdif* erreur size 1NVT: lu: 368 Attendu: 184
>
> 440 bytes have been read from
> "DR0_vl-DR0_vla.AetB.FFT_OUT.sdif".
> SDIF
>
> 1NVT
> {
> SampleRate 44100.000000;
> SoundFiles ./data/sdif/out/DR0_vl-DR0_vla.AetB.FFT_OUT.sdif;
> GabaritMode 4;
> Date Tue Jan 26 14:52:20 CET 2010;
> TableName FFT;
>
> softWare SeqC Version 0.4.1;
> Written by jh;
>
> Command commande ...;
> NumChannels 1;
> Version version : 2.95.23 (compiled by roebel on Nov 28 2008
> 13:22:41 ) Prec=Float;
> Creator SuperVP;
> }
>
> ENDF
> Pwb-jh:data/sdif/out->
>
>
>
>
> and no 1TYP frame written in the sdif file.
>
> could you help me to write this 1TYP frame header, please ?
>
> regards.
> jean
>
>
>
>
> Jean Holleville
> Conservatoire national supérieur musique et danse de Lyon
> Département de composition
> Sonvs
> 3 quai Chauveau
> CP 120
> F-69266 Lyon Cedex 09
>
> tél 33 (0)472 19 26 29
> fax 33 (0)472 19 26 00
> Courriel jean point holleville at cnsmd-lyon.fr
>
--
Diemo Schwarz, PhD -- http://diemo.concatenative.net
Real-Time Music Interaction Team -- http://imtr.ircam.fr
IRCAM - Centre Pompidou -- 1, place Igor-Stravinsky, 75004 Paris, France
Phone +33-1-4478-4879 -- Fax +33-1-4478-1540
|