[Sugar-devel] Community Bonding Period: Scale Degree Design Proposal

2020-05-31 Thread Aviral Gangwar
Hello all

This is a good time for an update since the Community Bonding Period is at
an end.

During community bonding, I had regular meetings with my mentor Devin,
Walter, and the rest of the MB team. We made some significant process,
found some new issues, and subsequently worked on a fix.
We fixed octave calculation, sharp and flat preferences for Lilypond
Output, and finally the initial work of my proposal; renaming the old scale
degree block to nth modal pitch and following changes to its functionality.
[zero based indexing]
This work can be audited in PRs: #2275
, #2284
, and #2286
 respectively.

- Besides this, I've had a few intensive design discussions with Devin
regarding issue #1957 
which has appeared as a bottleneck at times.

- I've also started work on the crux of my proposal: the addition of a new
scale degree block and implemented some basic functionality.

In the upcoming week, I've planned on devising a basic solution for #1957
 which would solve
much of the problem and proceed with work on scale degree block. [For
technicalities of that, one can visit #2058
]


Thanks
*Aviral*
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Adding SVG for a new block in Music Blocks

2020-05-25 Thread Aviral Gangwar
Hello

I have been trying to add help for the nth modal pitch block and since
there was a help string and SVG unavailable, I've been trying to add one.

What is the procedure for generating the SVG for a macro?

I have added SVG's for blocks in the past but I usually had a workaround
using the code for a similar block. I tried using the blockArt but it is
only helpful for individual blocks.

I've attached the macro that needs to be generated.

Thanks
Aviral
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Weekly Progress: Scale Degree vs n^th Modal Pitch

2020-05-17 Thread Aviral Gangwar
Hello all,

This is a weekly report of my work for the time frame 9/05/20 - 15/05/20.

I had group meetings with Walter, Vaibhav, Sumit, Jaskirat and other Music
Blocks participants, everyday except weekends. This week we finished first
aspect of our ES6 porting. [var-->let conversion]. Moving to arrow
functions still remains.

Meetings mostly included general discussion related to non-trivial issues
and clarification of certain doubts of student developers.

Each group meeting was followed by a meeting with my mentor [ Devin
Ulibarri ], except for Tuesday.
We made significant process on octave calculation issue, entirely revamping
the whole process and are close to resolving it. This should be done by
this the end of this week.

Apart from that, Devin discussed with me several movable and non-movable
systems and a workflow for the summer.

Lastly, I started work, locally, on the implementation of the new scale
degree block, mostly creating the basic pie menus as discussed during our
meetings.

Objective for the upcoming week:

1. Finish with the octave calculation issue.
2. More design thinking on the new scale degree block.
3. Resolve flat/sharp preference issue for some scales.

Thank You

*Aviral Gangwar*
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Weekly Summary - Scale Degree vs nth Modal Pitch

2020-05-08 Thread Aviral Gangwar
Hello all,

This is a weekly report of my work for the time frame 5/05/20 - 8/05/20. I
plan to make such reports every Friday evening or Saturday morning.

*5/05/21:* Walter has decided a meeting time for the entire group
(consisting of mentors and students of Musicblocks project) at 1700 IST on
Jitsi. I joined a little late on the first day and couldn't participate
much in the conversation. It was mostly introduction and a broader picture
of Music Blocks.

*6/05/21:* Daily meeting ended at 1730 IST and Walter told us to focus on
pending pull requests and issues so as to have a common and clean starting
point.
After that, I had my first mentor meeting with Devin (mentor for my
project) and Sumit (backup mentor for my project). The discussion was
focussed on basic music theory and the importance of the project goal.
Working on this we discovered a new issue/regression regarding hard-coded
octave (#2238 <https://github.com/sugarlabs/musicblocks/issues/2238>).

*7/05/21:* I had a discussion with Walter regarding the importance and
scope of musicutils.js file and the redundancy present in it. Later I had
my second mentor meeting with Devin. Sumit also joined us later. Devin
built upon the concepts of the previous day to provide me a better idea of
Scale Degree and it's realization and all the other issues that fall under
its umbrella.
After the meeting, I went through some functions of the musicutils.js file
and we made some progress on issue #2238 on Github.

*8/05/21:* Before the meeting, I figured out the cause of the issue and had
a discussion with Walter regarding the very same. We are yet to find a fix
without breaking any functionality. Walter asked us to proceed forward with
the ES6 port of Music Blocks in a way that is manageable.
Later I had a small meeting with Devin, Vaibhav, and Sumit. We sketched a
rough design for Scale Degree block and developed on #2238's corner cases.
Later Vaibhav and Devin had a discussion about missing functionality in
Planet.

The next meeting is planned for Monday. Meanwhile, I plan to:

   - Collaborate with my teammates and work on ES6 conversion and wrap it
   ASAP without any errors creeping in.
   - Spend more time analyzing musicutils.js, since it's a very pivotal
   point of my project.
   - Work on issues #2238 and #2239.

Thank You.


*Aviral Gangwar*
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Weekly Progress Blogs of GSoC

2020-05-08 Thread Aviral Gangwar
Hello James,

Could you please help me out with this.

Which service do you recommend for writing the blogs that also complies
with the community standards? I wanted to run through you if it was
feasible to use a separate service such as Medium  or
use a wiki page instead. ( Or any other service you could suggest )

Thank You
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


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

2020-05-07 Thread Aviral Gangwar
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@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Proposal Review Request

2020-03-29 Thread Aviral Gangwar
Thanks for the acknowledgment.

Sorry about the Google docs link. Was unaware of that fact. I'll keep it
in mind in the future.


On Mon, Mar 30, 2020 at 2:15 AM James Cameron  wrote:

> Thanks Aviral,
>
> We have a draft shared on our dashboard with your name.
>
> Application Review begins in a couple of days.  For exact time in your
> timezone, see
> https://summerofcode.withgoogle.com/how-it-works/#timeline
>
> You are welcome to work further on the proposal, or on right fit.
> https://github.com/sugarlabs/GSoC#right-fit
>
> Next time, please post to the mailing list a PDF.
>
> Google Docs should not be posted because a document can change after
> you send the link, a document can disappear, the export feature may be
> turned off, and we don't want to require our members to use Google
> Docs.
> https://github.com/sugarlabs/GSoC#want-to-work-with-us-
>
> On Sun, Mar 29, 2020 at 05:54:01PM +0530, Aviral Gangwar wrote:
> > Hello Everyone,
> >
> > I am posting my proposal for the project: "Resolve 100 issues in Music
> Blocks".
> > Please do provide your valuable feedback.
> > Looking forward to hearing from you.
> >
> > Thank you
> >
> > [1]Click here for Proposal
> >
> > References:
> >
> > [1]
> https://docs.google.com/document/d/1JwOPiG16yLxJLdhQSCp-AMnAz7m5Z35nHmEJaBURSgI/edit?usp=sharing
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel