[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Joining two wave files
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 4 Sep 2011 18:13:39 +0200
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