Page 1 of 1

Posted: 28 Mar 2015, 18:14
by 23fx23
currently trying to write some data array processed in script directly to a .wav file but it seem it cannot be done without some binary commands like the "AssignFile", "File of TRecord", or BlockRead / BlockWrite delphi commands.
any chance to implement those? Or is there an alternate way maybe? basicaly i would need to write wavheader, followed by the datas processed earlier in scipt, but i fail to get it right for now .
Also any tips on how ptAudio should be used? i tried to access it like a blocsize array but it doesn't seem thats the way to do, so i made a 'classical' blocsize data array and here it works.
just wondering.

Posted: 09 Apr 2015, 14:34
by senso
BlockRead/Write will be implemented in future versions. But creating a wav file is very complex and not really the purpose of scripts?
senso+++

Posted: 09 Apr 2015, 18:11
by 23fx23
no worry i manages with sdk ;) 80 percent of my script is now working as user module, and i found a code that works for writing the header and wav, that works :)