Sha256: b1745377432df70fd05e1dad263efc65a05e43340b3f29b677898261dbdc75ee

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

require 'scissor/chunk'
require 'scissor/fragment'
require 'scissor/sound_file'
require 'scissor/sequence'

def Scissor(*args)
  Scissor::Chunk.new(*args)
end

module Scissor
  def self.silence(duration)
    Scissor(File.dirname(__FILE__) + '/../data/silence.mp3').
      slice(0, 1).
      fill(duration)
  end

  def self.sequence(*args)
    Scissor::Sequence.new(*args)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
youpy-scissor-0.0.15 lib/scissor.rb
youpy-scissor-0.0.16 lib/scissor.rb
youpy-scissor-0.0.17 lib/scissor.rb