| Hi,
I have no problem stopping and restarting the csd in CsoundQt as many times
needed on Linux (both self built from git). I hope to remind and try on MacOS
- there have been alsom similar reports on other cases that starting csd
second time hangs CsoundQt on some cases.
greetings,
tarmo
On kolmapäev, 5. september 2018 16:38.50 EEST you wrote:
> I tried it here on commandline and found I could use ctrl-c to stop
> Csound. That i-rate loop does take a while to run though before sound
> commences. I don't see the typical csound end of performance
> information though after ctrl-c. Seems like it might be an issue with
> CsoundQT? Have you tried run in terminal?
>
> On Mon, Sep 3, 2018 at 3:57 PM jdm771 wrote:
> > Hi,
> >
> > I would like to scatter sound events uniformly in time over a span of
> > several hours.
> >
> > I am using a Mac (Csound v6.11) and using the CsoundQt front end
> > (v0.9.5.1).
> >
> > The below code will work fine on the first run. However, when I stop it
> > fully and then try to run it a second time, it will hang up the computer.
> > I
> > then have to force-quit CsoundQt.
> >
> > If I make the TOTAL_DURATION macro something like 120 seconds, it will
> > work
> > every time, without hanging up the computer.
> >
> > I have tried a variety of things such as delaying the start time to give
> > it
> > more time to fill up the event queue, using an e statement with a
> > sufficiently long duration, making the i10 score statement duration longer
> > to give it more time to fill the event queue, and tweaking the f0
> > duration.
> >
> > I have realized that if I wait about 1-2 minutes before I run the .csd
> > file
> > again, it does not hang up the computer. But waiting like that is not
> > ideal.
> >
> > I am wondering if I need to clear the "event queue" somehow before I run
> > the .csd file again? Will you please assist me on this question?
> >
> > Thank you!
> >
> >
> >
> >
> >
> >
> >
> > sr = 48000
> > ksmps = 32
> > 0dbfs = 1
> > nchnls = 1
> >
> > #define TOTAL_DURATION #18000# ; Total duration in seconds.
> >
> > instr 10
> >
> > itimes = $TOTAL_DURATION/3 ; Number of events to produce (i.e.,
> > 6000).
> > icnt = 0
> >
> > loop:
> > istart unirand $TOTAL_DURATION ; Distribute sound events
> > uniformly within
> >
> > 0 to 18000 seconds.
> >
> > event_i "i", 100, istart, 3
> >
> > loop_lt icnt, 1, itimes, loop ; End of the i-time loop.
> >
> > endin
> >
> > instr 100
> >
> > asig oscil 0.1, random(400, 800)
> > kamp linseg 0, 0.2, 1, p3-0.4, 1, 0.2, 0
> > asig *= kamp
> > out asig
> >
> > endin
> >
> >
> >
> >
> > f0 18000
> >
> > i10 0 10
> >
> >
> >
> >
> >
> >
> > --
> > Sent from:
> > http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> >
> > Csound mailing list
> > Csound@listserv.heanet.ie
> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> > Send bugs reports to
> >
> > https://github.com/csound/csound/issues
> >
> > Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |