PlayerSpec:
Filter:
Classes (extension) | Spec | Libraries > crucial > Spec | Libraries > crucial > Players

PlayerSpec : HasItemSpec : NonControlSpec : Spec : Object
ExtensionExtension

datatype specifying that the input or output is a Player object
Source: MoreSpecs.sc

Description

A Player object may have an output of AudioSpec of ControlSpec. But a function that creates and returns a player object would have an output spec of PlayerSpec.

Likewise a function can accept a Player as an input argument which it then intends to do something with like wrap it in an effect and return it or possibly play it.

Class Methods

Inherited class methods

Instance Methods

.canAccept(ting)

Arguments:

ting

.rate

Inherited instance methods