Sndlib Enums#

in pysndlib.sndlib

enum Header(value)#

file types for audio files

Member Type:

int

Valid values are as follows:

UNKNOWN_HEADER = <Header.UNKNOWN_HEADER: 0>#
NEXT = <Header.NEXT: 1>#
AIFC = <Header.AIFC: 2>#
RIFF = <Header.RIFF: 3>#
RF64 = <Header.RF64: 4>#
BICSF = <Header.BICSF: 5>#
NIST = <Header.NIST: 6>#
INRS = <Header.INRS: 7>#
ESPS = <Header.ESPS: 8>#
SVX = <Header.SVX: 9>#
VOC = <Header.VOC: 10>#
SNDT = <Header.SNDT: 11>#
RAW = <Header.RAW: 12>#
SMP = <Header.SMP: 13>#
AVR = <Header.AVR: 14>#
IRCAM = <Header.IRCAM: 15>#
SD1 = <Header.SD1: 16>#
SPPACK = <Header.SPPACK: 17>#
MUS10 = <Header.MUS10: 18>#
HCOM = <Header.HCOM: 19>#
PSION = <Header.PSION: 20>#
MAUD = <Header.MAUD: 21>#
IEEE = <Header.IEEE: 22>#
MATLAB = <Header.MATLAB: 23>#
ADC = <Header.ADC: 24>#
MIDI = <Header.MIDI: 25>#
SOUNDFONT = <Header.SOUNDFONT: 26>#
GRAVIS = <Header.GRAVIS: 27>#
COMDISCO = <Header.COMDISCO: 28>#
GOLDWAVE = <Header.GOLDWAVE: 29>#
SRFS = <Header.SRFS: 30>#
MIDI_SAMPLE_DUMP = <Header.MIDI_SAMPLE_DUMP: 31>#
DIAMONDWARE = <Header.DIAMONDWARE: 32>#
ADF = <Header.ADF: 33>#
SBSTUDIOII = <Header.SBSTUDIOII: 34>#
DELUSION = <Header.DELUSION: 35>#
FARANDOLE = <Header.FARANDOLE: 36>#
SAMPLE_DUMP = <Header.SAMPLE_DUMP: 37>#
ULTRATRACKER = <Header.ULTRATRACKER: 38>#
YAMAHA_SY85 = <Header.YAMAHA_SY85: 39>#
YAMAHA_TX16W = <Header.YAMAHA_TX16W: 40>#
DIGIPLAYER = <Header.DIGIPLAYER: 41>#
COVOX = <Header.COVOX: 42>#
AVI = <Header.AVI: 43>#
OMF = <Header.OMF: 44>#
QUICKTIME = <Header.QUICKTIME: 45>#
ASF = <Header.ASF: 46>#
YAMAHA_SY99 = <Header.YAMAHA_SY99: 47>#
KURZWEIL_2000 = <Header.KURZWEIL_2000: 48>#
AIFF = <Header.AIFF: 49>#
PAF = <Header.PAF: 50>#
CSL = <Header.CSL: 51>#
FILE_SAMP = <Header.FILE_SAMP: 52>#
PVF = <Header.PVF: 53>#
SOUNDFORGE = <Header.SOUNDFORGE: 54>#
TWINVQ = <Header.TWINVQ: 55>#
AKAI4 = <Header.AKAI4: 56>#
IMPULSETRACKER = <Header.IMPULSETRACKER: 57>#
KORG = <Header.KORG: 58>#
NVF = <Header.NVF: 59>#
CAFF = <Header.CAFF: 60>#
MAUI = <Header.MAUI: 61>#
SDIF = <Header.SDIF: 62>#
OGG = <Header.OGG: 63>#
FLAC = <Header.FLAC: 64>#
SPEEX = <Header.SPEEX: 65>#
MPEG = <Header.MPEG: 66>#
SHORTEN = <Header.SHORTEN: 67>#
TTA = <Header.TTA: 68>#
WAVPACK = <Header.WAVPACK: 69>#
SOX = <Header.SOX: 70>#
NUM_HEADERS = <Header.NUM_HEADERS: 71>#
enum Sample(value)#

