本文介绍了故事板时间线上的音频播放(Silverlight)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简单的方法可以在Blend的故事板时间轴上指定音频状态点? 3或4?

Is there an easy way to specify audio state points on the storyboard timeline in Blend? 3 or 4?

我最近在如何通过混合时间线控制音频时遇到了几个问题。我通过行为或后面的代码完成大部分音频播放,因此我探索了选项。我似乎找不到任何关于通过
时间线播放音频的文档。你会认为它应该是一个简单的功能,将音频拖到时间轴,或在时间线上指定音频状态,但我没有看到这个功能。

I have been getting several questions lately on how to control audio through the timeline in blend. I do most of my audio playback through behaviors or in code behind so i explored the options. I can't seem to find any documentation on playing audio through the timeline. You would think it should be a simple feature to have, drag audio to timeline, or specify audio states on the time line, but I dont see this feature available.

一个简单的场景是球动画,每当球击到底部(低点)时球声都会播放。如何在混合设计师中实现这一目标?这可以在时间轴中完成吗?

A simple scenario is a ball animation where the ball sound plays everytime it hits the bottom (low point). How is this supposed to be achieved in the designer in blend? Can this be done in the timeline?

我还注意到了blend 4帮助指南中的一些文档,但我没有看到这实际上是在silverlight的实现中实现的,只有wpf。为什么silverlight中缺少此功能?
b
$
是否有计划将WPF中的媒体时间线概念纳入Silverlight?

I also noticed some documentation from blend 4 help guide but I do not see this actually implemented in blend for silverlight, only wpf. Why is this feature missing from silverlight?

Is there any plan to incorporate mediatimeline concept from WPF into Silverlight?

谢谢你的帮助!

 

 

_____________________________________________________________

_____________________________________________________________

将音频或视频文件插入活动文档

Insert an audio or video file into the active document











插入音频或视频文件进入活动文件
 







 
Insert an audio or video file into the active document
 
 

推荐答案

 

如果时间表是在插入之前选择,媒体文件将插入该时间线,并且媒体文件将被安排在当前播放头位置开始。例如,如果播放头位于  time = 5.0s   on
  OnLoaded  选项卡插入媒体文件时,媒体文件将为
在运行时加载文档后5秒钟才开始播放。

If a timeline is selected before insertion, the media file will be inserted into that timeline, and the media file will be scheduled to start at the current playhead location. For example, if the playhead is at time=5.0s on the OnLoaded tab when the media file is inserted, the media file will not start to play until 5 seconds after the document has been loaded at run time.

如果未选择时间轴,则新媒体时间轴为已创建,媒体文件将添加到新时间轴中时间= 0s

 

听起来像音频
should
作为关键帧插入第二个5(其中一个有播放头),然后插入的音频将在第二个5开始播放。我发现无论播放头在哪里都是,当我构建项目时,音频总是在时间线上的第二个0播放。
  

更多混淆/问题:

当在故事板中选择音频文件时,
属性面板有一个"媒体"部分。似乎"自动播放"只会在第二个0播放音频。  ;我尝试将"位置"调整为5秒,但似乎不会影响音频。 这些是否相关? 


指令中引用的"OnLoaded选项卡"是什么?! 我在界面中看不到OnLoaded选项卡!

真正的问题是:
有没有办法让媒体文件(在这种情况下为音频)在故事板时间线中的定义时间开始播放
 这个
在Flash中不是一件容易的事情,我开始认为在Blend中没有真正的方法可以做到这一点。

 

我不能成为唯一一个遇到此问题的人。 请
help! 谢谢!


这篇关于故事板时间线上的音频播放(Silverlight)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-15 14:12