This site requires JavaScript, please enable it in your browser!
Greenfoot back
Kartoffelbrot
Kartoffelbrot wrote ...

2013/9/7

reacting to sound/music

Kartoffelbrot Kartoffelbrot

2013/9/7

#
Is possible to react to sounds, beats, rythm etc in GreenfootSound?
mjrb4 mjrb4

2013/9/7

#
GreenfoodSound simply provides a way of playing and looping sound clips - it hasn't got any clever functionality that finds certain sounds, beats or rhythms (this is way beyond its scope) nor does it really allow you to get at any useful data in the sound file that could let you do this yourself. This would be quite a difficult project, but if you really did want to proceed you'd have to use another sound library that let you retrieve much more detailed data about the file it was playing (and from there you'd have have to do various non-trivial things such as peak locating or comb filtering before coming up with an algorithm to match beats and rhythms.) Not an easy task!
Kartoffelbrot Kartoffelbrot

2013/9/8

#
Ok thank you. I think I have too less knowledge of Java to understand things like that now.
You need to login to post a reply.