audiojs/audio

Audio.trim - API Priority

phil-andrews opened this issue · 3 comments

Great library!

Not sure if this is the right place for this but Audio.splice function would be fantastic to have access to. There is no other library for Node that has a splice functions. This whole library is novel against anything else available. Splicing would be big.

Is there a possible way to hack this using .trim method?

dy commented

I think audio.remove(fromTime, duration).insert(fragment, time) would do the same as splice in a bit more graceful manner. Btw that is workable now :)

Ah, ok. Hadn't thought of that. Thanks for the help.

dy commented

Closing, since trim method is supported.