Jump to content

GSoC/2018/StatusReports/AmanKumarGupta: Difference between revisions

From KDE Community Wiki
No edit summary
No edit summary
Line 111: Line 111:
[[File:Mode.png]]
[[File:Mode.png]]
''Configuration window for the two modes''
''Configuration window for the two modes''
---
===Note Names===
===='''Introduction:'''====
This activity aims to teach the user about the notes in music and their position on the staff by presenting several notes one-by-one with animation from the right of the staff sliding to the left of the staff. The user will get the combination of all the notes he has learned previously and the current targetted notes from the dataset. Only the reference notes are colored as red and the user is made to learn the notes around it. One has to correct enough notes to get a 100% and advance to next stage.
===='''Implementation:'''====
1. Laid down UI of the activity.
2. Added levels dataset.
3. Added animation for the notes.
4. Added tutorial mode for the activity.
5. Implemented working logic of the activity.
6. Added feature that only certain notes and keys can be colored.
7. Implemented dual octave keyboard.
7. Code refactorization.
===='''Status:'''====
The activity is complete and is currently under review.
===='''Screenshots:'''====
[[File:NoteNamesTutorial.png]]
''Tutorial mode''
[[File:Game.png]]
''Learning mode''


==Branch where I'm working==
==Branch where I'm working==

Revision as of 14:43, 8 August 2018

GCompris: Port all GTK+ piano activities to Qt and get one step closer to version 1.0

GCompris is an educational software suite comprising of numerous activities for children aged 2 to 10. Originally written in Gtk+ its development team started to rewrite it from scratch in Qt Quick. My aim is to port all the piano-based musical activities which are one of the most important activities that we are missing to have a complete 1.0.

Mentors: Divyam Madaan and Emmanuel Charruau

Project Goals

  • Finish the port of Piano composition activity and add more features.
  • Porting of GTK+ Play piano activity from scratch to QtQuick.
  • Re-design and implement Note names activity.
  • Porting of GTK+ Play rhythm activity from scratch to Qt.

Project Status

The project is complete and is under testing phase.

Work Report

Piano Composition

Introduction:

This activity teaches the users how to compose melodies with piano by offering them certain components like notes, rests and many features like erase, replace, undo etc.

Implementation:

1. Improved melody loader window UI.

2. Made multiple staff view flickable and add more staffs when needed.

3. Reworked the code base according to IPN Notation.

4. Added contexts for translators.

5. Added rests.

6. Added replace and erase features.

7. Added undo feature.

8. Separated Note data from the Staff view.

9. Added feature to display lyrics and other details of the music loaded.

10. Made note-type options toggable.

11. Added more octaves for treble (E3 to F6) and bass clefs (C3 to F4).

12. Created new SVG images with ledger lines.

13. Made a common API for all the types of elements on the staff.

14. Added feature to add multiple clefs on the same staff.

15. Implemented BPM meter which would default to 60 BPM and the user can increase/decrease the rhythm of the song.

16. Did code cleanup and refactorizations.

Status:

The activity is complete and is currently under testing and review.

Screenshots:

Music Loader window

Melody composed with piano


Play piano

Introduction:

This activity aims to let the user understand how the piano keyboard can play rhythm as written on the musical staff by replicating the ones that are presented.

Implementation:

1. Added resources from the Gtk+ version.

2. Laid down UI of the activity.

3. Added levels dataset.

4. Implemented working logic of the activity.

5. Added configuration for two modes: colored notes and colorless notes.

6. Added undo feature to revert the attempt.

7. Code refactorization.

Status:

The activity is complete and is currently under review.

Screenshots:

Screen for the user to begin practice

Levels with colored notes

Levels with colorless notes

Configuration window for the two modes

---

Note Names

Introduction:

This activity aims to teach the user about the notes in music and their position on the staff by presenting several notes one-by-one with animation from the right of the staff sliding to the left of the staff. The user will get the combination of all the notes he has learned previously and the current targetted notes from the dataset. Only the reference notes are colored as red and the user is made to learn the notes around it. One has to correct enough notes to get a 100% and advance to next stage.

Implementation:

1. Laid down UI of the activity.

2. Added levels dataset.

3. Added animation for the notes.

4. Added tutorial mode for the activity.

5. Implemented working logic of the activity.

6. Added feature that only certain notes and keys can be colored.

7. Implemented dual octave keyboard.

7. Code refactorization.

Status:

The activity is complete and is currently under review.

Screenshots:

Tutorial mode

Learning mode

Branch where I'm working

The following is the link to all my work and commits:

Blog post links

Contact

Email: [email protected]

IRC: gupta2140[m] on Freenode

Channels: #gsoc, #kde-soc, #kde-in, #gcompris

Github: gupta2140