Welcome to %s forums

BrainModular Users Forum

Login Register

reading/writing binary files delphi commands in script

Tell us what you'd like Usine to do
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 28 Mar 2015, 18:14

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.

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 09 Apr 2015, 14:34

BlockRead/Write will be implemented in future versions. But creating a wav file is very complex and not really the purpose of scripts?
senso+++

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 09 Apr 2015, 18:11

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

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests