[Sugar-devel] [Music Blocks] How is audio played

Anindya Kundu anindyaak007 at gmail.com
Mon Apr 20 10:12:21 EDT 2020


I've been recently reading up the javascript files inside the blocks
directory, trying to understand how different block objects are
implemented. I found that they essentially work on different variables,
mostly in logo.js.

In logo.js, I specifically found calls to trigger(...) method defined in
utils/synthutils.js, to play a note. Is it the only gateway to playing
audio?

Also, is all audio producing code present in synthutils.js?



*Anindya Kundu*

*BTech, 6th Semester*
*Dept. of Information Technology*

*Indian Institute of Engineering Science and Technology, Shibpur*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200420/8ed8daec/attachment.htm>


More information about the Sugar-devel mailing list