Working with Multimedia Files
The From Multimedia File block inherits its sample time from vipmen.avi.
Forvideosignals,thesampletimeisequivalenttotheframeperiod.
Because this file’s frame rate is 30 frames per second (fps) and the frame
period is defined as 1/frame rate, the frame period of this block is 0.0333
seconds per frame.
4 Use the From Wave File block to import an audio file into the model. To
calculatetheoutputframesize,dividethefrequencyoftheaudiosignal
(22050 samples per second) by the frame rate (30 frames per second) to get
735 samples per frame. Set the Samples per output fram e parameter to
735.
2-33
Comments to this Manuals