You have grabbed the concept, no external files
and no limits for the musical fantasy.
tito
On Wed, Mar 14, 2012 at 05:27:21PM +0100, joachim heintz wrote:
> in other words, the example jake has given in the other thread can
> already be written in csound:
>
>
>
> instr 1
> asig oscils 0dbfs/10, p5, 0
> asig linen asig, p4, p3, p4
> outs asig, asig
> endin
>
>
> from random import random
> from sys import argv
> sco = open(argv[1], 'w')
> for i in range(10000):
> note = "i 1 " + str(random() * 60.0) + " 0.05 0.02 " + str((100 +
> random() * 1000)) + "\n"
> sco.write(note)
>
>
>
> joachim
>
> Am 13.03.2012 23:30, schrieb Tito Latini:
> > Another idea, python inside the score
> >
> >
> >
> >
> > instr 1
> > prints "--- score in python ---\n"
> > endin
> >
> >
> >
> >
> > import sys
> > sys.stdout = open(sys.argv[1], 'w')
> > print "i1 0 1\n"
> >
> >
> >
> >
> > tito
> >
> >
> > 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"