| I think the UDP opcodes should not be 'always on'.
Try modifying the CSD so that they only come on
when you need them (ie. when there is a sender to
connect to). When you start the receiver and there
is no sender, at one point the opcode will block
because the buffer is not being filled. That's not
really a bug, just the way it works. You don't need
to modify them, just the CSD.
You should start the receive instrument only if there is
a sender, otherwise just leave it off.
Victor
>
> Good point Victor,
>
> The problem was in the csd file - the udp opcodes,
> i thought this solved that is why I did not look into
> that. I will let you know...
>
> Simon
>
> Victor Lazzarini wrote:
> > I reckon this might be a problem with the CSD. Are
> > you using the UDP opcodes? Sounds like something is
> > hanging csoundPerformKsmps(). If that's the case
> > a further call to Perf.Join() will not do anything.
> >
> > We had a similar problem before, remember?
> >
> > Victor
> >
> >> Do you mean the CsoundPerformanceThread class does not
> >> work (I assume this is not related to the original
> >> subject) ? I tried your Python script with a simple CSD
> >> file, but did not find problems. So, it is possible
> that >> it can only be reproduced with your CSD (that I do
> not >> have) or on the platform you use (OS X ?).
> >>
> >> On Friday 09 June 2006 21:27, Simon Schampijer wrote:
> >>
> >>
> >>> Actually the problem I am facing now,
> >>> is that the performance thread can not be
> >>> accessed any more. After stopping the performance
> >>> I can not join the thread, reset does not work
> neither. >>>
> >>> import csnd
> >>> import time
> >>>
> >>> csound = csnd.Csound()
> >>> csound.Compile('univorc.csd')
> >>> perf = csnd.CsoundPerformanceThread(csound)
> >>> perf.Play()
> >>> csound.SetChannel('sfplay.1.on', 1)
> >>> perf.InputMessage('i 102 0 1 \"coltrane.wav\" 1 0.7
> 0.5 >>> 0') time.sleep(1)
> >>>
> >>> perf.Stop()
> >>> perf.Join()
> >>> csound.Reset()
> >>>
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >>
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> > >> --------------------------------------
> > This Email Was brought to you by
> > WebMail
> > A Netwin Web Based EMail Client
> > http://netwinsite.com/webmail/tag.htm
> >
> >
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> > >
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
--------------------------------------
This Email Was brought to you by
WebMail
A Netwin Web Based EMail Client
http://netwinsite.com/webmail/tag.htm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |