Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Try to this challenge that involves you making a ball jumps on words like the karaoke effect
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ssjwilliam




PostPosted: Thu Oct 01, 2009 5:47 pm   Post subject: Try to this challenge that involves you making a ball jumps on words like the karaoke effect

What is it you are trying to achieve?
Trying to create a karaoke effect when the ball jumps on the words.


What is the problem you are having?
I can't seem to get the effect on how the ball jumps on the words.


Describe what you have tried to solve this problem
I tried creating a circle and making it move but it doesn't seem to work.

If anyone knows how to do this effect, post on this forum please.
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Thu Oct 01, 2009 8:01 pm   Post subject: Re: Try to this challenge that involves you making a ball jumps on words like the karaoke effect

Post the code you got dude. We can then help you from what you got there.
tjmoore1993




PostPosted: Sun Oct 11, 2009 6:30 pm   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

I high recommend that you don't go about with this whole karaoke thing...

Turing isn't very efficient so you will run into lag and so on...

But I guess you could always do some kind of projectile word to word?
Insectoid




PostPosted: Mon Oct 12, 2009 7:39 pm   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

I would have it search for each word, find the middle letter of that word and the x/y coordinates to that letter, then using simple gravity physics and some algebra have it 'hop' to those coordinates (determine how far those coords are from the current location and how far it has to move horizontally every frame so the jumps are consistently timed). I would use a function/procedure for that. To time it with a song you'll need manual delays as well (delay() or delay.timesincelast()). It'd be cool to do actually. An interesting challenge.
chopperdudes




PostPosted: Mon Oct 12, 2009 7:50 pm   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

i think you'd want it to jump from syllable to syllable instead of letters to letters xDDD another challenge
Insectoid




PostPosted: Mon Oct 12, 2009 8:01 pm   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

ah, well, yes. Forgot about that. I suppose you would look for vowels following a consonant (excluding the first and last). This would not be perfect, but meh.
DtY




PostPosted: Mon Oct 12, 2009 8:01 pm   Post subject: Re: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

chopperdudes @ Mon Oct 12, 2009 7:50 pm wrote:
i think you'd want it to jump from syllable to syllable instead of letters to letters xDDD another challenge

Unless you wanted to "calculate" the syllables, you could just store the file with syll-a-bles sep-ara-ted by a dash
Zren




PostPosted: Mon Oct 12, 2009 8:21 pm   Post subject: Re: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

DtY @ Mon Oct 12, 2009 8:01 pm wrote:
chopperdudes @ Mon Oct 12, 2009 7:50 pm wrote:
i think you'd want it to jump from syllable to syllable instead of letters to letters xDDD another challenge

Unless you wanted to "calculate" the syllables, you could just store the file with syll-a-bles sep-ara-ted by a dash


Thoughts:
Have the program load a lyrics file and music file. Then have the user click for every syllable as their played side by side. The program would then contain the time to "sing" the syllable. That being said the song isn't 9000bpm with lyrics at the same pace.

The ~ would erase the text halfway between the times registered in timing.txt.
The times would be written in milliseconds.

lyrics.txt
Who-ooo-are-you?
~
oo-oo
oo-oo
~
Who-ooo-are-you?
~
oo-oo
oo-oo
~
...

timing.txt
1000
1444
1789
2687
3778
4789
...

Now alls that left for a Turing-Karaoke is for someone to be bored enough to write it.
Sponsor
Sponsor
Sponsor
sponsor
chopperdudes




PostPosted: Mon Oct 12, 2009 10:36 pm   Post subject: Re: Try to this challenge that involves you making a ball jumps on words like the karaoke effect

Quote:

Now alls that left for a Turing-Karaoke is for someone to be bored enough to write it.


nah... i dun think that'd be that big a problem at all... we need some1 to manually click the lyrics to make the timing files LOL (and course the lyric files) and find enough songs lmfao.

another cool idea would be to "color" in the words as the song goes... i think turing will lag.... really bad. lol
DtY




PostPosted: Tue Oct 13, 2009 2:56 pm   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

Actually, LaTeX has a file that includes where each syllable breaks in most English words (uses it to decide where it can hyphenate), so you could use that instead of having to have specialized lyrics.
I don't know about timing though.. Last time I used Amarok, there was a project going on to make a karaoke database, and if their was already timing data on the song, it would skip when it thought it should, or you can press enter to skip to next line, and it would submit it to the database, so the idea was that eventually there would be accurate timing data on a lot of songs.
I don't know where that's gotten though
T.O




PostPosted: Wed Oct 14, 2009 7:54 am   Post subject: RE:Try to this challenge that involves you making a ball jumps on words like the karaoke effect

dude post the code and i will try to help you
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 11 Posts ]
Jump to:   


Style:  
Search: