| yes, after Reset() options are back to defaults.
Victor
On 7 Feb 2014, at 20:49, zappfinger wrote:
> In my csound server project I use the Python API and sometimes need to do the
> following;
> (leaving out some code)
>
> csoundInitialize(3)
> csound = Csound()
> csound.SetOption("-odac")
> csound.compileOrc(..)
>
> csound.start()
> ..
> csound.stop()
> ..
> csound.reset()
> csound.start()
>
> After the second start csound behaves differently
> I had 0dbfs set to 1, but now it is
> 0dBFS level = 32768.0
>
> but worst of all:
> writing 512-byte blks of shorts to test.wav (WAV)
>
> now appears, and it is writing this wave very fast, filling up my hard disk.
> (in my initial options I had set to output to dac only)
> Do I have to set the options again after the reset?
> Also compile again, I guess?
>
> Richard
>
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/start-stop-reset-start-odness-tp5732438.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
> https://sourceforge.net/p/csound/tickets/
> csound5:
> https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
|