[gcompris-devel] Applying as a student for GSoC

Karthik S itskarthik.s at gmail.com
Wed Apr 6 06:54:13 UTC 2011


Hey,

This is the source code of my project I did using Turbo C and C++ graphics.
I was not that much aware of Open source softwares and they way they are
built as I am now! So I've coded all of them in Turbo C. But now am trying
to port them to SDL.

https://github.com/yeskarthik/Project-Shark

<https://github.com/yeskarthik/Project-Shark>Project Shark Consists of
various Games  and Mathematical Realisation activities.

Maths

   - 3D graphing using Sin, Cos, Tan, Log
   - 3D model of the universe with Animation
   - Roots : To find a roots of a very large N degree equation
   - SinCos : To Draw Sin, Cos, Tan graphs in 2D according to given
   frequency and Amplitude
   - PieBar : To Draw Pie Chart and Bar Graph using the given values
   - Primes : To find the prime factors of a given number.


Games

   - Bally : A Game using the angles and reflection as the concept where
   similar colour balls if collected vanish and the game is over if all the
   balls are done.
   - FlyBall : A game in which a ball keeps falling down and there will be
   Horizontal rectangles which keep coming up with limited width with various
   speeds according to the level. The ball is controlled with the arrow keys.
   And the goal is to escape the rectangular balls and reach the end of the
   screen.
   - Puzzle : Is similar to the game existing in Gcompris, where numbers are
   arranged in a random order with one hole in a square and the goal is to
   arrange them in Order using the empty space . (The Fifteen Game).

Activities

   - Piano : A 3 octet keyboard with the black and white keys returning a
   specific note mapped to specific keyboard keys. (As i mentioned in the
   previous mail)
   - Paint : A full fletched Paint application with 32 colours, shapes,
   pens, copy paste feature, save feature. Did not use existing image
   compression but used the pixel position and colours to save the image.
   Worked really well.

*I found a wonderful Library to convert the notes into WAV files (PySynth)
and as you say we can use csound to play those WAV files when required.*
*
*
*http://home.arcor.de/mdoege/pysynth/*

Even I tried playing MIDI files using timidity++ and Pmidi, they seem to
have lag, delay problems associated with it.

*Musical Keyboard is just a free play mode with the display of notes on
pressing each key. Though it seems to be just a freeplay activity one can
even learn by pressing the right keys at the right time. We can give
keyboard lessons by telling them when to press which key in realtime on the
screen. That can be done in the Tutor mode.*
*
*
*Yes the one I mentioned is just an extension of the keyboard. Once the kids
get familiar they can start writing the notes in the format specified to
play their songs. (Its called Composing I guess ) :)*
*
*
I used the sound() function from dos.h in my previous project in c++
graphics but here I didn't find an equivalent function that can be used for
real time feedback. Still am looking for libraries that can be used to give
out real time feedback. When i tested using pgame to play the specific wav
file it was good. DId not have much of a delay, but yeah a few milliseconds
delay.

Yes Frets on Fire seems to be a real fun activity. I would definitely try to
add it to this project.

Do you expect me to do any bug fix or can it enhance my chance of getting
into the GSoC program?

Thanks a lot,
Would love to work with GCompris

*Karthik Subramanian*
SSN College of Engg.
+91 99401 38729
http://tedxssn.com
http://www.boocci.com
twitter.com/yeskarthik <http://twittter.com/yeskarthik>
facebook.com/itskarthik
Be Happy always!! :)
Chennai



On Wed, Apr 6, 2011 at 2:22 AM, Bruno Coudoin <bruno.coudoin at gcompris.net>wrote:

> Le mardi 05 avril 2011 à 11:31 +0530, Karthik S a écrit :
> > Hi sir,
> >
> > Yes, I learnt "Carnatic Music" and I think I have enough knowledge to
> > implement this.
> > This particular (Pentatonic scale) translates to a 'Raaga' called
> 'Mohanam'
> > in Carnatic Music.
> > So till now I have collected Music in Mohanam Raaga and also am
> collecting
> > Music with English Lyrics so that it can be used widely.
> > http://en.wikipedia.org/wiki/Carnatic_music
> > http://en.wikipedia.org/wiki/Mohanam
> >
> > My previous project was to build a musical keyboard using c++. But I did
> not
> > use any external APIs, used the native sound() function. I set up a
> > particular frequency for each note and assigned a particular key in the
> > keyboard to play that note. It was a great hit and fetched me the first
> > prize in a programming competition at my place.
>
> Can I see the code source you produced at that time.
>
> > So my proposal apart from the previous project I mentioned will be like
> >
> >    - Add a music library : probably to play MIDI which goes in hand with
> >    playing musical notes.
>
> Midi has always been problematic, especially for multi-platform
> application. I would prefer that we get the notes as wav files and play
> them when needed or use a library like csound.
>
> >    - Add a Musical Keyboard playing activity which is again not totally
> fun
> >    based but learning activity. Each note is mapped to each key in the
> keyboard
> >    and thus allows the user to play a particular song by him/herself.
>
> It's a free play mode or there is a goal, if not how do you qualify it
> as learning activity ?
>
> >    - Now this requires training. Another feature of this application will
> be
> >    like giving the input in the form of notes in a text file. eg : C D E
> A G C
> >    This will also have another variable with respect to time (sustain :
> for how
> >    long the note has to continue) so the input will now look like C(2)
> D(1)
> >    E(4) A(1) G(1) C(5) . Thus this is how the notes can be stored and
> allowed
> >    to play.
>
> Does the children have a real time feedback with a time line or
> something ?
>
> >    - We could also add another game based on Rhythm :
> >    http://en.wikipedia.org/wiki/Rhythm_game . This will consist of
> pressing
> >    the right button at the right time. It is proved to increase the
> player's
> >    sense of rhythm a lot. So a music will be playing in the background
> and
> >    players must press the buttons at a precise time corresponding to the
> >    sequence dictated on the screen which will sync with the music played
> at the
> >    back.
>
> I like it, it's like frets on fire in the concept but we don't need the
> 3D stuff. This is very addictive and fun.
> http://fretsonfire.sourceforge.net/
>
> > I think this will be enough for the 3 month workload you mentioned.
>
> That sounds reasonable.
>
> > Am getting ready with the Exact formatted proposal now.Also please let me
> know
> > what other things should I show to prove my technical knowledge.
>
> I don't remember if I asked you about your contributions to free
> software, if so mention it in you application.
>
> Bruno.
>
>
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel
>



More information about the Gcompris-devel mailing list