PHSusePlayer:
Filter:
miSCellaneous_lib/Classes (extension) | Libraries > miSCellaneous > HS and HSpar | Streams-Patterns-Events > HS and HSpar

PHSusePlayer
ExtensionExtension

player object for PHSuse and PHSparUse

Description

Implicitely instantiated when PHSuse's or PHSparUse's play method is called.

Class Methods

.new

Creates a new PHSusePlayer object.

Arguments:

pHelpSynthUse

A PHSuse or PHSparUse object.

Instance Methods

.play

Arguments:

clock

A TempoClock object. If not assigned, takes the default TempoClock.

quant

Quant or SimpleNumber. Makes the player start at the next grid that gives enough time for latency.

quantBufferTime

SimpleNumber (seconds). Calculated time to include latency for "stepping in" is lengthened by this value. Defaults to 0.2.

.stop

Arguments:

addAction

Function to be evaluated at receive time.

.pause

= stop

.free

Only free this PHSusePlayer - the PHSplayer / PHSparPlayer, which is using the same HS / HSpar, is not affected.

NOTE: stop (= pause) allows resuming the player - free resets, player can be started again.

Examples