Jump to content

Antichambre

Programmer
  • Posts

    1,291
  • Joined

  • Last visited

  • Days Won

    101

Everything posted by Antichambre

  1. What is the calling procedure? can you send me (PM) the project? I need a bigger view. I think structure can resolve write and read but I need to know how it is called. I'm not at home, nothing to do in the night in my hotel room, I can write something even if I haven't got any hardware to test it... Best
  2. How do you init PB as aray of int or pointer? If array of int: for(i=0; i<256; i++)FILE_WriteHWord (PB[track][i]); //write Pitchbend u16 values directly for(i=0; i<256; i++)FILE_ReadHWord (&PB[track][i]); //read Pitchbend u16 values directly
  3. Hi Phatline, I don't remember, sorry, just try. memcpy(PB[track], &PB8, sizeof(PB8)); memcpy is copying a given length of data from an address to an other address PB is already a Pointer then this code may work. Tell me back I want to be sure. You can try to write your 256 16bit values directly. #define STEP_NUM 256 u16 PB[STEP_NUM]; //populate PB //... //write PB for(i=0; i<STEP_NUM ; i++)FILE_WriteHWord(PB[i]); By using structures union? //Definitions #define TRACK_NUM 16 #define STEP_NUM 256 //Type typedef union { struct { u16 data; }; struct { u8 datas[2]; }; struct { u8 data_l; u8 data_h; }; } data_t; ..... //Vaiable data_t PB[TRACK_NUM][STEP_NUM]; ..... //Using PB[track][step].data = (u16)pitchbend; //or PB[track][step].datas[0] = (u8)(pitchbend & 0xff); PB[track][step].datas[1] = (u8)(pitchbend >> 8); //or PB[track][step].data_l = (u8)(pitchbend & 0xff); PB[track][step].data_h = (u8)(pitchbend >> 8); Best
  4. You can use 5V DC Coil Relay, and you will find the right contact current rating for your bulb. You can drive this relay directly, I already did it, connected to 595, it works. Only a relay can handle this high current. BUT! Like Zam said... 14A is huge, you use the right way to measure it but, are you sure? Your 12V power supply should be very big too, what is it?
  5. Its serial commands and MIDI implantation, there's midi I/O, maybe enough?
  6. Yes you're right! Coding, electronics, etc... Here, we are all genius, exceptional people. Anyone who already built a Box and play with it, have a consequent background in a lot of domain. We are all individually, experts in C(all languages in fact), we all speak a minimum of 6 languages, we have all an innate gift in electronic, with an unbelievable capacity in engineering, design and development in general. We are all music professional, of course! We are all extremely good at our hands too. For example, last week I was in Cambodia for an open-heart operation on a 5-year-old child, I saved him. Now I'm resting a bit but I'm leaving next week, I have to finish plans and model of the future highest tower in the world, ... And it's the same for everybody here. Sorry, but for us life is easy, we are a secret society... But You got us! Welcome!
  7. I think it's a limited view, we all told you the opposite, and some people here are perfect example for this thing that you don't want to believe. If you want something easy, and refuse any challenge, you will learn nothing. Sorry, maybe MIDIbox is not for you ;) I don't understand why you don't want to believe us... You insistence is a non sense for me. the only way to prove it to you would be if you try. but here we go round and round. Best Bruno
  8. Hello, For code change it depends, if you need to draw a 270° scale within a 360° led ring, the answer is yes. If not, you don't need. It's better to use a multiple of 8 for the number of leds that form your ring. My opinion is that an Open Ring is better for layout routing first and a potentiometer travel is a symbol for me then maybe by convention... Using a ring for a potentiometer In parallax mode(or not) is very interesting for feeling and playability. 300° pots are also common, with a 300° led ring you can draw a 270° travel too. This angle lets the possibility to use most common pots and encoders. I thought a lot about this subject during the OLRE16 design... One more thing... I choose to remove one led from the ring. By this way there's an odd number of leds, by symmetry the middle led is automatically placed at 0 o'clock, better for bipolar travel ;). The last one is used as an index(e.g. step position, on, mute, solo), and placed at 6 o'clock. Best Bruno
  9. I did not learn coding at school. Just some basic and logo programming on an amstrad CPC when I was very young then a long time ago. I was forced to "resume" programming because I work a lot on Autocad, the only way to add functions or behaviours useful to my job was to get interested in Lisp, VBA and now .NET. I am still not an "expert", I have the basics, my code is neither beautiful nor fast, it works. It takes me a lot of time sometimes but it is always for either to win after or for fun like here. All that to say that it depends on the interest you have there. In addition to the MBNG, which makes the customization within the reach of my grandmother;) ... the procedures and functions of MIOS are simple, TK has ensured. It's like a car, you do not have to know how it works inside, you just have to know how to drive it. In addition, the platform does not stop at programming, it is a vast space of knowledge, mechanics, electronics, and so on, all for one and only purpose, music. Everyone can find his place and bring his stone. Some here do not program but are engines of the platform. ;) So no, MIDIbox is not only for experts in C, that's for sure.
  10. You felt the thing... Did you try the box somewhere there is no carpet? Human and animals generally have a positive charge, negative charges are more common to synthetic materials. Can be your carpet...
  11. Hello, I have a look on your PCB, the cap for decoupling is after the power supply of your 595. A decoupling cap must be between supply and IC supply pin or it can have no effect. More than that it's always better to put one for each component which must be supplied. Put a a bigger one also (1~10uF) close to the board supply connector too. For that I use tantalum instead of electrolytic, there are more expensive but smaller and better for digital domain and high frequencies. Don't use it for audio or analog purpose! Best Bruno
  12. Hello, Yes I found this when I was looking for the protocol, it seems this guy has it but he sell his solution then he will not share the protocol, but we can ask him. This solution is the opposite of what I was looking for, I don't want mouse and CRT and I don't want a laptop or a computer too. The goal is to get the 760 as a standalone machine, with a user interface which simplify the workflow. For me it's a lot of work for a machine I don't use anymore. The DE-GENERATOR seems to match this. And @Elektruck made a polyphonic sample player here: http://wiki.midibox.org/doku.php?id=midibox_sd_card_sample_player&s%5B%5D=sdcard best Bruno
  13. Yes the 760 is 16bits I confusing with the 550 effectively, thank you to stopping me thinking that. You seems to know more than us (than me for sure) about samplers, you're question is like a trap ;)) I was looking for the Remote Control protocol sometime ago, but I didn't find. Maybe someone already did the work, now, and share it somewhere. If not we have to analyse it. For position on the screen maybe the mouse is enough if not we need a DT-100. For other commands we need a RC-100, but if you just want a touch screen this is too much. Have you got some? I'm pretty sure you know what I'm talking about ;) Once you get the protocol you have to find a screen with touch panel option and Video or S-Video input.
  14. Yes about E-MU, I got a discussion about sampler with @mrspring, he's got a lot of sampler during the last 30 years and explained me the EMULATOR IV was the best because of the internal routing, which may give you unfinished creativity and your own sounds too. But it's an heavy machine and like some others the price become to increase, I think about the SP1200 which reaches a non sense price for what it is. Very soon I will try the MPC X, I will receive it by the end of the month, I will see, Akai returned back to Standalone Sampler, that's a good point, there's the MPC Live which is standalone too, small, can work 4hours on battery, maybe have a look. I owned a MPC2000 and a MPC2500, the new machines seem to respect this MPC philosophy and I read that the analogue part is warm like what they did in the past, I will see and compare. Agree too, Elektron is clever manufacturer and the funny thing is that they begun their activity with a SID machine ;) Best Bruno
  15. Yes very cool, I've got one... 12bits sampling ;) Not handy because of the screen and mouse? if it's the case you can maybe work on a small and external desktop touch screen and adding some dedicated pots on it too, I was thinking about doing it for mine... I've got no time for this but if you decide to do it, I can help you... Best Bruno
  16. I still do a magnesium cure a few days before With the right method it's about 6 hours to solder and test those 512 rgb leds...
  17. Don't worry, I will do it. For you to know that the dokuwiki already exists even if I have to update it also.
  18. Thank you! Some explanation: Here I test the Logic Clocking/Addressing for 32*16 multiplexing around the TLC5958. With all the leds this time. Previously I first tried to code this multiplexing circuit directly with the STM32F4 but it was too much process for a very bad result. Then I designed an external logic circuit for that purpose, it was working but a was very complex circuit. And finally I reduce this big logic circuit to one unique programmable logic ic, the Lattice CPLD. Here I used an LC4256V evaluation board from Lattice. It's a TQFP100 with 256 macrocells and this is too much for that purpose. So I make the VHDL program very small to fit in a LV4064(64 macrocells) which exists in a small TQFP44 package. The components on the breadboard are just for 3.3V to 5V level shifting. Voilà!
  19. MIDIbox SEQ new frontpanel idea Started by latigid on, 20 Nov 2016 It seems it's more than an idea now!
  20. i programmed a fiew years with max4live/max...build big grooveboxes with it... but that was years ago... i could also take a look on it, but first have to get the tia, source the parts have to solder... i also had the problem with sysex when using Mackie Control Pro XT/ableton, which was running almost with Sysex... Hello Phatline, It's just about this point. made some test by using RPN control instead of SYSEX passing thru UDP. It works fine. The point is to receive/send small or large data amount of data from and to Live, even on a Windows. Data frame are formatted like sysex except 0xF0(SOF) and 0xF7(EOF) are removed and replaced by RPN control code. All other RPN or NRPN traffic must be stopped or hanged during large data transfer! e.g. // Start code 0xb0 0x65 0x0f //RPN MSB (msb start code) 0xb0 0x64 0x00 //RPN LSB (lsb start code) // Sysex like formatted stream 0xb0 0x06 0x00 //data#1 -> id#1 0xb0 0x06 0x00 //data#2 -> id#2 0xb0 0x06 0x7e //data#3 -> id#3 0xb0 0x06 0x7f //data#4-> id#4 0xb0 0x06 0x01 //data#5-> Command Code 0xb0 0x06 0x08 //data#6 -> Data length 0xb0 0x06 0x7f //data#7-> Data[0] 0xb0 0x06 0x7f //data#8 -> Data[1] 0xb0 0x06 0x7f //data#9 -> Data[2] 0xb0 0x06 0x7f //data#10 -> Data[3] 0xb0 0x06 0x7f //data#11 -> Data[4] 0xb0 0x06 0x7f //data#12 -> Data[5] 0xb0 0x06 0x7f //data#13 -> Data[6] 0xb0 0x06 0x7f //data#14 -> Data[7] 0xb0 0x06 0x08 //data#15 -> checksum Data[0-7} // End Code 0xb0 0x65 0x0f //RPN MSB (msb end code) 0xb0 0x64 0x07 //RPN LSB (lsb end code) Of course it takes more time(x3) but it works... Some code as to be added, this is MIOS32 example: ///////////////////////////////////////////////////////////////////////////// // This hook is called when a MIDI package has been received ///////////////////////////////////////////////////////////////////////////// void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package) { if (midi_package.evnt0 == 0xB0) { switch (midi_package.evnt1) { //RPN case 0x64: //100 rpn.lsb = midi_package.evnt2; if(rpn.number==0x0f00)SysexParser(0xF0); if(rpn.number==0x0f07)SysexParser(0xF7); break; case 0x65: //101 rpn.msb = midi_package.evnt2; if(rpn.number==0x0f00)SysexParser(0xF0); if(rpn.number==0x0f07)SysexParser(0xF7); break; case 0x06: //6 rpn.value = midi_package.evnt2; if(rpn.number==0x0f00)SysexParser(rpn.value); break; } } } // rpn/nrpn struct ********************************************************************** typedef struct { union{ struct { u16 number:16; }; struct { u8 lsb:8; u8 msb:8; }; }; u8 value; } rpn_t; Hope this will help you Best Bruno
  21. Better than Multimeter and Oscilloscope is the Logic Analyser. It can be very cheap too, 9€ here! 24MHz is enough. You will see multiple waveform as concrete things on a timeline, very good to learn or dig in with a lot of fun...
×
×
  • Create New...