NRTServerOptions:
Filter:
SPList (extension) | SPList

NRTServerOptions
ExtensionExtension

ServerOptions for NRT synsthesis

Description

ServerOptions encapsulates various options for a server app within an object. But not all. Many aspects that are important for NRT systhesis are not encapsulated in the ServerOptions. Because of this made a new Class that encapsulates all options needed to do NRT synthesis.

Class Methods

.new

(describe method here)

Arguments:

ofn

output audio filename

oscfn

oscFilename

ifn

input audio filename

sr

sample rate

hf

header format

sf

sample format

oc

number of output channels

v

server verbosity

.server

program name of the used server. The default value is set like the Server.program by Platform.setup.

.tempfileOptionsString

creates a NRTServerOptions for files in temp folder (as it works at least in standard linux)

Instance Methods

.asOptionsString

returns the options as string

.outputChannels

default is 1

.verbosity

default is -2

.sampleFormat

default is WAV

.inputFilename

default is no inputfile

.outputFilename

no default value

.headerFormat

default is float

.oscFilename

default is outputFilename.osc

.sampleRate

default is Server.default.sampleRate

.deleteOSCFile

delete OSC file

.write

apply the options and create the file