Module: FiddleFluidSynth::Interface::SoundFont::Sample
- Defined in:
- lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb,
lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb
Constant Summary collapse
- FFS =
FiddleFluidSynth
Instance Method Summary collapse
- #set_loop(loop_start:, loop_end:, _self: self.itself) ⇒ Object
- #set_name(name, _self: self.itself) ⇒ Object
- #set_pitch(root_key:, fine_tune:, _self: self.itself) ⇒ Object
- #set_sound_data(data:, data24:, nbframes:, sample_rate:, copy_data:, _self: self.itself) ⇒ Object
- #sizeof(_self: self.itself) ⇒ Object
Instance Method Details
#set_loop(loop_start:, loop_end:, _self: self.itself) ⇒ Object
34 35 36 |
# File 'lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb', line 34 def set_loop( loop_start: , loop_end: , _self: self.itself ) FFS.sample_set_loop(_self, loop_start, loop_end) end |
#set_name(name, _self: self.itself) ⇒ Object
37 38 39 |
# File 'lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb', line 37 def set_name( name, _self: self.itself ) FFS.sample_set_name(_self, name: name) end |
#set_pitch(root_key:, fine_tune:, _self: self.itself) ⇒ Object
41 42 43 |
# File 'lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb', line 41 def set_pitch( root_key: , fine_tune: , _self: self.itself ) FFS.sample_set_pitch(_self, root_key: root_key, fine_tune: fine_tune) end |
#set_sound_data(data:, data24:, nbframes:, sample_rate:, copy_data:, _self: self.itself) ⇒ Object
45 46 47 48 49 50 51 |
# File 'lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb', line 45 def set_sound_data( data: , data24: , nbframes: , sample_rate: , copy_data: , _self: self.itself ) FFS.sample_set_sound_data( _self, data: data, data24: data24, nbframes: nbframes, sample_rate: sample_rate, copy_data: copy_data) end |
#sizeof(_self: self.itself) ⇒ Object
53 54 55 |
# File 'lib/fiddle_fluidsynth/util/interface/soundfont_sample.rb', line 53 def sizeof( _self: self.itself ) FFS.sample_sizeof() end |