Class: Musicality::Tasks::FileRaker::SuperCollider
- Inherits:
-
Musicality::Tasks::FileRaker
- Object
- Rake::TaskLib
- Musicality::Tasks::FileRaker
- Musicality::Tasks::FileRaker::SuperCollider
- Defined in:
- lib/musicality/project/file_raker.rb
Instance Attribute Summary
Attributes inherited from Musicality::Tasks::FileRaker
#file_ext, #files, #subdirs, #task_name
Instance Method Summary collapse
-
#initialize(yaml_files, tempo_sample_rate) ⇒ SuperCollider
constructor
A new instance of SuperCollider.
Constructor Details
#initialize(yaml_files, tempo_sample_rate) ⇒ SuperCollider
Returns a new instance of SuperCollider.
60 61 62 63 64 |
# File 'lib/musicality/project/file_raker.rb', line 60 def initialize yaml_files, tempo_sample_rate super(yaml_files, :supercollider, ".osc") do |t| sh "collidify \"#{t.sources[0]}\" --srate=#{tempo_sample_rate}" end end |