Tuesday, February 9, 2010

Progress Senior Project - 2/9/2010


I feel very sorry to let my worth time with anything that waste my time. There are many thing I have to do during this period, I got SMEs work, job interview, lab, music performing and so on. (But the biggest thing that damage my time is Facebook, so I stop using Facebook for 2 days and continue my work.) After that, I have to hand in the "Final Report" with in 15 Feb. ??? How can I gonna finish in this period of time.

So today, i have to finish another part of my work, here is the explanation. In Thai note, we separate the measure by using | or table like this -v

Normally we using table as the measure so we have to remove table before we go to the OCR part. So the result should be like this -v

After we have the sheet note with out table line, the blob and OCR will work more properly.

My OCR still can't work well hope it will be better with in this week T T.....

Thursday, January 14, 2010

Progress Senior Project - 1/14/2010

PA. In the house !!!! (What?)

Today I just make the interface for my project (it nearly to be my project T T)
The process is like I told you in the previous blog.


As you see from the picture, if you click on "import image", it will ask you to open the image file. Then when you click on Making note, the note will show on the process box. Then you can make it play the note, export to midi file or export to XML file as you want. In the rest of this day, I'll make it can export to XML file. As I saw from another midi program, the XML for 1 measure should be like this

From XML file, in one measure there are attribute and note.
note have pitch, duration, type and steam default
pitch have step and octave

for the pitch and the related of step and octave you can read from my older blog.

Finally, I have to hand in the progress report this Monday, do you think this work is enough for the short progress report.

PS. I still waiting for the report from my friend.

Saturday, January 9, 2010

Progress Senior Project - 1/9/2010

OMG! How can I left my project for so long, it's about 4 days T T. Actually, I didn't completely left it but I still find the information for making GUI for Python. You know, this week i have a lot of event to attend such as facebook, twitter and so on. (Just kidding!) Actually, I went to do the job interview, making the duet violin score for University song (Yeah, all of the violin student can't arrange or harmonize the song,me either. But I'm the one who understand the notation rule. You know what? I spend whole day but we didn't use it O_o) and preparing for exam, I really apologize to myself in this case.

Anyway, what I have found is the good GUI maker, that is pyQT, wxPython and Tkinter. In this time I didn't have the decision yet but at least I know the way to start. (Yeah ^^) The following picture is the example program for both tool which running on my computer(window xp). I didn't take pyQT because I think the left 2 tools is more popular. Actually, to make the comparison, you have to make it in the same function but I still can't make it so this is the example code from the tutorial.

What do you think? Most of comment said wxPython is better, in this time while i wrote this blog, i'd said so... Maybe this one.

  • wxPython
  • Tkinter



Monday, January 4, 2010

Progress Senior Project - 1/5/2010

I worked on OCR part tonight. Today I made the program can recognize the above and under charactor ( ํ and ฺ ). I think it nearly complete, now it just like 75% correctness.

I think tonight I'll study more about Ocrad [http://www.gnu.org/software/ocrad/ocrad.html]



Actually, I want to work on the interface or makefile part but I don't know how to start. If anyone know the method please tell me. _/|\_

Happy New Year


Happy New Year, everyone
Another year, another experience
Hope the good thing happen to you all the year and forever...

Patama Ramchune

Progress Senior Project - 1/3/2010

Actually I done this part before new year, but i'm in mid-term exam, so i write it a bit late.

This time I worked on the OCR part. It just a template matching, not so good but it almost done (I hope). From the picture, I recognize the character and write it to txt file, and then made the midi sound from the file. The blob coloring part is quite good but some extra character such as -ํ or -ฺ is not good, I'll try it tonight.

Last time I met my advisor, he ask us to make the document, so I let my friend manage the layout but I still don't have it O_o OMG........

Wednesday, December 9, 2009

Progress Senior Project - 12/9/2009

Today I just work more for my MIDI part. Now my program can play different patch sound. This Example is the sound of flute and xylophone, it can play simultaneously. This song is combining of 2 different song for show that it can play 2 line in 1 track.

I think, before new year we just waiting for OCR part from my friend. T T