| That's likely what I'll need to do (and I'm working on this option
currently)..
I'll have up to 20 samples to reference.
Art Hunkins
----- Original Message -----
From: "Victor Lazzarini"
To:
Sent: Thursday, July 07, 2011 6:04 PM
Subject: Re: [Csnd] filelen calculation at k-time?
>I mean reading the lengths and storing these lenghts in a table.
>
> On 7 Jul 2011, at 23:03, Victor Lazzarini wrote:
>
>> How many samples do you have? I would read the file lengths at start
>> time, store them in a table and then access them whenever I needed.
>>
>> Victor
>>
>>
>> On 7 Jul 2011, at 21:00, Art Hunkins wrote:
>>
>>> I'm in the process of making a sample player where samples are
>>> instantiated by ASCII keypresses and the event opcode. Event needs to
>>> know the sample length ("always on" is not what I want here). Since
>>> sample selection is at k-time, I'd like (with filelen or other opcode)
>>> to determine duration at k-time as well.
>>>
>>> It appears that filelen only operates at i-time.
>>>
>>> I know I *could* determine all filelengths at i-time, write them to a
>>> table which I'd access at k-time. I was just wondering if there were a
>>> simpler way to do it during performance.
>>>
>>> Any ideas?
>>>
>>> Art Hunkins
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe csound"
>>>
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|