Module: FiddleFluidSynth::SequencerIF::InstanceOnlyIF
- Defined in:
- lib/fiddle_fluidsynth/sequencer/sequencer.rb,
lib/fiddle_fluidsynth/sequencer/sequencer.rb
Instance Method Summary collapse
- #client_id ⇒ Object
- #client_name ⇒ Object
- #each_client_id(&blk) ⇒ Object
-
#is_dest? ⇒ Boolean
{ :is_dest? => :client_is_dest, }.each do |k, v| end.
- #time_scale=(v) ⇒ Object
- #use_system_timer? ⇒ Boolean
Instance Method Details
#client_id ⇒ Object
344 345 346 347 348 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 344 def client_id( ... ) tmp = self.get_client_id(...) ret = tmp ret end |
#client_name ⇒ Object
349 350 351 352 353 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 349 def client_name( ... ) tmp = self.get_client_name(...) ret = tmp ret end |
#each_client_id(&blk) ⇒ Object
372 373 374 375 376 377 378 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 372 def each_client_id( &blk ) cnt = self.count_clients (0...cnt).each do |_i| cid = self.get_client_id(index: _i) blk.(cid) end end |
#is_dest? ⇒ Boolean
:is_dest? => :client_is_dest,
.each do |k, v| end
339 340 341 342 343 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 339 def is_dest?( ... ) tmp = self.client_is_dest(...) ret = (tmp != 0) ret end |
#time_scale=(v) ⇒ Object
356 357 358 359 360 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 356 def time_scale=( v ) tmp = self.set_time_scale(scale: v) ret = tmp ret end |
#use_system_timer? ⇒ Boolean
367 368 369 370 |
# File 'lib/fiddle_fluidsynth/sequencer/sequencer.rb', line 367 def use_system_timer? ret = (self.get_use_system_timer != 0) ret end |