| Glad it worked.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
> On 31 Aug 2015, at 21:42, jdm771 wrote:
>
> Perfect. Using the CAF format overcame the file size limitation of .wav and
> .aif, and it worked with the array output version of diskin2. I am most
> grateful.
>
> -John
>
>
>
>
> Victor Lazzarini wrote
>> I have also tried CAF. I was able to a 30 min file with 96 channels, and
>> opened it with csound, no problem.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>>> On 30 Aug 2015, at 14:00, Victor Lazzarini <
>
>> Victor.Lazzarini@
>
>> > wrote:
>>>
>>> Have you tried a different format (like IRCAM, WAVEFORMATEX, etc?). I did
>>> a little test here and
>>> it appears the IRCAM format will work.
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 30 Aug 2015, at 03:34, John <
>
>> jmoeller01@.ac
>
>> > wrote:
>>>>
>>>> Dear Forum,
>>>>
>>>> I have to mix several 96-channel interleaved sound files. I discovered
>>>> that .wav and .aif files appear have a limit to their size (and
>>>> 96-channel sound files eat up data quickly, as you can imagine). At
>>>> 96kHz/24 bit, my files won't get longer than 1 minute, 30 seconds. I
>>>> was trying to generate a 4 minute file. The data seems to be there
>>>> because the resulting file was about 6.8 GB in size, but as I mentioned,
>>>> it was only 1.5 minutes in duration. I understand raw (headerless)
>>>> audio files do not have such a data size limit. However, I am having
>>>> trouble using the diskin2 opcode with the array output option (which is
>>>> what is needed because it is 96 channels--it appears that the normal
>>>> output version can handle up to 40 channels, whereas the array output
>>>> version does not have a limit). I have included some example code below
>>>> (using just two channels), with comments on what works and what doesn't.
>>>> I am guessing that because the audio is headerless, the diskin2 opcode
>>>> doesn't know how many channels the audio has (e.g., it seems to think it
>>>> is just one channel, and thus doesn't know what to do with the
>>>> interleaved data). I tried specifying the size of the array with the
>>>> init opcode, but that didn't work. I also tried using a global array
>>>> (just to give it a try). Any thoughts on this? Is this possible?
>>>>
>>>> Thank you,
>>>>
>>>> John
>>>>
>>>>
>>>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>>> sr = 96000
>>>> ksmps = 256
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>> gaArr[] init 2
>>>>
>>>> instr 1
>>>>
>>>> ;This works:
>>>> ; a1, a2 diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, a1, 2, a2
>>>>
>>>>
>>>> ;This hangs Csound up, and it has to be force quit:
>>>> ; ar1[] diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, ar1[0], 2, ar1[1]
>>>>
>>>>
>>>> ;This gives the error "INIT ERROR in instr 1: diskin2:
>>>> 2ChnlHeaderless.raw: failed to open file":
>>>> ; ar1[] init 2
>>>> ; ar1 diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, ar1[0], 2, ar1[1]
>>>>
>>>>
>>>> ;This gives the error "INIT ERROR in instr 1: diskin2:
>>>> 2ChnlHeaderless.raw: failed to open file":
>>>> ; ar1[] init 2
>>>> ; ar1[] diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, ar1[0], 2, ar1[1]
>>>>
>>>>
>>>> ;This gives the error "INIT ERROR in instr 1: diskin2:
>>>> 2ChnlHeaderless.raw: failed to open file":
>>>> ; gaArr[] diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, gaArr[0], 2, gaArr[1]
>>>>
>>>>
>>>> ;This gives the error "INIT ERROR in instr 1: diskin2:
>>>> 2ChnlHeaderless.raw: failed to open file":
>>>> ; gaArr diskin2 "2ChnlHeaderless.raw", 1, 0, 0, 8, 0, 8192, 0
>>>> ; outch 1, gaArr[0], 2, gaArr[1]
>>>>
>>>> endin
>>>>
>>>>
>>
>>>>
>>
>>>>
>>>> i1 0 5
>>>> e
>>>>
>>>>
>>
>>>>
>>
>>>>
>>>>
>>>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>
>> Csound-users@.sourceforge
>
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-the-Array-Output-Version-of-Diskin2-With-Raw-Headerless-Audio-Files-tp5743341p5743391.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |