• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Sequencers In Applet  RSS feed

Sean Brewer
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

There isn't a sound/audio forum here, so hopefully this is the best place to post this.

I'm working on a music applet and need to have multiple sequencers playing simultaneously. I have some test code and it works in my programming environment (I'm using the free JGrasp) but when I try to open the applet in a web browser, it doesn't play the sequencers at the same time. It only plays one sequencer at a time and switches (seems to be random) back and forth between them instead of just letting them both play together. Is there any reason why two (or more) sequencers won't play together in an applet when they do in my programming environment? Is this just simply a limitation within applets or is there some kind of work around to fix this?

I know you can do different tracks in a single sequencer, but I really need it to be separate sequencers playing simultaneously... Without getting into too much music/drum theory, I'm making a polyrhythm metronome and need to have different sequencers playing at different tempos (which you can't do with a single sequencer). If anyone has any ideas on how to get multiple sequencers to play nicely together in an applet that would be greatly appreciated.

Here is my sample program:

And the code for my html document:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!