|
|
||
|
On Sep 4, 2011, at 6:09 PM, Dirk Laurie wrote:
> io.open("file3.wav","w"):write(header3..body1..body2)
May I suggest instead:
io.open("file3.wav","wb"):write( header3, body1, body2 )
Note the commas. No need to concatenate anything :)
http://www.lua.org/manual/5.1/manual.html#pdf-file:write