[Sugar-devel] Relevant code related to key change in Music Blocks

Anindya Kundu anindyaak007 at gmail.com
Thu May 7 05:14:48 EDT 2020


One correction: it is defined as movable and not moveable, in the
getNote(...) function definition.


*Anindya Kundu*



On Thu, 7 May 2020 at 13:23, Aviral Gangwar <aviralgangwar24 at gmail.com>
wrote:

> Hello
> Could you please guide me to the relevant files which handle a key change?
> E.g From C Major to G Major. Where do we do the calculations regarding
> this shift?
>
> I guess one place to look would be _playPitch() inside PitchBlock.js.
>
> Thank You
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200507/437d3ac2/attachment.htm>


More information about the Sugar-devel mailing list