MuseScore  3.4
Music composition and notation
Classes | Enumerations | Functions | Variables
FluidS Namespace Reference

Classes

struct  BankOffset
 
class  Channel
 
class  Fluid
 
struct  fluid_env_data_t
 
struct  fluid_interp_coeff_t
 
class  Generator
 SoundFont generator structure. More...
 
class  GenInfo
 
class  Instrument
 
struct  Mod
 
struct  Phase
 
class  Preset
 
class  Sample
 
struct  SFBag
 
struct  SFChunk
 
struct  SFGen
 
union  SFGenAmount
 
struct  SFIhdr
 
struct  SFMod
 
class  SFont
 
struct  SFPhdr
 
struct  SFVersion
 
class  Voice
 
class  Zone
 

Enumerations

enum  fluid_loop { FLUID_UNLOOPED = 0, FLUID_LOOP_DURING_RELEASE = 1, FLUID_NOTUSED = 2, FLUID_LOOP_UNTIL_RELEASE = 3 }
 
enum  fluid_synth_status { FLUID_SYNTH_CLEAN, FLUID_SYNTH_PLAYING, FLUID_SYNTH_QUIET, FLUID_SYNTH_STOPPED }
 
enum  fluid_midi_control_change {
  BANK_SELECT_MSB = 0x00, MODULATION_MSB = 0x01, BREATH_MSB = 0x02, FOOT_MSB = 0x04,
  PORTAMENTO_TIME_MSB = 0x05, DATA_ENTRY_MSB = 0x06, VOLUME_MSB = 0x07, BALANCE_MSB = 0x08,
  PAN_MSB = 0x0A, EXPRESSION_MSB = 0x0B, EFFECTS1_MSB = 0x0C, EFFECTS2_MSB = 0x0D,
  GPC1_MSB = 0x10, GPC2_MSB = 0x11, GPC3_MSB = 0x12, GPC4_MSB = 0x13,
  BANK_SELECT_LSB = 0x20, MODULATION_WHEEL_LSB = 0x21, BREATH_LSB = 0x22, FOOT_LSB = 0x24,
  PORTAMENTO_TIME_LSB = 0x25, DATA_ENTRY_LSB = 0x26, VOLUME_LSB = 0x27, BALANCE_LSB = 0x28,
  PAN_LSB = 0x2A, EXPRESSION_LSB = 0x2B, EFFECTS1_LSB = 0x2C, EFFECTS2_LSB = 0x2D,
  GPC1_LSB = 0x30, GPC2_LSB = 0x31, GPC3_LSB = 0x32, GPC4_LSB = 0x33,
  SUSTAIN_SWITCH = 0x40, PORTAMENTO_SWITCH = 0x41, SOSTENUTO_SWITCH = 0x42, SOFT_PEDAL_SWITCH = 0x43,
  LEGATO_SWITCH = 0x45, HOLD2_SWITCH = 0x45, SOUND_CTRL1 = 0x46, SOUND_CTRL2 = 0x47,
  SOUND_CTRL3 = 0x48, SOUND_CTRL4 = 0x49, SOUND_CTRL5 = 0x4A, SOUND_CTRL6 = 0x4B,
  SOUND_CTRL7 = 0x4C, SOUND_CTRL8 = 0x4D, SOUND_CTRL9 = 0x4E, SOUND_CTRL10 = 0x4F,
  GPC5 = 0x50, GPC6 = 0x51, GPC7 = 0x52, GPC8 = 0x53,
  PORTAMENTO_CTRL = 0x54, EFFECTS_DEPTH1 = 0x5B, EFFECTS_DEPTH2 = 0x5C, EFFECTS_DEPTH3 = 0x5D,
  EFFECTS_DEPTH4 = 0x5E, EFFECTS_DEPTH5 = 0x5F, DATA_ENTRY_INCR = 0x60, DATA_ENTRY_DECR = 0x61,
  NRPN_LSB = 0x62, NRPN_MSB = 0x63, RPN_LSB = 0x64, RPN_MSB = 0x65,
  ALL_SOUND_OFF = 0x78, ALL_CTRL_OFF = 0x79, LOCAL_CONTROL = 0x7A, ALL_NOTES_OFF = 0x7B,
  OMNI_OFF = 0x7C, OMNI_ON = 0x7D, POLY_OFF = 0x7E, POLY_ON = 0x7F
}
 
enum  fluid_gen_type {
  GEN_STARTADDROFS, GEN_ENDADDROFS, GEN_STARTLOOPADDROFS, GEN_ENDLOOPADDROFS,
  GEN_STARTADDRCOARSEOFS, GEN_MODLFOTOPITCH, GEN_VIBLFOTOPITCH, GEN_MODENVTOPITCH,
  GEN_FILTERFC, GEN_FILTERQ, GEN_MODLFOTOFILTERFC, GEN_MODENVTOFILTERFC,
  GEN_ENDADDRCOARSEOFS, GEN_MODLFOTOVOL, GEN_UNUSED1, GEN_CHORUSSEND,
  GEN_REVERBSEND, GEN_PAN, GEN_UNUSED2, GEN_UNUSED3,
  GEN_UNUSED4, GEN_MODLFODELAY, GEN_MODLFOFREQ, GEN_VIBLFODELAY,
  GEN_VIBLFOFREQ, GEN_MODENVDELAY, GEN_MODENVATTACK, GEN_MODENVHOLD,
  GEN_MODENVDECAY, GEN_MODENVSUSTAIN, GEN_MODENVRELEASE, GEN_KEYTOMODENVHOLD,
  GEN_KEYTOMODENVDECAY, GEN_VOLENVDELAY, GEN_VOLENVATTACK, GEN_VOLENVHOLD,
  GEN_VOLENVDECAY, GEN_VOLENVSUSTAIN, GEN_VOLENVRELEASE, GEN_KEYTOVOLENVHOLD,
  GEN_KEYTOVOLENVDECAY, GEN_INSTRUMENT, GEN_RESERVED1, GEN_KEYRANGE,
  GEN_VELRANGE, GEN_STARTLOOPADDRCOARSEOFS, GEN_KEYNUM, GEN_VELOCITY,
  GEN_ATTENUATION, GEN_RESERVED2, GEN_ENDLOOPADDRCOARSEOFS, GEN_COARSETUNE,
  GEN_FINETUNE, GEN_SAMPLEID, GEN_SAMPLEMODE, GEN_RESERVED3,
  GEN_SCALETUNE, GEN_EXCLUSIVECLASS, GEN_OVERRIDEROOTKEY, GEN_PITCH,
  GEN_LAST
}
 Generator (effect) numbers (SoundFont 2.01 specifications section 8.1.3) More...
 
enum  { FLUID_GROUP = 0 }
 
enum  fluid_chorus_mod { FLUID_CHORUS_MOD_SINE = 0, FLUID_CHORUS_MOD_TRIANGLE = 1 }
 
enum  fluid_interp {
  FLUID_INTERP_NONE = 0, FLUID_INTERP_LINEAR = 1, FLUID_INTERP_DEFAULT = 4, FLUID_INTERP_4THORDER = 4,
  FLUID_INTERP_7THORDER = 7, FLUID_INTERP_HIGHEST = 7
}
 
enum  {
  FLUID_SAMPLETYPE_MONO = 1, FLUID_SAMPLETYPE_RIGHT = 2, FLUID_SAMPLETYPE_LEFT = 4, FLUID_SAMPLETYPE_LINKED = 8,
  FLUID_SAMPLETYPE_OGG_VORBIS = 0x10, FLUID_SAMPLETYPE_ROM = 0x8000
}
 Sample types. More...
 
enum  fluid_gen_flags { GEN_UNUSED, GEN_SET, GEN_ABS_NRPN }
 Enum value for 'flags' field of #_Generator (not really flags). More...
 
enum  fluid_voice_add_mod { FLUID_VOICE_OVERWRITE, FLUID_VOICE_ADD, FLUID_VOICE_DEFAULT }
 
enum  fluid_mod_flags {
  FLUID_MOD_POSITIVE = 0, FLUID_MOD_NEGATIVE = 1, FLUID_MOD_UNIPOLAR = 0, FLUID_MOD_BIPOLAR = 2,
  FLUID_MOD_LINEAR = 0, FLUID_MOD_CONCAVE = 4, FLUID_MOD_CONVEX = 8, FLUID_MOD_SWITCH = 12,
  FLUID_MOD_GC = 0, FLUID_MOD_CC = 16
}
 
enum  fluid_mod_src {
  FLUID_MOD_NONE = 0, FLUID_MOD_VELOCITY = 2, FLUID_MOD_KEY = 3, FLUID_MOD_KEYPRESSURE = 10,
  FLUID_MOD_CHANNELPRESSURE = 13, FLUID_MOD_PITCHWHEEL = 14, FLUID_MOD_PITCHWHEELSENS = 16
}
 
enum  {
  UNKN_ID, RIFF_ID, LIST_ID, SFBK_ID,
  INFO_ID, SDTA_ID, PDTA_ID, IFIL_ID,
  ISNG_ID, INAM_ID, IROM_ID, IVER_ID,
  ICRD_ID, IENG_ID, IPRD_ID, ICOP_ID,
  ICMT_ID, ISFT_ID, SNAM_ID, SMPL_ID,
  PHDR_ID, PBAG_ID, PMOD_ID, PGEN_ID,
  IHDR_ID, IBAG_ID, IMOD_ID, IGEN_ID,
  SHDR_ID
}
 
enum  Gen_Type {
  Gen_StartAddrOfs, Gen_EndAddrOfs, Gen_StartLoopAddrOfs, Gen_EndLoopAddrOfs,
  Gen_StartAddrCoarseOfs, Gen_ModLFO2Pitch, Gen_VibLFO2Pitch, Gen_ModEnv2Pitch,
  Gen_FilterFc, Gen_FilterQ, Gen_ModLFO2FilterFc, Gen_ModEnv2FilterFc,
  Gen_EndAddrCoarseOfs, Gen_ModLFO2Vol, Gen_Unused1, Gen_ChorusSend,
  Gen_ReverbSend, Gen_Pan, Gen_Unused2, Gen_Unused3,
  Gen_Unused4, Gen_ModLFODelay, Gen_ModLFOFreq, Gen_VibLFODelay,
  Gen_VibLFOFreq, Gen_ModEnvDelay, Gen_ModEnvAttack, Gen_ModEnvHold,
  Gen_ModEnvDecay, Gen_ModEnvSustain, Gen_ModEnvRelease, Gen_Key2ModEnvHold,
  Gen_Key2ModEnvDecay, Gen_VolEnvDelay, Gen_VolEnvAttack, Gen_VolEnvHold,
  Gen_VolEnvDecay, Gen_VolEnvSustain, Gen_VolEnvRelease, Gen_Key2VolEnvHold,
  Gen_Key2VolEnvDecay, Gen_Instrument, Gen_Reserved1, Gen_KeyRange,
  Gen_VelRange, Gen_StartLoopAddrCoarseOfs, Gen_Keynum, Gen_Velocity,
  Gen_Attenuation, Gen_Reserved2, Gen_EndLoopAddrCoarseOfs, Gen_CoarseTune,
  Gen_FineTune, Gen_SampleId, Gen_SampleModes, Gen_Reserved3,
  Gen_ScaleTune, Gen_ExclusiveClass, Gen_OverrideRootKey, Gen_Dummy
}
 
enum  Gen_Unit {
  None, Unit_Smpls, Unit_32kSmpls, Unit_Cent,
  Unit_HzCent, Unit_TCent, Unit_cB, Unit_Percent,
  Unit_Semitone, Unit_Range
}
 
enum  fluid_voice_status { FLUID_VOICE_OFF, FLUID_VOICE_ON, FLUID_VOICE_SUSTAINED }
 
enum  fluid_voice_envelope_index_t {
  FLUID_VOICE_ENVDELAY, FLUID_VOICE_ENVATTACK, FLUID_VOICE_ENVHOLD, FLUID_VOICE_ENVDECAY,
  FLUID_VOICE_ENVSUSTAIN, FLUID_VOICE_ENVRELEASE, FLUID_VOICE_ENVFINISHED, FLUID_VOICE_ENVLAST
}
 

Functions

void fluid_conversion_config ()
 
float fluid_cb2amp (float cb)
 
float fluid_atten2amp (float atten)
 
float fluid_tc2sec_delay (float tc)
 
float fluid_tc2sec_attack (float tc)
 
float fluid_tc2sec (float tc)
 
float fluid_tc2sec_release (float tc)
 
float fluid_act2hz (float c)
 
float fluid_pan (float c, int left)
 
float fluid_concave (float val)
 
float fluid_convex (float val)
 
int fluid_sample_set_sound_data (Sample *sample, short *data, unsigned int nbframes, short copy_data, int rootkey)
 
void fluid_gen_set_default_values (Generator *gen)
 Set an array of generators to their default values. More...
 
unsigned int fluid_check_fpe_i386 (char *explanation_in_case_of_fpe)
 
bool test_identity (const Mod *mod1, const Mod *mod2)
 
void fluid_dump_modulator (Mod *mod)
 
void fluid_gen_init (Generator *gen, Channel *channel)
 
float fluid_gen_scale (int gen, float value)
 
float fluid_gen_scale_nrpn (int gen, int data)
 
float triangle (int dur, int pos)
 
int samplesToNextTurningPoint (int dur, int pos)
 

Variables

GenInfo fluid_gen_info []
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FLUID_GROUP 

◆ anonymous enum

anonymous enum

Sample types.

Enumerator
FLUID_SAMPLETYPE_MONO 
FLUID_SAMPLETYPE_RIGHT 
FLUID_SAMPLETYPE_LEFT 
FLUID_SAMPLETYPE_LINKED 
FLUID_SAMPLETYPE_OGG_VORBIS 
FLUID_SAMPLETYPE_ROM 

◆ anonymous enum

anonymous enum
Enumerator
UNKN_ID 
RIFF_ID 
LIST_ID 
SFBK_ID 
INFO_ID 
SDTA_ID 
PDTA_ID 
IFIL_ID 
ISNG_ID 
INAM_ID 
IROM_ID 
IVER_ID 
ICRD_ID 
IENG_ID 
IPRD_ID 
ICOP_ID 
ICMT_ID 
ISFT_ID 
SNAM_ID 
SMPL_ID 
PHDR_ID 
PBAG_ID 
PMOD_ID 
PGEN_ID 
IHDR_ID 
IBAG_ID 
IMOD_ID 
IGEN_ID 
SHDR_ID 

◆ fluid_chorus_mod

Enumerator
FLUID_CHORUS_MOD_SINE 
FLUID_CHORUS_MOD_TRIANGLE 

◆ fluid_gen_flags

Enum value for 'flags' field of #_Generator (not really flags).

Enumerator
GEN_UNUSED 

Generator value is not set.

GEN_SET 

Generator value is set.

GEN_ABS_NRPN 

DOCME.

◆ fluid_gen_type

Generator (effect) numbers (SoundFont 2.01 specifications section 8.1.3)

Enumerator
GEN_STARTADDROFS 

Sample start address offset (0-32767)

GEN_ENDADDROFS 

Sample end address offset (-32767-0)

GEN_STARTLOOPADDROFS 

Sample loop start address offset (-32767-32767)

GEN_ENDLOOPADDROFS 

Sample loop end address offset (-32767-32767)

GEN_STARTADDRCOARSEOFS 

Sample start address coarse offset (X 32768)

GEN_MODLFOTOPITCH 

Modulation LFO to pitch.

GEN_VIBLFOTOPITCH 

Vibrato LFO to pitch.

GEN_MODENVTOPITCH 

Modulation envelope to pitch.

GEN_FILTERFC 

Filter cutoff.

GEN_FILTERQ 

Filter Q.

GEN_MODLFOTOFILTERFC 

Modulation LFO to filter cutoff.

GEN_MODENVTOFILTERFC 

Modulation envelope to filter cutoff.

GEN_ENDADDRCOARSEOFS 

Sample end address coarse offset (X 32768)

GEN_MODLFOTOVOL 

Modulation LFO to volume.

GEN_UNUSED1 

Unused.

GEN_CHORUSSEND 

Chorus send amount.

GEN_REVERBSEND 

Reverb send amount.

GEN_PAN 

Stereo panning.

GEN_UNUSED2 

Unused.

GEN_UNUSED3 

Unused.

GEN_UNUSED4 

Unused.

GEN_MODLFODELAY 

Modulation LFO delay.

GEN_MODLFOFREQ 

Modulation LFO frequency.

GEN_VIBLFODELAY 

Vibrato LFO delay.

GEN_VIBLFOFREQ 

Vibrato LFO frequency.

GEN_MODENVDELAY 

Modulation envelope delay.

GEN_MODENVATTACK 

Modulation envelope attack.

GEN_MODENVHOLD 

Modulation envelope hold.

GEN_MODENVDECAY 

Modulation envelope decay.

GEN_MODENVSUSTAIN 

Modulation envelope sustain.

GEN_MODENVRELEASE 

Modulation envelope release.

GEN_KEYTOMODENVHOLD 

Key to modulation envelope hold.

GEN_KEYTOMODENVDECAY 

Key to modulation envelope decay.

GEN_VOLENVDELAY 

Volume envelope delay.

GEN_VOLENVATTACK 

Volume envelope attack.

GEN_VOLENVHOLD 

Volume envelope hold.

GEN_VOLENVDECAY 

Volume envelope decay.

GEN_VOLENVSUSTAIN 

Volume envelope sustain.

GEN_VOLENVRELEASE 

Volume envelope release.

GEN_KEYTOVOLENVHOLD 

Key to volume envelope hold.

GEN_KEYTOVOLENVDECAY 

Key to volume envelope decay.

GEN_INSTRUMENT 

