| yes, it is.
On 8 Dec 2011, at 15:57, peiman khosravi wrote:
> So this means mixing in Csound is a piece of cake.
> P
>
>
>
>
> -odac -d
>
>
>
>
> sr = 96000
> ksmps = 100
> nchnls = 6
> 0dbfs = 1
>
> instr 1
> Sfile = p4
> ilen filelen Sfile
>
> iskip = p6
> p3 = ilen-iskip
>
> asig1, asig2, asig3, asig4, asig5, asig6 diskin2 Sfile, 1, iskip
>
> iamp = db(p5)
>
> aenv linen iamp, .05, p3, .05
>
> outh asig1*aenv, asig2*aenv, asig3*aenv, asig4*aenv, asig5*aenv, asig6*aenv
>
> endin
>
>
>
>
>
>
> ;start(sec) ;amp(dB) ;skip(sec)
> i1 0 1 "/Volumes/iMacData/verTex/sectionGestures2/stems/sectionGesture2-082CS.aif"
> -3 60
> i1 0 1 "/Volumes/iMacData/verTex/sectionGestures2/stems/sectionGesture2-082.aif"
> -6 60
>
>
>
>
>
>
>
> On 7 December 2011 15:09, Andres Cabrera wrote:
>> Hi,
>>
>> Yes, i1 is evaluated and then it is put into p3.
>>
>> Cheers,
>> Andrés
>>
>> On Wed, Dec 7, 2011 at 1:57 PM, Louis Cohen wrote:
>>> Thanks for that extra info, Andres. Just to be clear, Victor's example --
>>>
>>>
>>>>
>>>> instr 1
>>>>
>>>> i1 filelen "myfile.wav"
>>>> p3 = i1
>>>> a1 diskin2 "myfile.wav",1
>>>>
>>>> out a1
>>>>
>>>> endin
>>>
>>>
>>> ---works because the first two lines are executed at i-time? is that
>>> correct?
>>>
>>> -Lou
>>>
>>>
>>>
>>>
>>> On Dec 7, 2011, at 3:14 AM, Andres Cabrera wrote:
>>>
>>>> Hi,
>>>>
>>>> Yes, but you have to be careful, because since they are i-time
>>>> parameters, if you change them after they have gone into an opcode,
>>>> the value in the opcode may or may not change depending on the
>>>> internal implementation. But it's generally safe to change them at the
>>>> start of the instrument.
>>>>
>>>> However, I'm not sure how safe changing p1 or p2 is...
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>> On Wed, Dec 7, 2011 at 2:01 AM, Louis Cohen wrote:
>>>>>
>>>>> This is quite a surprise to me, too.
>>>>>
>>>>> Does this mean you can overwrite any of the incoming parameters?
>>>>>
>>>>> -Lou
>>>>>
>>>>>
>>>>> On Dec 6, 2011, at 4:09 PM, peiman khosravi wrote:
>>>>>
>>>>>> Ahh, I didn't know you can overwrite p3 like that. Nice!!
>>>>>>
>>>>>> Thanks for the tip.
>>>>>>
>>>>>> Peiman
>>>>>>
>>>>>> On 6 December 2011 21:04, Victor Lazzarini
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> or even
>>>>>>>
>>>>>>> instr 1
>>>>>>> p3 filelen "myfile.wav"
>>>>>>> a1 diskin2 "myfile.wav",1
>>>>>>> out a1
>>>>>>> endin
>>>>>>>
>>>>>>> On 6 Dec 2011, at 21:01, Victor Lazzarini wrote:
>>>>>>>
>>>>>>>> you don't need two instruments, this should do the job
>>>>>>>>
>>>>>>>> instr 1
>>>>>>>>
>>>>>>>> i1 filelen "myfile.wav"
>>>>>>>> p3 = i1
>>>>>>>> a1 diskin2 "myfile.wav",1
>>>>>>>>
>>>>>>>> out a1
>>>>>>>>
>>>>>>>> endin
>>>>>>>>
>>>>>>>>
>>>>>>>> On 6 Dec 2011, at 20:51, peiman khosravi wrote:
>>>>>>>>
>>>>>>>>> +1
>>>>>>>>>
>>>>>>>>> I agree.
>>>>>>>>>
>>>>>>>>> Also for me it's a hassle that an instrument running diskin2 or
>>>>>>>>> similar opcode doesn't terminate itself once soundfile is over in a
>>>>>>>>> non-loop mode. Or is there an easy way of doing this other than
>>>>>>>>> having
>>>>>>>>> two instruments? Or is there an opcode to end a note from within the
>>>>>>>>> instrument itself?
>>>>>>>>>
>>>>>>>>> It seems that a lot of the time one needs to fight the note-based
>>>>>>>>> paradigm in Csound.
>>>>>>>>>
>>>>>>>>> P
>>>>>>>>>
>>>>>>>>> On 6 December 2011 18:38, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I had brought this up before on the dev list or on this list. I
>>>>>>>>>> really do think that there needs to be mode to csound that is meant
>>>>>>>>>> to
>>>>>>>>>> be always running without a duration at all. Conceptually it make
>>>>>>>>>> sense that an audio engine be like this, with the option to turn of
>>>>>>>>>> rendering available. The current Csound way of ending a render when
>>>>>>>>>> all notes done would be fine to maintain as a default, but having a
>>>>>>>>>> means to not end when there are no notes is something I really do
>>>>>>>>>> think needs to get in eventually.
>>>>>>>>>>
>>>>>>>>>> As part of the changes I had planned for Csound 6 is to abstract out
>>>>>>>>>> the Notelist as a generic tickable structure and to allow for this
>>>>>>>>>> free-running mode. It would be nice to coordinate to do this all at
>>>>>>>>>> one time.
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>> steven
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Dec 6, 2011 at 6:22 PM, wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> A day would be
>>>>>>>>>>> f0 86400
>>>>>>>>>>> I can change that immeduately. To implement Mie's suggestion might
>>>>>>>>>>> take a
>>>>>>>>>>> little more time -- but it could be
>>>>>>>>>>> f0 $INF
>>>>>>>>>>> which is about 7 years
>>>>>>>>>>>
>>>>>>>>>>> Anyone have strong feelings?
>>>>>>>>>>>
>>>>>>>>>>> ==John ff
>>>>>>>>>>>
>>>>>>>>>>>> i think this is a good idea. but i think that
>>>>>>>>>>>> a) it should be combined with a warning message like
>>>>>>>>>>>> "no duration has been set in the score. score will run for ...
>>>>>>>>>>>> seconds as default."
>>>>>>>>>>>> b) one hour is good, but one day is better. if csound runs by
>>>>>>>>>>>> default
>>>>>>>>>>>> for one hour in a rehearsal when you forgot to specify the score
>>>>>>>>>>>> duration, it can lead to an uncomfortable situation during the
>>>>>>>>>>>> rehearsal. but as men need sleep, one day should be sufficient for
>>>>>>>>>>>> all-days situations.
>>>>>>>>>>>> what do you think, rory? please do NOT consider neutrinos as
>>>>>>>>>>>> giving
>>>>>>>>>>>> you
>>>>>>>>>>>> time back ...
>>>>>>>>>>>> =)
>>>>>>>>>>>> joachim
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Am 06.12.2011 18:41, schrieb jpff@cs.bath.ac.uk:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> If there is no score in a .csd file then a dummy scoer of
>>>>>>>>>>>>> f0 3600
>>>>>>>>>>>>> is created -- ie 1 hour. We could discuss whether this is the
>>>>>>>>>>>>> corret
>>>>>>>>>>>>> value.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Been this way for some time
>>>>>>>>>>>>>
>>>>>>>>>>>>> ==John ff
>>>>>>>>>>>>>
>>>>>>>>>>>>>> What?! First the neutrinos and now this!?! This is totally new
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> me.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 6 December 2011 17:23, joachim heintz
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> do you mean the score section can be left empty?!?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Am 06.12.2011 14:31, schrieb jpff@cs.bath.ac.uk:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> and with no score a "f0 36002 IS GENERATED
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Kaspar,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> there is info in the manual:
>>>>>>>>>>>>>>>>> http://www.csounds.com/manual/html/f.html
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> "An f 0 statement (zero p1, positive p2) may be used to
>>>>>>>>>>>>>>>>> create
>>>>>>>>>>>>>>>>> an
>>>>>>>>>>>>>>>>> action
>>>>>>>>>>>>>>>>> time with no associated action. Such time markers are useful
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> padding
>>>>>>>>>>>>>>>>> out
>>>>>>>>>>>>>>>>> a score section (see s statement) and for letting Csound run
>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>> realtime
>>>>>>>>>>>>>>>>> events only (e.g. using only MIDI input without score
>>>>>>>>>>>>>>>>> events).
>>>>>>>>>>>>>>>>> The
>>>>>>>>>>>>>>>>> time
>>>>>>>>>>>>>>>>> given is the number of seconds Csound will run. If you want
>>>>>>>>>>>>>>>>> Csound
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>> run
>>>>>>>>>>>>>>>>> for 10 hours, use:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> f0 36000
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> greetings
>>>>>>>>>>>>>>>>> Menno
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> http://csound.1045644.n5.nabble.com/csound-max-msp-tp5052026p5052054.html
>>>>>>>>>>>>>>>>> Sent from the Csound - General mailing list archive at
>>>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 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"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>
>>>
>>>
>>> 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"
>>
>
>
> 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"
|