Jump to content

DavidBanner

Programmer
  • Posts

    754
  • Joined

  • Last visited

Everything posted by DavidBanner

  1. ARRGGHH!! no!!! scope creep! scope creep! stryd is a scope creep, scope creep (I think you might have finally pushed my fragile little brain over the edge).... stryd is a scope creep, scope creep etc etc
  2. ah-ha! nice one stryd - that is exactly what the Dr ordered!!! I have been going nuts after hours and hours of googling for that info.
  3. thanks for the help chaps.... I didn't realise there was a user timer function!! I've spent so much time searching and reading I think I forgot to check back on the functions list on ucapps!! I had an idea as I was trying to sleep last night to use the midi timecode info being sent as the timer, but this is much better.... Stryd - The main app is written and pretty stable (always need lots of time to flush out any bugs), this is for a phase 2 "extra functionality" phase. Ableton only has 1 loop button oO, which means that you have to select the channel to set, or even see if a loop is on. I'm going to flash the channel select button when a loop is on so you can see which channels are looping. A timer flash is all I really need, but I'm now wondering about tying it to something like the midi clock so it flashes in time - but I think I'll move that to phase 3.... And then there is phase 3, which involves interfacing with Ableton using their API, python and probably MAX/MSP.
  4. I got one of those from smash recently - they are great! I've gone from dreading doing crimps to loving it!
  5. mmm, good point - try it and see, I know the dBLive is sending a Note on and Off for each button press so I guess it's being set by the note on? well you can re-assign the pin or anything else in MIOS, so I would turn off one of the values being out-putted - set ableton, turn and then do it the other way round for the 2nd value.... or you could do a midi remote script
  6. hehe - you've had a deep dark insight to my coding notes to myself there.... let's step back a second - how do the softpots connect to the core, AIN or DIN? ignore that last code snippett - I didn't check it properly for errors - was psuedo code... 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 if (pin == 0) { MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0x90); // Note at channel 1 MIOS_MIDI_TxBufferPut(pin); // pin number corresponds to note number MIOS_MIDI_TxBufferPut(0 ? 0x00 : 0x7f); // buttons are high-active MIOS_MIDI_EndStream(); } else if (pin > 0) { MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0x90); // Note at channel 1 MIOS_MIDI_TxBufferPut(pin); // pin number corresponds to note number MIOS_MIDI_TxBufferPut(127 ? 0x00 : 0x7f); // buttons are high-active MIOS_MIDI_EndStream(); } } that SHOULD work - i.e. not tested keep an eye on the values in bold, they might not be right - a little digging / experimentation will tell you....
  7. moxi - where is the C version of the LC s/w? you are not talking about: midibox_lc_v1_6b.zip are you?
  8. so I've found 2 methods to do the blinking in ASM: and TKs method being completely ignorant of ASM - how do I pass either of the code sets the Pin number of the LED I want to control using the in-line ASM functionality in C?
  9. except that the meter data is sysex in the manual, and Ableton is not outputting any sysex - which I expected as I have seen this mentioned before. I've looked at the data coming out from Ableton (have been doing so for days), and I can't see the meter data anywhere
  10. ahhh!! i see what you mean but I don't think you need the 2 events, the only time the AIN data is updated (i.e. the function is called) is when it gets a value.
  11. slaps forhead - I missed that.... Just checked the Logic Control manual and it has all the data I need - fantastic!!! thanks Moxi
  12. There seems to quite a lot of data on what is sent to the S/W from a Mackie Control, or in this case a midibox, does anyone know of any charts of the data coming back? I.e. what CCs/Notes are driving the Clip LEDs, the Meters etc etc? The Midibox LC obviously has all of this working, but it's written in ASM which makes I hard for me to follow, and very hard to modify. Does anyone have or know where to find the definitions for the data going to the midiBox, or have any C programs that contain this that I can poke around in and work out for myself?
  13. I've noticed a few posts about which I've scan-read about doing flashing LEDs via ASM, is there a way to do it using pure C? I know there is a way to incorporate blocks of ASM into C, so I guess it can be done that way, but I'm phobic about ASM in the same way I am about poisonous spiders so I'd like to stay in the C environment.
  14. Cimo - I'm a C head as you know so I'm sticking to what I know - why don't you stick an if statement to check that the Pot is coming in on the correct AIN pin for the softpot you wish to control, and then fire off the 2 midi notes within the if statement? something like: void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { if (pin == 1){ //fire off note on or CC info here } } Also why are you trying to send 2 midi notes? Beat repeat only requires 1 note to turn on the "power switch". Also instead of sending a CC - why not send a note on? Let me know if you need some more help....
  15. it's figuring out how to mount them and also some of the caps don't fit properly so you need to QC the buttons before you whack them on a PCB
  16. wow - The prize for longest first post goes to..... welcome aboard. The good news is you are going to have lots of fun here and you seem well along the way with the electronics knowledge too! You won't need to burn any PICs if you order from smashTV - so fear not :)
  17. an early morning video.... www.lukepepper.com/dBLive/ledFun.avi Those buttons are Highly buttons, available from Rapid - and like any beautiful thing that has come into my life they are not without issues, be warned.....
  18. daytime pics will be posted as soon as she is 100% finished, still waiting on a few knobs and I have to finish off the programming. As far as the shift is concerned, I'll let you know once I've done it, have a few ideas and want to play around with it till I find the best solution....
  19. oh man smashTV is gonna love that - it's pure coin op!!
  20. she's alive! after much assembly, milling, soldering and testing the dB Live is alive! Some photos from the first all led on test..... It's 6am and I've been working on this for 15 hours straight so more later.....
  21. DavidBanner

    Ouch

    it's an MC/Rapper thing - any decent talent I have worked with have a very definate idea of what their voice should sound like (right or wrong), some will even carry their own mic(s). Best thing to do in this situation is sit down with them, make a copy of the clean vox tracks and the effect them the way they want, let them leave and do what needs to be done to make it work properly....
  22. nice layout Sasha. are those Halo Rings I see around the buttons and encoders/pots?
×
×
  • Create New...