Instrument ID (shouldn't be set by user)

GEN_RESERVED1 

Reserved.

GEN_KEYRANGE 

MIDI note range.

GEN_VELRANGE 

MIDI velocity range.

GEN_STARTLOOPADDRCOARSEOFS 

Sample start loop address coarse offset (X 32768)

GEN_KEYNUM 

Fixed MIDI note number.

GEN_VELOCITY 

Fixed MIDI velocity value.

GEN_ATTENUATION 

Initial volume attenuation.

GEN_RESERVED2 

Reserved.

GEN_ENDLOOPADDRCOARSEOFS 

Sample end loop address coarse offset (X 32768)

GEN_COARSETUNE 

Coarse tuning.

GEN_FINETUNE 

Fine tuning.

GEN_SAMPLEID 

Sample ID (shouldn't be set by user)

GEN_SAMPLEMODE 

Sample mode flags.

GEN_RESERVED3 

Reserved.

GEN_SCALETUNE 

Scale tuning.

GEN_EXCLUSIVECLASS 

Exclusive class number.

GEN_OVERRIDEROOTKEY 

Sample root note override.

GEN_PITCH 

Pitch (NOTE: Not a real SoundFont generator)

GEN_LAST 

Value defines the count of generators (fluid_gen_type)

◆ fluid_interp

Enumerator
FLUID_INTERP_NONE 
FLUID_INTERP_LINEAR 
FLUID_INTERP_DEFAULT 
FLUID_INTERP_4THORDER 
FLUID_INTERP_7THORDER 
FLUID_INTERP_HIGHEST 

◆ fluid_loop

Enumerator
FLUID_UNLOOPED 
FLUID_LOOP_DURING_RELEASE 
FLUID_NOTUSED 
FLUID_LOOP_UNTIL_RELEASE 

◆ fluid_midi_control_change

Enumerator
BANK_SELECT_MSB 
MODULATION_MSB 
BREATH_MSB 
FOOT_MSB 
PORTAMENTO_TIME_MSB 
DATA_ENTRY_MSB 
VOLUME_MSB 
BALANCE_MSB 
PAN_MSB 
EXPRESSION_MSB 
EFFECTS1_MSB 
EFFECTS2_MSB 
GPC1_MSB 
GPC2_MSB 
GPC3_MSB 
GPC4_MSB 
BANK_SELECT_LSB 
MODULATION_WHEEL_LSB 
BREATH_LSB 
FOOT_LSB 
PORTAMENTO_TIME_LSB 
DATA_ENTRY_LSB 
VOLUME_LSB 
BALANCE_LSB 
PAN_LSB 
EXPRESSION_LSB 
EFFECTS1_LSB 
EFFECTS2_LSB 
GPC1_LSB 
GPC2_LSB 
GPC3_LSB 
GPC4_LSB 
SUSTAIN_SWITCH 
PORTAMENTO_SWITCH 
SOSTENUTO_SWITCH 
SOFT_PEDAL_SWITCH 
LEGATO_SWITCH 
HOLD2_SWITCH 
SOUND_CTRL1 
SOUND_CTRL2 
SOUND_CTRL3 
SOUND_CTRL4 
SOUND_CTRL5 
SOUND_CTRL6 
SOUND_CTRL7 
SOUND_CTRL8 
SOUND_CTRL9 
SOUND_CTRL10 
GPC5 
GPC6 
GPC7 
GPC8 
PORTAMENTO_CTRL 
EFFECTS_DEPTH1 
EFFECTS_DEPTH2 
EFFECTS_DEPTH3 
EFFECTS_DEPTH4 
EFFECTS_DEPTH5 
DATA_ENTRY_INCR 
DATA_ENTRY_DECR 
NRPN_LSB 
NRPN_MSB 
RPN_LSB 
RPN_MSB 
ALL_SOUND_OFF 
ALL_CTRL_OFF 
LOCAL_CONTROL 
ALL_NOTES_OFF 
OMNI_OFF 
OMNI_ON 
POLY_OFF 
POLY_ON 

◆ fluid_mod_flags

Enumerator
FLUID_MOD_POSITIVE 
FLUID_MOD_NEGATIVE 
FLUID_MOD_UNIPOLAR 
FLUID_MOD_BIPOLAR 
FLUID_MOD_LINEAR 
FLUID_MOD_CONCAVE 
FLUID_MOD_CONVEX 
FLUID_MOD_SWITCH 
FLUID_MOD_GC 
FLUID_MOD_CC 

◆ fluid_mod_src

Enumerator
FLUID_MOD_NONE 
FLUID_MOD_VELOCITY 
FLUID_MOD_KEY 
FLUID_MOD_KEYPRESSURE 
FLUID_MOD_CHANNELPRESSURE 
FLUID_MOD_PITCHWHEEL 
FLUID_MOD_PITCHWHEELSENS 

◆ fluid_synth_status

Enumerator
FLUID_SYNTH_CLEAN 
FLUID_SYNTH_PLAYING 
FLUID_SYNTH_QUIET 
FLUID_SYNTH_STOPPED 

◆ fluid_voice_add_mod

Enumerator
FLUID_VOICE_OVERWRITE 
FLUID_VOICE_ADD 
FLUID_VOICE_DEFAULT 

◆ fluid_voice_envelope_index_t

Enumerator
FLUID_VOICE_ENVDELAY 
FLUID_VOICE_ENVATTACK 
FLUID_VOICE_ENVHOLD 
FLUID_VOICE_ENVDECAY 
FLUID_VOICE_ENVSUSTAIN 
FLUID_VOICE_ENVRELEASE 
FLUID_VOICE_ENVFINISHED 
FLUID_VOICE_ENVLAST 

◆ fluid_voice_status

Enumerator
FLUID_VOICE_OFF 
FLUID_VOICE_ON 
FLUID_VOICE_SUSTAINED 

◆ Gen_Type

Enumerator
Gen_StartAddrOfs 
Gen_EndAddrOfs 
Gen_StartLoopAddrOfs 
Gen_EndLoopAddrOfs 
Gen_StartAddrCoarseOfs 
Gen_ModLFO2Pitch 
Gen_VibLFO2Pitch 
Gen_ModEnv2Pitch 
Gen_FilterFc 
Gen_FilterQ 
Gen_ModLFO2FilterFc 
Gen_ModEnv2FilterFc 
Gen_EndAddrCoarseOfs 
Gen_ModLFO2Vol 
Gen_Unused1 
Gen_ChorusSend 
Gen_ReverbSend 
Gen_Pan 
Gen_Unused2 
Gen_Unused3 
Gen_Unused4 
Gen_ModLFODelay 
Gen_ModLFOFreq 
Gen_VibLFODelay 
Gen_VibLFOFreq 
Gen_ModEnvDelay 
Gen_ModEnvAttack 
Gen_ModEnvHold 
Gen_ModEnvDecay 
Gen_ModEnvSustain 
Gen_ModEnvRelease 
Gen_Key2ModEnvHold 
Gen_Key2ModEnvDecay 
Gen_VolEnvDelay 
Gen_VolEnvAttack 
Gen_VolEnvHold 
Gen_VolEnvDecay 
Gen_VolEnvSustain 
Gen_VolEnvRelease 
Gen_Key2VolEnvHold 
Gen_Key2VolEnvDecay 
Gen_Instrument 
Gen_Reserved1 
Gen_KeyRange 
Gen_VelRange 
Gen_StartLoopAddrCoarseOfs 
Gen_Keynum 
Gen_Velocity 
Gen_Attenuation 
Gen_Reserved2 
Gen_EndLoopAddrCoarseOfs 
Gen_CoarseTune 
Gen_FineTune 
Gen_SampleId 
Gen_SampleModes 
Gen_Reserved3 
Gen_ScaleTune 
Gen_ExclusiveClass 
Gen_OverrideRootKey 
Gen_Dummy 

◆ Gen_Unit

Enumerator
None 
Unit_Smpls 
Unit_32kSmpls 
Unit_Cent 
Unit_HzCent 
Unit_TCent 
Unit_cB 
Unit_Percent 
Unit_Semitone 
Unit_Range 

Function Documentation

◆ fluid_act2hz()

float FluidS::fluid_act2hz ( float  c)

◆ fluid_atten2amp()

float FluidS::fluid_atten2amp ( float  atten)

◆ fluid_cb2amp()

float FluidS::fluid_cb2amp ( float  cb)

◆ fluid_check_fpe_i386()

unsigned int FluidS::fluid_check_fpe_i386 ( char *  explanation_in_case_of_fpe)

◆ fluid_concave()

float FluidS::fluid_concave ( float  val)

◆ fluid_conversion_config()

void FluidS::fluid_conversion_config ( )

◆ fluid_convex()

float FluidS::fluid_convex ( float  val)

◆ fluid_dump_modulator()

void FluidS::fluid_dump_modulator ( Mod mod)

◆ fluid_gen_init()

void FluidS::fluid_gen_init ( Generator gen,
Channel channel 
)

◆ fluid_gen_scale()

float FluidS::fluid_gen_scale ( int  gen,
float  value 
)

◆ fluid_gen_scale_nrpn()

float FluidS::fluid_gen_scale_nrpn ( int  gen,
int  data 
)

◆ fluid_gen_set_default_values()

void FluidS::fluid_gen_set_default_values ( Generator gen)

Set an array of generators to their default values.

Parameters
genArray of generators (should be GEN_LAST in size).
Returns
Always returns 0

◆ fluid_pan()

float FluidS::fluid_pan ( float  c,
int  left 
)

◆ fluid_sample_set_sound_data()

int FluidS::fluid_sample_set_sound_data ( Sample sample,
short *  data,
unsigned int  nbframes,
short  copy_data,
int  rootkey 
)

◆ fluid_tc2sec()

float FluidS::fluid_tc2sec ( float  tc)

◆ fluid_tc2sec_attack()

float FluidS::fluid_tc2sec_attack ( float  tc)

◆ fluid_tc2sec_delay()

float FluidS::fluid_tc2sec_delay ( float  tc)

◆ fluid_tc2sec_release()

float FluidS::fluid_tc2sec_release ( float  tc)

◆ samplesToNextTurningPoint()

int FluidS::samplesToNextTurningPoint ( int  dur,
int  pos 
)

◆ test_identity()

bool FluidS::test_identity ( const Mod mod1,
const Mod mod2 
)

◆ triangle()

float FluidS::triangle ( int  dur,
int  pos 
)

Variable Documentation

◆ fluid_gen_info

GenInfo FluidS::fluid_gen_info[]