Hi, I have this code, but my problem is that the durations don't change, I tried with different values but the result is the same, does anyone know how can I do? I´ll try to do a musical score but I need to change the values of durations depending of the notes.
Hi, I have some problems, I have this code, the idea is that the mic of my mac sense the note and compare this note with the midi note in the program, I think that I have some problems with detect correctly of the microphone, I don´t know if I need some code more like something to calibrate.
Also the idea is that when the note sensing with the microphone is not the same with the midi note appears an image like match to indicate that the note sensing is not the same that the midi note, the problem is that the image always appears.
Hi, I´m using the Minim library to use the microphone of my mac computer, I want to play my violin and sensing the sound (with this microphone) then I want to convert the frecuency in midi notes to compare each note with a midi score that I have in processing, the problem is when I play my violin don´t sensing correctly the note, more in the bass string and have a delay to detect with note is. I don´t know if I need a calibrator and how can I do it? or if I need other thing? This is the code for sensing the microphone and convert to midi note
HI, I have a problem I´m using the SoundCipher Library and the G4P Library for all my project and it´s almost finished, I have a slider that controls the volumen, and also I have a button that I want to works like muting but I don´t know how can I do it, I tried with switch and case in the button events and also in the normal way but don´t works, any ideas?
in the draw I have this
switch(mute){
case 6:
sdrVolumen.setLimits(0, 1, 100);
break;
case 7:
int j = Integer.parseInt(sdrVolumen.getValueS());
break;
}
and in the
public void handleToggleButtonEvents(GImageToggleButton button, GEvent event){
if(button == btnSpeaker)
mute = 6;
else if(button == btnSpeaker)
mute = 7;
}
also I tried with
if(button == btnSpeaker){
loop();
sdrVolumen.setLimits(1, 1, 100);
}
else if (button == btnSpeaker){
loop();
int j = Integer.parseInt(sdrVolumen.getValueS());
and my slider is
sdrVolumen = new GCustomSlider(this, 700, y+160, 200, 50, null);
sdrVolumen.setShowDecor(false, true, true, true);
sdrVolumen.setNbrTicks(9);
sdrVolumen.setLimits(50, 1, 100);
lblVolumen = new GLabel(this, 600, y+160, 80, 50, "Volumen");
Hi, The idea is draw a sheet or score (pentagram) I have two forms, but don't works well, I have one between /*...*/ and the other, the problem is that I can modify the width, I use width-50 but nothing happen, also, the position 32 of the array in the first line don't do it only one time, also in the second line the position 32 to 42 of the array do it more than one time, can I explain me?
I want to do a videogame or some kind of graphic interface, I have been worked with G4P library to create a nice interface but I have some problems. I need to change the screens when some button is press ( I want to have 6 screens) NOT at the same time, only when some button is press. I have this code but the screen doesn´t change, and the buttons doesn´t dissapear, does anyone have idea of who can I do?
Hi everyone, again, I have this code, but when I run it works ok, but if you see the println there are a mistake, the code don´t read the number 14 that correspond the pitch 83, starts in the number 13 that correspond at pitch 81, I need it for the conexion with arduino.
import arb.soundcipher.*;
import arb.soundcipher.constants.*;
import processing.serial.*; //llama a todas las intruccionnes con todas las extenciones
Serial mipuerto; // declaramos el puerto serial para abilitar el puerto donde se le enviara informacion a arduino esto es una variable de tipo serial
Hello everyone, I have some problems with this code, is some kind of music score, the code works but in the window, I need that the notes and the stave are in the window and continue in other line, I don´t have idea how can I do it?
This is the code:
import arb.soundcipher.*;
import arb.soundcipher.constants.*;
import processing.serial.*; //llama a todas las intruccionnes con todas las extenciones
Serial mipuerto; // declaramos el puerto serial para abilitar el puerto donde se le enviara informacion a arduino esto es una variable de tipo serial
Hi, I´m newer in processing and I have some problems with a code, if someone could help me, the problem is that when I run the code works once, and then appears a message of ArrayIndexOutOfBoundsException: 14, I want to comunicate with the Arduino, so I need the pitches, Thanks
import arb.soundcipher.*;
import arb.soundcipher.constants.*;
import processing.serial.*; //llama a todas las intruccionnes con todas las extenciones
Serial mipuerto; // declaramos el puerto serial para abilitar el puerto donde se le enviara informacion a arduino esto es una variable de tipo serial