<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 10:12 AM Anindya Kundu <<a href="mailto:anindyaak007@gmail.com">anindyaak007@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I've been recently reading up the javascript files inside the <font face="monospace">blocks</font> directory, trying to understand how different block objects are implemented. I found that they essentially work on different variables, mostly in <font face="monospace">logo.js</font>.<br><br>In <font face="monospace">logo.js</font>, I specifically found calls to <font face="monospace">trigger(...)</font> method defined <font face="arial, sans-serif">in </font><font face="monospace">utils/synthutils.js</font><font face="arial, sans-serif">, to play a note. Is it the only gateway to playing audio?</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Also, is all audio producing code present in </font><font face="monospace">synthutils.js</font><font face="arial, sans-serif">?</font></div></div></blockquote><div><br></div><div>Yes. synthutils acts as a wrapper for tone.js. There should not be any audio calls outside of that code. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2" color="#666666"><i><span style="font-family:"arial narrow",sans-serif">Anindya Kundu</span></i></font><div><font size="2" color="#666666"><i><span style="font-family:"arial narrow",sans-serif">BTech, 6th Semester<br></span></i></font></div><font size="2" color="#666666"><i><span style="font-family:"arial narrow",sans-serif">Dept. of Information Technology</span></i></font></blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2"><i><span style="font-family:"arial narrow",sans-serif"><font color="#666666">Indian Institute of Engineering Science and Technology, Shibpur</font></span></i><br><span style="font-family:"arial narrow",sans-serif"></span></font></blockquote></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div></div>