IBVAplayer:
Filter:
IBVA-BlueVAS-SuperCollider/Classes (extension) | External Control

IBVAplayer
ExtensionExtension

playback of IBVA data files

Description

play back binary files from disk.

use IBVArecorder to record these files.

Class Methods

.new

create a new player

Arguments:

ibva

an instance of IBVA

Instance Methods

.ibva

get the ibva instance

.sr

sampling rate from the file

.prepare

open the file and read in the data. this will also set the sampling rate of the ibva instance.

Arguments:

path

input file

.play

start playing back data (this will mute and take over input from the serial port)

Arguments:

rate

playback rate. e.g. 2=double speed

repeats

number of times to loop. e.g. inf=infinite

action

a Function that will be evaluated when finished playing

.stop

stop playing (and optionally plug back the input from the serial port)

Arguments:

unmutePort

a Booelan indicating if the serial data should be restored or not

Examples