VGSound:
Filter:
GamelanSynthesis/Classes (extension) | Extensions > Virtual Gamelan

VGSound
ExtensionExtension

Virtual Gamelan sound rendering

Description

Rendering gamelan data to sound with different synthesis variants

Class Methods

.initPlaybackSettings

(describe method here)

Returns:

(describe returnvalue here)

.startUp

Trigger rendering and loading sounds (synths and samples). This can take ca. 30-40 seconds, and posts much detailed info.

Arguments:

doneFunc

(describe argument here)

initSynth

Choose whether synths are initialized (faster without)

loadSamp

Choose whether samples are loaded (faster without)

Returns:

(describe returnvalue here)

.specsFor

(describe method here)

Arguments:

instKey

(describe argument here)

noteKey

(describe argument here)

laras

(describe argument here)

synthDefName

(describe argument here)

addPartNum

(describe argument here)

Returns:

(describe returnvalue here)

.eventType

(describe method here)

Returns:

(describe returnvalue here)

.tryComp

(describe method here)

Arguments:

fileKey

(describe argument here)

ampComp

(describe argument here)

rootPitch

(describe argument here)

octave

(describe argument here)

repeats

(describe argument here)

wait

(describe argument here)

Returns:

(describe returnvalue here)

.synthEngines

Print all available synthesis variants

Returns:

(describe returnvalue here)

.getAmpComp

(describe method here)

Arguments:

fileKey

(describe argument here)

Returns:

(describe returnvalue here)

.orderOfPartials

(describe method here)

Arguments:

partials

(describe argument here)

freq

(describe argument here)

ring

(describe argument here)

amp

(describe argument here)

attack

(describe argument here)

Returns:

(describe returnvalue here)

.comp

(describe method here)

Arguments:

fileKey

(describe argument here)

ampComp

(describe argument here)

rootPitch

(describe argument here)

octave

(describe argument here)

Returns:

(describe returnvalue here)

.server

(describe method here)

Returns:

(describe returnvalue here)

.verbose

(describe method here)

Returns:

(describe returnvalue here)

.eventFor

(describe method here)

Arguments:

inval

(describe argument here)

Returns:

(describe returnvalue here)

.rootPitches

(describe method here)

Returns:

(describe returnvalue here)

.getRootPitch

(describe method here)

Arguments:

fileKey

(describe argument here)

Returns:

(describe returnvalue here)

.loaded

(describe method here)

Returns:

(describe returnvalue here)

.makeDefaultEvent

(describe method here)

Returns:

(describe returnvalue here)

.playbackSettings

(describe method here)

Returns:

(describe returnvalue here)

.suggestComp

(describe method here)

Arguments:

laras

(describe argument here)

instKey

(describe argument here)

noteKey

(describe argument here)

baseAmp

(describe argument here)

weights

(describe argument here)

index

(describe argument here)

Returns:

(describe returnvalue here)

.quit

(describe method here)

Returns:

(describe returnvalue here)

.ampComps

(describe method here)

Returns:

(describe returnvalue here)

.play

Play the sounds of a specified group in rapid succession (test)

Arguments:

laras

Choose among tuning related instrument-groupings: laras:\pelog or \slendro or \neutral

synthDef

Choose among one of the synthesis variants:

  • vgSampDyn: Samples that can be dynamically tuned
  • vgSampFix: Fixed parameters samples (less ressource intensive)
  • vgAddiAr: Additive synthesis, full resolution
  • vgAddiKr: Additive synthesis, slightly cheaper envelopes
  • vgRingz: ringing filters, no attack modeling
  • vgFormlet: ringing filters with modeled attack (not tuned well)

event

Allows to choose instrument and key in event-notation. You would specify an instrument name and a key to play a specific tone/sonator Instruments are addressed by 'instKey' and individual keys by 'noteKey'

Returns:

(describe returnvalue here)

.initClass

(describe method here)

Returns:

(describe returnvalue here)

Examples