Module: Hindbaer
- Extended by:
- Hindbaer
- Included in:
- Hindbaer
- Defined in:
- lib/hindbaer.rb,
lib/hindbaer/clip.rb,
lib/hindbaer/fade.rb,
lib/hindbaer/file.rb,
lib/hindbaer/info.rb,
lib/hindbaer/group.rb,
lib/hindbaer/track.rb,
lib/hindbaer/marker.rb,
lib/hindbaer/plugin.rb,
lib/hindbaer/region.rb,
lib/hindbaer/session.rb,
lib/hindbaer/version.rb,
lib/hindbaer/audio_pool.rb,
lib/hindbaer/plugin/base.rb,
lib/hindbaer/plugin/equalizer.rb,
lib/hindbaer/plugin/compressor.rb,
lib/hindbaer/plugin/voice_profiler.rb
Defined Under Namespace
Modules: Plugin Classes: AudioPool, Clip, Fade, File, Group, Info, Marker, Region, Session, Track
Constant Summary collapse
- VERSION =
"0.0.6"
Instance Method Summary collapse
Instance Method Details
#tc_to_secs(timecode) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/hindbaer.rb', line 21 def tc_to_secs(timecode) seconds, minutes, hours = timecode.split(':').reverse total = seconds.to_f if seconds total += minutes.to_f * 60 if minutes total += hours.to_f * 60 * 60 if hours total end |