StreamingPlayer and interactive music creation

  1 post   Feedicon  
Replies: 0 - Last Post: May 19, 2009 00:31
by: meepmap
showing 1 - 1 of 1
 
Posted: May 19, 2009 00:31 by meepmap
I just found out about jmusic recently - i intend to use it for my major project/thesis, which involves interactive music creation. The basic idea is, the use plays notes, while the program harmonises them.

On reading the guide, i figured that the streaming player will be able to give me smooth continuous sound (instead of a jerky stop start). However i have trouble following this part of the guide so that the pattern does not play all instantaeously.

"If you decide that you want to loop through a number of fragments and add each
of them individually to the StreamingPlayer, you’ll need to throttle your delivery
of the events. You can do this by sleeping for the duration of your fragment
multiplied by TimeFactor.QUARTER_DURATIONS_IN_WHOLE."

Can someone give me an example to how this is done? Let's say i have a musicstring pattern "C5q E5q G5q", how do i get it to play it seperately and not as a chord?

---

As a side question: Is it normal for the program not to close by itself even when i have already entered player.close()? I have to manually stop the program each time using eclipse.

---

Any help would be greatly appreciated - as well as advice on other ways to tackle this project. Smile
Replies: 0 - Last Post: May 19, 2009 00:31
by: meepmap
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close