Guest ahcor1991 Posted July 25, 2009 Report Posted July 25, 2009 (edited) I am making a little app on C# that plays guitar but it has a problem... No drag play... So, I am asking help from programmers to finish this and share with everyone for free. If you want to see how it looks: http://www.youtube.com/watch?v=MGSgIEO5RHE *forget alpha button, it's for testing... Edited July 25, 2009 by ahcor1991
Guest jeffrey2000 Posted July 25, 2009 Report Posted July 25, 2009 (edited) I am making a little app on C# that plays guitar but it has a problem... No drag play... So, I am asking help from programmers to finish this and share with everyone for free. If you want to see how it looks: http://www.youtube.com/watch?v=MGSgIEO5RHE *forget alpha button, it's for testing... It seems like a very nice program! I can barely program or play a guitar but still it's cool :) . Keep up the good work! Edited July 25, 2009 by jeffrey2000
Guest dwallersv Posted July 25, 2009 Report Posted July 25, 2009 I am making a little app on C# that plays guitar but it has a problem... No drag play... A clarifying question: By "drag play" you mean swiping stylus or finger across two or more strings in one gesture to "strum" them, right? If you are using .NET CF (2 or 3), there are mouse event objects that can be accessed to capture mousedown, drag, and mouse up (at least, in the Big Daddy .NET toolkit for Windows, there are these interfaces; haven't written s/w for Windows Mobile, so these objects/interfaces may be called something else related to the touch screen). All you need to do is import these interfaces and create event handlers for the down, drag, and up events. Each event includes data for where the pointer is on the screen, or inside a containing object, when the event is triggered. That should be all you need to implement the strumming of the strings. I'll poke around MSDN and find these precise interfaces... however, if someone knows what package, class, and name is for these, please don't wait for me!
Guest ahcor1991 Posted July 25, 2009 Report Posted July 25, 2009 (edited) no... there is no such option on winmo... for normal windows it has that option, I tested it and it worked but not for winmo... :) and I tried making eventhandlers but only works on press... Edited July 25, 2009 by ahcor1991
Guest defaultBR Posted July 25, 2009 Report Posted July 25, 2009 (edited) maybe you can insert a Rec button that only rec when you press the note, so you can hear fast what you did :)!!! you cant be very fast to play guitar, coz the no multi touch =( but nice program =) Edited July 25, 2009 by defaultBR
Guest JeFK Posted July 25, 2009 Report Posted July 25, 2009 can you give us a source code (c# project) ?
Guest dwallersv Posted July 25, 2009 Report Posted July 25, 2009 no... there is no such option on winmo... for normal windows it has that option, I tested it and it worked but not for winmo... :) and I tried making eventhandlers but only works on press... Here ya go! Everything you need is in the MSDN Library .NET documentation right here.
Guest ahcor1991 Posted July 25, 2009 Report Posted July 25, 2009 (edited) can you give us a source code (c# project) ? sure! Here ya go! Everything you need is in the MSDN Library .NET documentation right here. tryed but winmo is different... I have talked with sheon and he said me... Drag play using OnMouseMove event. 1. When you Drag screen raise onmousemove event 2. Put your action in onmousemove method. =========================================================== à declare event handler Void form_load() { this.MouseMove += new MouseEventHandler(onMouseMove); } à get x,y position public virtual void onMouseMove(object sender, MouseEventArgs e) { Int mouseXPos=e.X; Int mouseYPos=e.Y; // put your action here.. } I have made it on this source but only works on press, probably I've made it wrong... but I don't know what is wrong... EDIT: If you test on computer (not on emulator) the alpha button works perfectly... but not on winmo... You need to move the first picture I you want to see other objects.GuitarKcor.zip Edited July 25, 2009 by ahcor1991
Guest naturalpanic Posted July 26, 2009 Report Posted July 26, 2009 wow. IT'S AMAZING BRO! very good work! i support u :)
Guest Darthlord Posted July 26, 2009 Report Posted July 26, 2009 (edited) I have been searching for a functional guitar app for like months, wish this project go forward :) Edited July 26, 2009 by Darthlord
Guest ahcor1991 Posted July 26, 2009 Report Posted July 26, 2009 I have been searching for a functional guitar app for like months, wish this project go forward :) me too so I started searching about C# then I made this... I am trying to make this but things are complicated... I've talked with sheon and iperov but this is hard.
Guest JeFK Posted July 28, 2009 Report Posted July 28, 2009 I think that you should put your string sounds in resources, because you have to load every string sound from my storage when you want to play it. About mouseOver event. I think that you don't need it, because if you slide finger over the screen (in your case string), you acctually click. So you can use click event (single click). Correct me if i'm wrong. I didn't try your program, but it would be nicer if you make strings bigger(over the hole screen), because you know, that omnia doesn't have the perfect touch screen and you easily miss one string when you are playing chords. p.s.: Did you record string sounds by yourself ?
Guest jason07 Posted August 11, 2009 Report Posted August 11, 2009 I don't program so I have no idea if this is possible, but; Say you had an invisible/transparent object at the end of the image (where you want to slide) and you made it moveable (similar to the slider in S2U2), and then just programmed it to activate each strings sound when it passed that point in the screen. I know I used to be able to make things happen when objects were moved to certain points in my old VB days, so it only seems logical that it's possible here... Food for thought.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now