Jump to content

Chomsky

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by Chomsky

  1. When I connect one of the pins of the 470 Ohm resistor before the green LED or the pins of the green LED to ground, I can measure 5 Volts, But it seems that somewhere after the green LED a connection to ground is missing. Maybe I have to connect the PIC board to the computer to get it working?
  2. yes. I measure 5V after 78L05. What do you mean by reversing the LEDs? Do you mean I should stick them in with the wrong polarity?
  3. I've done the PIC burner now for the 2nd time but only the yellow LED goes on when I connect it to the power supply. Is that normal or not?
  4. I found the problem. There was a bad soldering on the board. I corrected it but now I have another problem. Only the yellow LED is on. I measure 12 V at J2 and I have alredy bought new 74HC14 ICs.
  5. No. I'm talking about the burner module which gets 18 Volts.
  6. When I connect 2 9Volt batteries to the PIC burner the 78L05 voltage regulator is heating up. I suspect that there is a short-circuit somewhere? Can someone tell me in what region on the burner the problem could be located?
  7. Thank you for your reply. I will meditate about what you said tonight and make up my mind up about this. The problem is, that I want to know precisely what I am doing (maybe becaus I study computer science and mathematics??). To make an assertion based on experiments is simply not acceptable for me. I need to know it exactly!
  8. You are a very worse teacher! You need to have more patience!! I suppose I have to look for a better teacher! Bye!
  9. When I move a pot from 0 to 25 with a deadband-value of 6, it will look like this: and when I set MIOS_AIN_DeadbandSet(7) it will look like this: Is that correct? What means: "move the pot from 0 to 25"? Where do the values come from?
  10. What happens when I set deadband to 2, 4, 5, 6?
  11. Slowly! First I need to know what the parameter value in the MIOS_AIN_DeadbandSet(unsigned char deadband) function do? Because the type of the parameter value deadband is unsigned char it can range from 0 to 255. What is the effect of this parameter value?
  12. When you search in wikipedia for deadband, you get: I see it like this: Deadband defines the length of a very small rang so that the value of a pot or slider will result in no change if the length of the pot-movement is shorter than the length of the Deadband-range. Am I right?
  13. My suggestion is, that there should be one central place where all the information is gathered. Mostly it takes hours to find the information I need because the information is scattered in many different places. So why don't have a central place, where everybody can find what he/she is searching for?
  14. Perfect! That is exactly what I need! Thank's a lot!
  15. Yes, of course! I would be happy to do this! Really! But before I can do this I need to know how all these MIOS-functions work and what they do. Please tell me where I have to start to learn all about those MIOS-functions. And when I'm finished with it I will write a better documentation!
  16. I said that I want a GOOD documentation. But perhaps you can help me: What exactly does the MIOS_AIN_DeadbandSet function do?
  17. Uhu! Is there any tutorial in the net how to build this? I want to build a Midibox for the Traktor-DJ-Studio. Now you can probably imagine for what I need those pitch-wheels: I want to control the pitch-bend-function of the decks with the pitch-wheels.
  18. I need a good documentation for the MIOS-functions. Where can I get this?
  19. May be this is a considerable solution. But there is one problem with it: after pushing down or pushing up the pitchwheel it should snap back automatically to the middle postiton. So I wonder whether it is possible to constuct it to behave like this? This is a bad solution. First it is too expensive for this purpose and second I would need two old keyboards, because I need two pitchwheels. Isn't there any source who sells this parts?
  20. Hello! In my midibox I want to install a part like this: I think it's called a modulation wheel or somthing like this. Can anybody tell me, where I can order this part?
  21. Slowly we make progress! I want to control Traktor-DJ-Studio with my midibox. Therefore 7 Bit Resolution is simply not enough to controll the Tempo of the decks, for example. Hence I need higher resolution and I don't know how to do this!
  22. I tried to find out what is the meaning of CC,(N)RPN,etc. but I was not very succesfull, so you need to help me. I tell you, what I understood so far: Let A be a machine wich is connected to annother machine B through MIDI. So, A is the master and B is the slave. When A want to send a message to B it alway goes like this: There are different kinds of MIDI-messages like note-on, note-of, pitch bend, song select and so on. So, the first thing A will send to B is the information wich kind of MIDI-message it want to send. Hence, A will send a special byte to B, the so-called status-byte. The meaning for this byte is, that A is calling B and saying: "Hello, here is A, please be prepared to recieve a specific message of kind XY from me" Next, A sends out one or two data bytes to B. How many data bytes are send depends on the kind of MIDI-message. Some MIDI-messages send only one data-byte and others send two. All together A sends to B two or three bytes, to transfer a complete MIDI-message. For example: suppose A want to send to B the message, that a key is pressed with a certain velocity. The first thing A will send to B is the status-byte. The status-byte for a note-on-event is 10010000 in binary or 144 in decimal. Thus A sends 10010000 to B. Now B says: "Ahh! A will tell me very soon that a key is pressed and what is the velocity". Suppose we pressed the middle C on the keyboard. Therefore A tells B that middle-C was pressed by sending the first data-byte. The value for the middle-C is 00111100 And now A tells B that middle-C was pressed with a velocity of 48 which equals 0011000 in binary. And finally B recieved the complete MIDI-message. If you want to send this message with MIOS, then you would have to write: MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0x90); // 90 hexadecimal == 10010000 binary MIOS_MIDI_TxBufferPut(0x3C); // 3C hexadecimal == 00111100 binary MIOS_MIDI_TxBufferPut(0x30); // 30 hexadecimal == 00110000 binary MIOS_MIDI_EndStream(); Now suppose that machine A is my own-build midibox and machine B is my computer. My midibox is the master and my computer is the slave. Suppose I move a fader which is mounted on my midibox a little bit to the right. Thus my midibox will send to my computer a special MIDI-message, the so called control-change-message. The status-byte value of this MIDI-message is 10110000 or B0 in hexadecimal. The control-change-message (or short CC-message) sends out two data bytes. In the programming examples section on the C-interface site of ucaps I found the code for sending CC-events on pot-movement: ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a pot has been moved ///////////////////////////////////////////////////////////////////////////// void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { // a pot has been moved, send CC# at channel 1 MIOS_MIDI_TxBufferPut(0xb0); // CC at channel 1 MIOS_MIDI_TxBufferPut(pin); // pin number corresponds to CC number MIOS_MIDI_TxBufferPut(MIOS_AIN_Pin7bitGet(pin)); // don't send 10bit pin_value, // but 7bit value } The first command tells my Computer that a CC-Event is comming. The next two messages semms to send out the two data bytes. The big disadvantage of this Code is, that the resolution is only 7 bit. What I want to know is, wheter it is possible to get a higher resolution? And what I must do to get this?
  23. So, I nedd to explain more precisely what I want to do: Recently I have mounted a Core-module and at the time I have only one Pot connected to it. Then I programmed my PIC to send MIDI events on pot movements as discribed on the C-interface-site on ucapps.de in the Examples section. And then I was quite a bit flabbergasted, because the resolution of the Pots-movements were only 7 Bit although the PIC is able to handle 10 Bit according to the ucapps-Introduction-site. So finally, my question is: What do I have to do to get 10-Bit resolution?
  24. Thank you for your reply. I'm very new to this Midibox-stuff and you have to answer me two questions: 1.) What is (N)RPN and CC? 2.) How can I convert CC to (N)RPN. In the Examples-section of the C-Interface-side of ucapps.de there is only an example how to convert CC to (N)RPN on an modwheel event. How can I do this on Pots-events?
  25. Hello! I want to set the AIN-module to 10 bit resolution on Pots-movement. Can anybody tell me how to do this?
×
×
  • Create New...