Safe Haskell | None |
---|---|
Language | Haskell2010 |
Extract sounded parts, and combine again
Documentation
I think we can only detect silence with ffmpeg, so we flip the silent to sounded intervals, and : if x indicates silence: silence: xxx_xxxxxxx__xxxxxxx sounded: _xxx_xx__xxxx_xx
Instances
Show (Interval e) Source # | |
Generic (Interval e) Source # | |
type Rep (Interval e) Source # | |
Defined in Cut.Analyze type Rep (Interval e) = D1 ('MetaData "Interval" "Cut.Analyze" "cut-the-crap-2.3.1-inplace" 'False) (C1 ('MetaCons "Interval" 'PrefixI 'True) ((S1 ('MetaSel ('Just "interval_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "interval_end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "interval_duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "interval_input_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "interval_input_end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) |
combineDir :: ListenCutOptions -> FilePath -> [Interval Sound] -> Sh () Source #