numerical sample types

Member Type:

int

Valid values are as follows:

UNKNOWN_SAMPLE = <Sample.UNKNOWN_SAMPLE: 0>#
BSHORT = <Sample.BSHORT: 1>#
MULAW = <Sample.MULAW: 2>#
BYTE = <Sample.BYTE: 3>#
BFLOAT = <Sample.BFLOAT: 4>#
BINT = <Sample.BINT: 5>#
ALAW = <Sample.ALAW: 6>#
UBYTE = <Sample.UBYTE: 7>#
B24INT = <Sample.B24INT: 8>#
BDOUBLE = <Sample.BDOUBLE: 9>#
LSHORT = <Sample.LSHORT: 10>#
LINT = <Sample.LINT: 11>#
LFLOAT = <Sample.LFLOAT: 12>#
LDOUBLE = <Sample.LDOUBLE: 13>#
UBSHORT = <Sample.UBSHORT: 14>#
ULSHORT = <Sample.ULSHORT: 15>#
L24INT = <Sample.L24INT: 16>#
BINTN = <Sample.BINTN: 17>#
LINTN = <Sample.LINTN: 18>#
BFLOAT_UNSCALED = <Sample.BFLOAT_UNSCALED: 19>#
LFLOAT_UNSCALED = <Sample.LFLOAT_UNSCALED: 20>#
BDOUBLE_UNSCALED = <Sample.BDOUBLE_UNSCALED: 21>#
LDOUBLE_UNSCALED = <Sample.LDOUBLE_UNSCALED: 22>#
NUM_SAMPLES = <Sample.NUM_SAMPLES: 23>#
enum Error(value)#

sndlib and clm errors

Member Type:

int

Valid values are as follows:

