james lei

Greenhorn
+ Follow
since Dec 08, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by james lei

I was skeptical how it took 0 millisecond (to be exact, took 3 microsecond) to complete? Can anyone enlighten me?

11 years ago
I find often the MIDI sequencer played volume at 100% instead of 50% if the sequencer didn't completely started before the shortmessage is apply. Will addMetaListener help anyway to prevent race condition?

The seqencer is use to load MIDI file in it.



Will appreciate if there a way for addmetalistener tol execute the shortmessage once the Midi song is startedl
12 years ago
I think the Receiver recv = new DumpReceiver(System.out) might have something to do with it?
13 years ago
I tried to test out the MIDIInDump example and found memory issue that keep increase 4Kb by 4Kb or even worse 16Kb whether the midi data is being dump on the screen, it can go from 10MB to 40+MB, after strip out the MIDI API t.setReceiver(r);, it doesn't caused memory spike as no data was received.

Tried to lower XMX and XMS parameter to 10m, the problem persist. How do I limit the memory usage or any idea to free up the data?

http://www.jsresources.org/examples/MidiInDump.html
13 years ago
I tried to test out the MIDIInDump example and found memory issue that keep increase 4Kb by 4Kb or even worse 16Kb whether the midi data is being dump on the screen, it can go from 10MB to 40+MB, after strip out the MIDI API t.setReceiver(r);, it doesn't caused memory spike as no data was received.

Tried to lower XMX and XMS parameter to 10m, the problem persist. How do I limit the memory usage or any idea to free up the data?

http://www.jsresources.org/examples/MidiInDump.html
13 years ago