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

PHSusePlayer : PHelpSynthUsePlayer : Object
ExtensionExtension

player object for PHSuse and PHSparUse

Description

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

Class Methods

PHSusePlayer.new(pHelpSynthUse)

From superclass: PHelpSynthUsePlayer

Creates a new PHSusePlayer object.

Arguments:

pHelpSynthUse

A PHSuse or PHSparUse object.

Inherited class methods

Instance Methods

.play(clock, quant, quantBufferTime: 0.2)

From superclass: PHelpSynthUsePlayer

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(addAction)

From superclass: PHelpSynthUsePlayer

Arguments:

addAction

Function to be evaluated at receive time.

.pause(addAction)

From superclass: PHelpSynthUsePlayer

= stop

.free

From superclass: PHelpSynthUsePlayer

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.

Inherited instance methods

Examples