NO_ERROR = <Error.NO_ERROR: 0>#
NO_FREQUENCY = <Error.NO_FREQUENCY: 1>#
NO_PHASE = <Error.NO_PHASE: 2>#
NO_GEN = <Error.NO_GEN: 3>#
NO_LENGTH = <Error.NO_LENGTH: 4>#
NO_DESCRIBE = <Error.NO_DESCRIBE: 5>#
NO_DATA = <Error.NO_DATA: 6>#
NO_SCALER = <Error.NO_SCALER: 7>#
MEMORY_ALLOCATION_FAILED = <Error.MEMORY_ALLOCATION_FAILED: 8>#
CANT_OPEN_FILE = <Error.CANT_OPEN_FILE: 9>#
NO_SAMPLE_INPUT = <Error.NO_SAMPLE_INPUT: 10>#
NO_SAMPLE_OUTPUT = <Error.NO_SAMPLE_OUTPUT: 11>#
NO_SUCH_CHANNEL = <Error.NO_SUCH_CHANNEL: 12>#
NO_FILE_NAME_PROVIDED = <Error.NO_FILE_NAME_PROVIDED: 13>#
NO_LOCATION = <Error.NO_LOCATION: 14>#
NO_CHANNEL = <Error.NO_CHANNEL: 15>#
NO_SUCH_FFT_WINDOW = <Error.NO_SUCH_FFT_WINDOW: 16>#
UNSUPPORTED_SAMPLE_TYPE = <Error.UNSUPPORTED_SAMPLE_TYPE: 17>#
HEADER_READ_FAILED = <Error.HEADER_READ_FAILED: 18>#
UNSUPPORTED_HEADER_TYPE = <Error.UNSUPPORTED_HEADER_TYPE: 19>#
FILE_DESCRIPTORS_NOT_INITIALIZED = <Error.FILE_DESCRIPTORS_NOT_INITIALIZED: 20>#
NOT_A_SOUND_FILE = <Error.NOT_A_SOUND_FILE: 21>#
FILE_CLOSED = <Error.FILE_CLOSED: 22>#
WRITE_ERROR = <Error.WRITE_ERROR: 23>#
HEADER_WRITE_FAILED = <Error.HEADER_WRITE_FAILED: 24>#
CANT_OPEN_TEMP_FILE = <Error.CANT_OPEN_TEMP_FILE: 25>#
INTERRUPTED = <Error.INTERRUPTED: 26>#
BAD_ENVELOPE = <Error.BAD_ENVELOPE: 27>#
AUDIO_CHANNELS_NOT_AVAILABLE = <Error.AUDIO_CHANNELS_NOT_AVAILABLE: 28>#
AUDIO_SRATE_NOT_AVAILABLE = <Error.AUDIO_SRATE_NOT_AVAILABLE: 29>#
AUDIO_SAMPLE_TYPE_NOT_AVAILABLE = <Error.AUDIO_SAMPLE_TYPE_NOT_AVAILABLE: 30>#
AUDIO_NO_INPUT_AVAILABLE = <Error.AUDIO_NO_INPUT_AVAILABLE: 31>#
AUDIO_CONFIGURATION_NOT_AVAILABLE = <Error.AUDIO_CONFIGURATION_NOT_AVAILABLE: 32>#
AUDIO_WRITE_ERROR = <Error.AUDIO_WRITE_ERROR: 33>#
AUDIO_SIZE_NOT_AVAILABLE = <Error.AUDIO_SIZE_NOT_AVAILABLE: 34>#
AUDIO_DEVICE_NOT_AVAILABLE = <Error.AUDIO_DEVICE_NOT_AVAILABLE: 35>#
AUDIO_CANT_CLOSE = <Error.AUDIO_CANT_CLOSE: 36>#
AUDIO_CANT_OPEN = <Error.AUDIO_CANT_OPEN: 37>#
AUDIO_READ_ERROR = <Error.AUDIO_READ_ERROR: 38>#
AUDIO_CANT_WRITE = <Error.AUDIO_CANT_WRITE: 39>#
AUDIO_CANT_READ = <Error.AUDIO_CANT_READ: 40>#
AUDIO_NO_READ_PERMISSION = <Error.AUDIO_NO_READ_PERMISSION: 41>#
CANT_CLOSE_FILE = <Error.CANT_CLOSE_FILE: 42>#
ARG_OUT_OF_RANGE = <Error.ARG_OUT_OF_RANGE: 43>#
NO_CHANNELS = <Error.NO_CHANNELS: 44>#
NO_HOP = <Error.NO_HOP: 45>#
NO_WIDTH = <Error.NO_WIDTH: 46>#
NO_FILE_NAME = <Error.NO_FILE_NAME: 47>#
NO_RAMP = <Error.NO_RAMP: 48>#
NO_RUN = <Error.NO_RUN: 49>#
NO_INCREMENT = <Error.NO_INCREMENT: 50>#
NO_OFFSET = <Error.NO_OFFSET: 51>#
NO_XCOEFF = <Error.NO_XCOEFF: 52>#
NO_YCOEFF = <Error.NO_YCOEFF: 53>#
NO_XCOEFFS = <Error.NO_XCOEFFS: 54>#
NO_YCOEFFS = <Error.NO_YCOEFFS: 55>#
NO_RESET = <Error.NO_RESET: 56>#
BAD_SIZE = <Error.BAD_SIZE: 57>#
CANT_CONVERT = <Error.CANT_CONVERT: 58>#
READ_ERROR = <Error.READ_ERROR: 59>#
NO_FEEDFORWARD = <Error.NO_FEEDFORWARD: 60>#
NO_FEEDBACK = <Error.NO_FEEDBACK: 61>#
NO_INTERP_TYPE = <Error.NO_INTERP_TYPE: 62>#
NO_POSITION = <Error.NO_POSITION: 63>#
NO_ORDER = <Error.NO_ORDER: 64>#
NO_COPY = <Error.NO_COPY: 65>#
CANT_TRANSLATE = <Error.CANT_TRANSLATE: 66>#
NUM_ERRORS = <Error.NUM_ERRORS: 67>#