[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Joining two wave files
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 4 Sep 2011 14:25:31 -0300
> file1 = io.open("file1.wav","*a")
> header1 = file1:sub(1,44)
> body1 = file1:sub(45)
Don't you mean
file1 = io.open("file1.wav"):read("*a")