如何使用jsmad?

发布于 2024-12-11 18:25:21 字数 350 浏览 0 评论 0原文

jsmad 是一个新的基于 JavaScript 的 MP3 解码器(GitHubdemo),但似乎根本缺少任何文档。我也无法真正弄清楚很多演示在做什么,而且实际的 JavaScript 似乎被缩小了。

有人可以在这里为只想播放 MP3 音频的人写一些文档吗?看起来一些人因为缺乏文档而放弃了

jsmad is a new JavaScript based MP3 decoder (GitHub, demo), but it seems to be lacking any documentation at all. I can't really work out what a lot of the demo is doing either, and the actual JavaScript seems minified.

Is anyone able to write up some documentation here for someone that just wants to play MP3 audio, please? It looks like a few people are giving up because of the lack of documentation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寂寞陪衬 2024-12-18 18:25:21

我给 jsmad 的开发者之一 Amos Wenger 发了一封电子邮件,他是这样说的:

你好!

是的,我们非常清楚缺乏文档。有
有两个原因:

首先,坏消息:jsmad 只支持 MP3 ->原始音频,而人们
期待一个更完整的软件(类似于 HTML5 音频,
它负责 HTTP 流、缓冲、解码、音频接收器、UI
控件、事件等)正如我在 jsconf.eu 的 jsmad 幻灯片中提到的,
在我们拥有真正的产品之前,我们需要充实其他几个组件
您网站上基于 Flash 的音频播放的竞争对手。所以在一个
方式,缺乏文档是因为我们不希望最终用户开始
正在将其部署到他们的网站上!黄金时段还没有准备好。

在 ofmlabs(Ofmlabs(Official.fm 的研发部门等),我们有一个
许多内部项目正在进行中,并且直到最近才能够
重新关注开源。这就是好消息:我们将有更多时间
花在像 jsmad 这样的东西上,并且可能会解决失踪的问题
部分(缓冲、适当的解复用 - 可能通过 aurora.js 等)

至于“文档”,我的幻灯片中有一些(如上所述),并且
嗯,mhd.js 没有缩小,所以你可以随时查看
http://jsmad.org/mhd.js ;)

干杯,阿莫斯

所以看起来 jsmad 不是'目前尚未开放给公众使用,但我们可以期待将来得到进一步的支持。 :)

I sent an email over to Amos Wenger, one of the developers for jsmad, who had this to say:

Hi there!

Yes, we are very much aware of the lack of documentation. There are
two reasons for that:

First, the bad news: jsmad only does MP3 -> raw audio, whereas people
expect a much more complete piece of software (similar to HTML5 audio,
which does HTTP streaming, buffering, decoding, audio sink, UI
controls, events etc.) As I mentioned in my jsmad slides at jsconf.eu,
we need to flesh out several other components before we have a real
competitor for Flash-based audio playback on your website. So in a
way, the lack of docs is because we don't want end-users to start
deploying it on their website just yet! It's not ready for prime time.

At ofmlabs (Official.fm's R&D division, among other stuff) we had a
lot of internal projects going on, and have only recently been able to
re-focus on open source. So that's the good news: we'll have more time
to spend on stuff like jsmad, and will probably work on the missing
parts (buffering, proper demuxing - probably via aurora.js, etc.)

As for 'docs', there are a little in my slides (mentioned above), and
well mhd.js is not minified so you can always take a look at
http://jsmad.org/mhd.js ;)

Cheers, Amos

So it looks like jsmad isn't up for public use just yet, but we can look forward to further support in the future. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文