Module main
[hide private]
[frames] | no frames]

Module main

source code

A barebones Python host for Csound


Author: Øyvind Brandtsegg

Contact: obrandts@gmail.com

License: GPL

Requires: csnd

Variables [hide private]
  eventCaller = control.eventCaller.EventCaller()
The event caller is the central module, communication with all other parts of the application.
  theTime = control.theTime2.TheTime2(eventCaller)
theTime is the timed queue used for timed automation of method calls.
  csThread = cs.csModule.CsoundThreadRoutine(theTime)
Instance of the Csound module, setting up and running Csound.
  csound = csThread.csound
Pointer to the actual Csound instance.
  performanceThread = csThread.csound
(Would be) Pointer to the C++ thread running Csound.
  csMessages = cs.csMessages.CsoundMessages(csound, performanceThread)
Instance of csMessages, used for all message passing from python to csound.
  command = ''

Variables Details [hide private]

eventCaller

The event caller is the central module, communication with all other parts of the application.
Value:
control.eventCaller.EventCaller()                                      
      

theTime

theTime is the timed queue used for timed automation of method calls.
Value:
control.theTime2.TheTime2(eventCaller)                                 
      

csThread

Instance of the Csound module, setting up and running Csound.
Value:
cs.csModule.CsoundThreadRoutine(theTime)                               
      

csound

Pointer to the actual Csound instance.
Value:
csThread.csound                                                        
      

performanceThread

(Would be) Pointer to the C++ thread running Csound. The current implementation does not use the performancethread, but the ksmps loop based method of running Csound. The pointer to the performance thread has been implemented to make it feasible to change between ksmps-loop and performancethread driven Csound.
Value:
csThread.csound                                                        
      

csMessages

Instance of csMessages, used for all message passing from python to csound.
Value:
cs.csMessages.CsoundMessages(csound, performanceThread)                
      

command

None
Value:
''