Hello, Just reporting a little bug in mini-audicle, it seems that when I try to use this code with a BCD2000 turntable, it just hangs up, the strangest thing is that it crashes randomly, if I save the report from macos X could be helpful? The code: public class input { int device; MidiIn min; MidiMsg msg; int knob_0[2]; public void input(int dev) { dev => device; if( !min.open( device ) ) { <<< "erro ao iniciar device:" , device >>>; } else { <<< "device inicializado:" , min.num() , " -> " , min.name()
; } [ 176 , 3 ] @=> knob_0;
} public int poll() { while ( true ) { min => now; // get the message(s) while( min.recv(msg) ) { // print out midi message <<< msg.data1, msg.data2, msg.data3 >>>; msg.data1 => int msg_1; msg.data2 => int msg_2; <<< "cara: " , msg_1 >>>; if ( msg_2 == knob_0[1] ) { <<< "eh o cara" >>>; } } } } }; input In; In.input(1); In.poll(); What I'm trying to do is figure out how exactly Chuck can handle input events, my first tought was on building a linked list with the desired function pointer to the button i want to map, but maybe the event classes can do it better, anyone has the same way implementation issue? Thanks Piero Obs: The bug is with miniAudicle 0.1.3.7c under MacOS X 10.4.9 Intel C2D
Hi Piero, Thanks for letting us know about this. Does your BCD2000 work with other software? Does other MIDI hardware work as expected? Also, yes, if you could copy and paste the text of the crash report and send it to us, that would be helpful. spencer On Apr 5, 2007, at 6:59 PM, Piero B. Contezini wrote:
Hello,
Just reporting a little bug in mini-audicle, it seems that when I try to use this code with a BCD2000 turntable, it just hangs up, the strangest thing is that it crashes randomly, if I save the report from macos X could be helpful?
The code:
public class input { int device; MidiIn min; MidiMsg msg;
int knob_0[2];
public void input(int dev) { dev => device; if( !min.open( device ) ) { <<< "erro ao iniciar device:" , device >>>; } else { <<< "device inicializado:" , min.num () , " -> " , min.name() >>>; } [ 176 , 3 ] @=> knob_0;
}
public int poll() { while ( true ) { min => now;
// get the message(s) while( min.recv(msg) ) { // print out midi message <<< msg.data1, msg.data2, msg.data3 >>>; msg.data1 => int msg_1; msg.data2 => int msg_2;
<<< "cara: " , msg_1 >>>; if ( msg_2 == knob_0[1] ) { <<< "eh o cara" >>>; } } } }
};
input In;
In.input (1);
In.poll();
What I'm trying to do is figure out how exactly Chuck can handle input events, my first tought was on building a linked list with the desired function pointer to the button i want to map, but maybe the event classes can do it better, anyone has the same way implementation issue?
Thanks
Piero
Obs: The bug is with miniAudicle 0.1.3.7c under MacOS X 10.4.9 Intel C2D _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Yes, it works with NI Traktor, with a Midi Remapper, called MidiRules, and a
conversion file, but I think its just to convert to common turntable codes,
as its mainly built for windows use (behringer fall back in his promise to
support Mac os X, instaed built BCD3000 that basicly is the same turntable
with some firmware update and this driver..)
As soon as it happen again i'll be sending you the crash report.
Piero
2007/4/5, Piero B. Contezini
Hello,
Just reporting a little bug in mini-audicle, it seems that when I try to use this code with a BCD2000 turntable, it just hangs up, the strangest thing is that it crashes randomly, if I save the report from macos X could be helpful?
The code:
public class input { int device; MidiIn min; MidiMsg msg;
int knob_0[2];
public void input(int dev) { dev => device; if( !min.open( device ) ) { <<< "erro ao iniciar device:" , device >>>; } else { <<< "device inicializado:" , min.num () , " -> " , min.name() >>>; } [ 176 , 3 ] @=> knob_0;
}
public int poll() { while ( true ) { min => now;
// get the message(s) while( min.recv(msg) ) { // print out midi message <<< msg.data1, msg.data2, msg.data3 >>>; msg.data1 => int msg_1; msg.data2 => int msg_2;
<<< "cara: " , msg_1 >>>; if ( msg_2 == knob_0[1] ) { <<< "eh o cara" >>>; } } } }
};
input In;
In.input (1);
In.poll();
What I'm trying to do is figure out how exactly Chuck can handle input events, my first tought was on building a linked list with the desired function pointer to the button i want to map, but maybe the event classes can do it better, anyone has the same way implementation issue?
Thanks
Piero
Obs: The bug is with miniAudicle 0.1.3.7c under MacOS X 10.4.9 Intel C2D
participants (2)
-
Piero B. Contezini
-
Spencer Salazar