我想开始并停止声音.这很有效.但是我无法重新开始播放声音.
我真的要再制作一个振荡器吗?这看起来非常不直观.肯定有更好的办法.
这就是我所有的工作:
oscillator1.noteOn(0);
oscillator1.noteOff(0);
Run Code Online (Sandbox Code Playgroud)
再次致电noteOn并没有做任何事情.为什么?超越我.
我也尝试设置音量,或者在Web Audio人的上下文中,"增益"等于零.但由于某种原因,增益为零会产生声音.什么样的增益值都不会发出任何声音?
男人,我简直不敢相信这是多么困难:/
这是我的代码:
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr align="center">
<td align="left" width="180">
<a href="http://www.blabllablbalbla.com/"> <img border="0" alt="bablablabla"
height="" src="/include/img/logo-beta.png"></img> </a>
</td>
<td align="right"><a href="http://support.blablalblbalabl.com">Help Center</a> | <a
href="/auth/login">Sign In</a>
</td>
</tr>
<tr>
whyyyyyyyy does this appear on top???!
</tr>
</table>
Run Code Online (Sandbox Code Playgroud)
这是我的js小提琴http://jsfiddle.net/PQZTL/1/
我希望文本在破碎的图像下面.
有人可以向我解释一下吗?
我想做的事情如下:
error_log('this is information about the variable: '.print_r($variable));
Run Code Online (Sandbox Code Playgroud)
要么
error_log('this is information about the variable: '.var_dump($variable));
Run Code Online (Sandbox Code Playgroud)
仅供参考,我正在尝试打印的变量是一个数组.