Package cs :: Module csModule :: Class CsoundThreadRoutine
[hide private]
[frames] | no frames]

Class CsoundThreadRoutine

source code

Instance Methods [hide private]
  __init__(self, theTime)
Class constructor.
  csoundThreadRoutine(self)
Start the performanceThread, a C++ thread for running csound, independent from the Python GIL.
  stop(self)
Terminate the csound performanceThread.

Instance Variables [hide private]
  isRunning
A flag that keeps the thread running, can be deleted when we start using csnd.PerformanceThread properly
  theTime
Pointer to the precise timed queue.
  csoundThread
The csoundThreadRoutine is run in it's own thread

Method Details [hide private]

__init__(self, theTime)
(Constructor)

source code 
Class constructor.
Parameters:
  • self - The object pointer.

csoundThreadRoutine(self)

source code 
Start the performanceThread, a C++ thread for running csound, independent from the Python GIL.
Parameters:
  • self - The object pointer.

stop(self)

source code 
Terminate the csound performanceThread.
Parameters:
  • self - The object pointer.

Instance Variable Details [hide private]

isRunning

A flag that keeps the thread running, can be deleted when we start using csnd.PerformanceThread properly

theTime

Pointer to the precise timed queue.

csoundThread

The csoundThreadRoutine is run in it's own thread