Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace sampler

namespace

sampler

Index

Functions

Functions

add

  • add(name: any, filename: any, noteNum: any, gain: any, pan: any, oneShot: any): { address: string; args: ({ type: string; value: string } | { type: string; value: number })[] }
  • Add a sample to the currently selected sampler.

    Parameters

    • name: any

      the name of the sample to add

    • filename: any

      the filename (relative to server WD, or absolute)

    • noteNum: any

      the Midi note number to add the sample to

    • gain: any
    • pan: any
    • oneShot: any

    Returns { address: string; args: ({ type: string; value: string } | { type: string; value: number })[] }

    • address: string
    • args: ({ type: string; value: string } | { type: string; value: number })[]

clearAll

  • clearAll(): { address: string }