fv audio setting

You can include sound by specifying a media id to sound_ids part. When media specified by sound_ids does not have audio data, fv generation will be failed.

The length of the audio is up to the length specified in fv time duration. If the audio time duration that you specified by sound_ids is longer than the fv time duration, the excess will be deleted.

There are two audio repetition behaviors. First one is the case where the specified sound_ids is not included in media ids which constitute the fv. Second one is the case of vice versa.

1. The case where the specified sound_ids is not included in media ids which constitute the fv.

In this case, if the fv time duration is larger than audio time duration, audio will not be repeated. If audio time duration is larger than fv time duration, the excess will be deleted.

Case: Creating 2×2 fv and audio data is shorter than the fv

../_images/api_fv_sound01.png

Case: 2×2 fv and audio data is longer than the fv

../_images/api_fv_sound02.png

2. The case where the specified sound_ids is not selected in media ids which constitute the fv.

In this case, audio repetition behavior conforms a start_time and media_duration of media, which equals to sound_ids.

the case of 2x2 fv composed of level 1’s tiles.

If media ids which constitute fv are 1, 2, 4, and 5, and sound_ids is specified by 5, audio repetition behavior is as following figure.

../_images/example1-map.png
../_images/example1-data-en.png

The case of 2x2 fv composed of level 1’s tiles with same media id.

When media ids that constitute fv are 5, 2, 4, and 5, and sound ids is 5, audio repetition behavior conforms a start_time and media_duration of top-left media as following figure.

../_images/example2-map.png
../_images/example2-data-en.png

The case of 3x3 fv contains level 2’s tiles as following figure.

When fv contains level 2’s tiles and sound_ids is specified by 5, sound repetition behavior same as level 2’s top-left tile. You require attention to generate fv when you want to specify the different repetition behavior [Appendix] between same levels by using map as following figure. The below figure represent the case at where four-times repetition for top-left in level 2’s tiles and tow-times repetition for bottom-right in level 2’s tiles are set. In this case, sound repetition behavior conforms top-left in level 2’s tiles.

../_images/example3-map.png
../_images/example3-data-en.png