Skip to content

hm5-types (source format) / MediaCrop

Interface: MediaCrop ​

what part of a raw sound / video a cropped one plays (AssetMeta.crop)

Properties ​

PropertyTypeDescription
endnumberseconds into the raw where it ends (> start)
ofstringthe raw asset (never itself cropped)
speed?numberplay speed (1 = as recorded); its length is (end - start) / speed. Audio plays faster AND higher, like a tape. Absent = 1.
startnumberseconds into the raw where it starts

HereSplash — 2D animation for the web