RedDiskInPlayer simple GUI for soundfile playback from disk

superclass: Object

uses [RedDiskInSampler] to stream soundfiles from disk. use it to play back long soundfiles.

GUI:

'vol' - playback volume

'env' - attack and release time in seconds

'bus' - output bus index

'loop' - keep repeating the soundfile. note: not smooth because of file preloading

'folder' - select a file to set path to all soundfiles

'filter' - 0 = all soundfiles, 1 = only mono files, 2 = stereo etc.

*new(server, bus, numItems)

server - if nil then the default server will be used.

bus - output bus. defaults to 0.

numItems - number of soundfiles visible in the list. default 10.

<sampler

a RedDiskInSampler

<isPlaying

boolean

<soundFiles

current files in list

bus

current outbut bus

free

closes the window and stops the synth

a= RedDiskInPlayer(s);

a.sampler

a.isPlaying

a.soundFiles

a.bus

a.free //or close the window, or press cmdperiod