-
Enhancement
-
Resolution: Fixed
-
P3
-
1.0
-
tiger
-
generic
-
generic
From: "K Luck" <###@###.###>
To: <###@###.###>
Subject: [javasound] MIDI sequencing
Date: Sun, 27 Dec 1998 19:11:04 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Hi,
I've been playing around with javasound and have managed to write a little keyboard app (just like the ToySynth example really), but now that I have come to try something a bit more adventurous, I've come up against a bit of a brick wall. Has anyone managed to sequence MIDI data using javasound yet?? I want to play a looping bar with given MIDI messages on given beats of the bar. I presume that you would use the Sequencer interface, but I've checked all through the API and I can't find any way to start a sequence or to put given messages at a certain point in a sequence...
If someone's figured this out already, I would be really greatful if you could let me know how its done,
Thanks,
Kelvin.
-----
Date: Mon, 18 Jan 1999 16:19:54 +0000 (GMT Standard Time)
From: ###@###.### (Kelvin Luck)
To: ###@###.###
Subject: [javasound] The TimeMBT class
X-Sender: ###@###.###
MIME-Version: 1.0
Hi,
Sorry to mail pretty much the same question again, but no-one got back
to me last time, and I'm sure someone out there must know!
I'm trying to use the TimeMBT class from JavaSound so that I can play
looped MIDI data. I create a new TimeMBT object with the following code
:
TimeMBT timeMBT = new TimeMBT(16, 100, 1);
As I understand it from the API, this should create a new timing object
(in this
case one which runs for 16 ticks at 100BPM with 1 tick per beat).
Then by calling the getBeatsMBT() method on this object, you should be
able to retrieve the number of beats that have passed (????).
But when I try this, i.e. by looping and printing timeMBT.getBeatsMBT()
to the screen, the return value of getBeatsMBT() seems to remain at 0
and never increment.
What am I doing wrong?? Do I need to start my new TimeMBT object
somehow?? Please, if anyone has figured this out, let me know,
Thanx in advance,
Kelvin.
To: <###@###.###>
Subject: [javasound] MIDI sequencing
Date: Sun, 27 Dec 1998 19:11:04 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Hi,
I've been playing around with javasound and have managed to write a little keyboard app (just like the ToySynth example really), but now that I have come to try something a bit more adventurous, I've come up against a bit of a brick wall. Has anyone managed to sequence MIDI data using javasound yet?? I want to play a looping bar with given MIDI messages on given beats of the bar. I presume that you would use the Sequencer interface, but I've checked all through the API and I can't find any way to start a sequence or to put given messages at a certain point in a sequence...
If someone's figured this out already, I would be really greatful if you could let me know how its done,
Thanks,
Kelvin.
-----
Date: Mon, 18 Jan 1999 16:19:54 +0000 (GMT Standard Time)
From: ###@###.### (Kelvin Luck)
To: ###@###.###
Subject: [javasound] The TimeMBT class
X-Sender: ###@###.###
MIME-Version: 1.0
Hi,
Sorry to mail pretty much the same question again, but no-one got back
to me last time, and I'm sure someone out there must know!
I'm trying to use the TimeMBT class from JavaSound so that I can play
looped MIDI data. I create a new TimeMBT object with the following code
:
TimeMBT timeMBT = new TimeMBT(16, 100, 1);
As I understand it from the API, this should create a new timing object
(in this
case one which runs for 16 ticks at 100BPM with 1 tick per beat).
Then by calling the getBeatsMBT() method on this object, you should be
able to retrieve the number of beats that have passed (????).
But when I try this, i.e. by looping and printing timeMBT.getBeatsMBT()
to the screen, the return value of getBeatsMBT() seems to remain at 0
and never increment.
What am I doing wrong?? Do I need to start my new TimeMBT object
somehow?? Please, if anyone has figured this out, let me know,
Thanx in advance,
Kelvin.
- relates to
-
JDK-6318474 Unexcepted exception thrown "java.lang.IllegalArgumentException: invalid loop start point: 30389"
- Closed