Player:
Filter:
JoshMisc/Classes (extension) | Libraries > JoshUGens | UGens > Multichannel > Ambisonics

Player
ExtensionExtension

A soundfile player and BFormat Decoder

Description

Class Methods

.new

NOTE: All arguments are optional.

Arguments:

soundfilepath

The path (complete or relative) to a soundfile

formatOut

A string. defaults to \straight which simply plays the soundfile directly to the output. If your file is a BFormat file (3 or 4 channel) you can choose:

  • \stereo
  • \uhj
  • \quad
  • \hex
starttime

An initial starttime for playback.

outbus

The starting outbus for playback.

amp

An initial amplitude value.

xywz

Expects true or false. This will decode Ambsonic files recorded for middle side monitoring. (default is false)

env

Any fixed duration envelope (Env, InterplEnv, InterplXYC) to be played over the soundfiles duration.

.initClass

Instance Methods

.play

Plays the soundfile.

.pause

Pauses the soundfile. Playback resumes where the file was paused.

.stop

Stops the soundfile. Playback begins from starttime.

.formatOut

Changes the output format

.starttime

Change the starttime.

.endtime

Change the endtime.

.gui

Create a GUI controller with optional scope.

.isScope

.mute_w

.mute_y

.pausedplay

.initendtime

.env

.bufnum

.player

.close

.amp

.group

.mute_x

.clock

.outarray

.filename

.isGui

.init

.sf

.soundfilepath

.window

.soundfile

.scopebuf

.initstarttime

.server

.curtime

.mute_z

.outbus

.scopeID

.xywz

.numchan

.reset

.nodeID

.isPlaying

.playfunc

.tempoclock

Examples