基于 Flash 的音频分配器控制
有谁知道现有的基于 Flash (swf) 的音频控件(免费或商业)可提供时间线波形可视化,并且能够选择和播放时间线的一部分?
比如这个网站使用的flash控件... http://www.makeownringtone.com/
它正是我想做的事。我需要此功能来允许用户标记音频文件的一部分,然后可以使用 JavaScript 与网页上的其他视觉元素同步。
用户能够看到音频的波形非常重要,因为他们可以通过直观地猜测某些声音在文件中的开始和结束位置来节省时间。然后,用户可以选择该音频块并预览声音并根据需要调整选择。
谢谢!
Does anyone know of an existing flash (swf) based audio control that is available (free or commercial) that provides a timeline waveform visualization with the ability to select and play a portion of the timeline?
For example, the flash control used by this website... http://www.makeownringtone.com/
It does exactly what I'm wanting to do. I need this capability to allow a user to mark a section of an audio file which can then be synchronized with other visual elements on a web page using javascript.
It is important that the user be able to see the wave form of the audio because they can save time by visually guessing where certain sounds start and end in a file. The user can then select this block of the audio and preview the sound and tweak the selection if need be.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更新
刚刚上传了我尝试构建在线混音器时的旧源代码。可以在此处下载:
http://code.google.com/p/ascensionsystems/downloads/ list
我的 Google 代码页中的所有源代码都是 MPL,因此请随意以任何方式使用它。也许它会节省你一些时间来砍掉一些碎片并使用它。 :)
原始答案
这是波形+滤波器的演示+源代码。在声音上为某个位置添加“书签”只需保存 SoundChannel.position 属性。
//渲染整个声音的波形
http://www.bytearray.org/?p=329
//动态渲染+滤镜
http://www. anttikupila.com/flash/soundfx-out-of-the-box-audio-filters-with-actionscript-3/
Update
Just uploaded an old bit of source code for when I made an attempt at building an online sound mixer. Can download it here:
http://code.google.com/p/ascensionsystems/downloads/list
All source in my google code page is MPL so feel free to use it in whatever way. Maybe it'll save you some time to chop some bits out of there and use it. :)
Original Answer
Here is a demo + source code of wave form + filters. "Bookmarking" a position on the sound just requires saving the SoundChannel.position property.
//Render waveform for entire sound
http://www.bytearray.org/?p=329
//Rendering dynamically + filters
http://www.anttikupila.com/flash/soundfx-out-of-the-box-audio-filters-with-actionscript-3/