-
Posts
1,774 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Everything posted by cimo
-
it s all good now i only had to change channel = evnt0 & 0x0f; if( (evnt0 & 0xf0) == 0xc0) { MIOS_MIDI_TxBufferPut(0xb0 | channel); MIOS_MIDI_TxBufferPut(evnt1); MIOS_MIDI_TxBufferPut(0x7f); to channel = evnt0 & 0x0f; if( (evnt0 & 0xf0) == 0xc0) { MIOS_MIDI_TxBufferPut(0x90 | channel); MIOS_MIDI_TxBufferPut(evnt1); MIOS_MIDI_TxBufferPut(0x7f); cause i wante note on/off on output tx simone
-
ok i got help from toxi in the chat i wasn t really understanding where to place it . It gots to be in the init function, of course.It works now simone
-
hi durisian (and thank you) how is the correct code? void MIOS_MIDI_MergerSet(MIOS_MIDI_MERGER_ENABLED) __wparam { } just anywhere in main.c ? i get an error with this code simone
-
..what about the ECOBOX ? ;D
-
hi read this: http://www.midibox.org/forum/index.php/topic,10585.0.html is it ok if i make this box for free, as a present for these guys? simone
-
hi i liked the design.My closest friends here have a band called Tupperwear www.colectivodrone.org/tupperwear.html so i thought i could give them a little present a little TupperSID, is that i ok if i steal your idea? Simone
-
on my SF buttons module i use 4 screws to attach it to the sub panel but i ve made all the necessary holes in the pcb to fix the buttons pads to the pcb (as max of 1 screw per button).That should be enough and way cheaper than SF bezels. I haven t a final box with the SFs so can t judge the buttons but i can say that it looks ok to use them with MBs.I ll let you know asap. simone
-
dB Live - Update and (finally) some photos - update
cimo replied to DavidBanner's topic in MIDIbox HUIs
... flash! baa aack .... (sing it like you were Freddy Mercury) -
hi thanks for clarifying, so there are 2 main issue (or solutions, thinking positive) 1 the software implementation is harder than i supposed, i ve laready read AC code, but, as you may understand it s far too complicated for my experience (1 week, but i am stubborn enough).I see the point, the "audio world" explication makes it quite clear. 2 on the hardware side either i could use a dual opamp circuit to tweak the range or i could use a charge pump to feed the pot with an higher voltage or i could use a transistor at the output to amplify the signal, as you suggested.Now i am using a 9volts supply for the pedal, but i d like not to use those 9 volts cause it s possible if not probable that i will be using other supplies in the future I have a circuit i ve designed some time ago with 2 opamps, it was intended for the sharp sensors, then i never actually tested it cause i decided to go the easy way and use MidiPipe to tweak the range.Maybe it is time to etch that board.Afair It was designed to be used with 5VDC.It had a trim for expansion of contraction of the range and a trimpot for offsetting. --------- now, i feel like i am requesting a lot of help and i see i actually receive a lot of help.. so i ask some more! ;D it s not entirely clear to me the difference between void MIOS_MIDI_MergerSet(MIOS_MIDI_MERGER_ENABLED) and void MIOS_MPROC_MergerEnable(void) should i add both of them to the code? it seems to me that one will start the merger driver while the other containing a varialbe can be used to turn it on and off and as star/end link point -------- i decided to put a midi in socket in the pedal so i can load new software with midi feedback but also cause with the midi merger i can connect another junky yamaha mfc05 that offer 5 buttons on 2 layers.The only problem it is that this pedal board sends program change so (again) i use MidiPipe for the translation. Is it possible and if so is there any code example to make a en event translation?i think this is my starting point: ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a complete MIDI event has been received ///////////////////////////////////////////////////////////////////////////// void MPROC_NotifyReceivedEvnt( unsigned char evnt0, unsigned char evnt1, unsigned char evnt2) __wparam { // check for CC at any Channel, and forward event on CC#07 (volume) // for understanding the MIDI coding, please refer to the MIDI spec // (-> http://www.borg.com/~jglatt/tech/midispec.htm) if( (evnt0 & 0xf0) == 0xb0 && evnt1 == 0x07 ) { // both values are matching, forward complete MIDI event to MIDI Out MIOS_MIDI_TxBufferPut(evnt0); MIOS_MIDI_TxBufferPut(evnt1); MIOS_MIDI_TxBufferPut(evnt2); } } ----- thanks simone
-
dB Live - Update and (finally) some photos - update
cimo replied to DavidBanner's topic in MIDIbox HUIs
thumbs up!! finally we can see (part of) the long awaited dB live.. looks like a great casing solution, can you point us at the manufacturer ? looking forward to see the rest simone -
ok the latest news is that i swapped the 50K pot for a 10K pot as it should be,removed the software offsetting and did an hardware offsetting (removed the little dent that prevents the pot to move around its ax and turned it so that it stays at 0R when the pedal is in its 0 position) and use 3 bit shifting, now the resolution is quite bad but it is ok for a pedal.I l try to use the 10bit value. simone
-
i am also up for some knobs whenever the hulk order will take place.. simone
-
hi yep sorry it wasn t really precise, they are not 3,5 mm, they are as those pictured below.The socket you show are not panel mount but i liked the shrinking tube idea i will go for that.I am only worried that the sharp edges of the hole could cut through the plastic and reach the metal of the socket.I ll let you know how it goes tx simone
-
hi i am looking for a smart way to isolate panel mount parts in metal casing, i need to isolate a 3,5 mm power plug (as the one you get with a core) simone
-
.. i use smultron on osx (when i don t use xcode) it just does the job and it is free! .. what would you guys advise for linux? simone
-
[me=cimo]shuts up :-X[/me]
-
ganchan S1 is from Australia i don t think it s worth shipping from USA to AU and then back to italy, if you want one of those chips you should go for a direct shipment from the states, i am sure that some of the USers can help you out cheers simone
-
eheh long pathnames, C:\ adios!
-
...the microchip suite was the only reason why i had a double boot x86, time to clean up the hard drive! i haven t tried gputils yet to build asm code (just the little _asm code in my first C application, osx) but i am looking forward to, there is a MBLC+MB64 on the bench soon. thanks for supporting free multiplatform software
-
good tip there wilba i am using a multimeter s probe to tap on the pads, i can finally control all the parameters! I DON T NEED THAT ENSEMBLE ANYMORE i ve found out that i had forgotten to solder R80, i couldn t access all the slaves! thanks simone
-
hi again all that DragonMaster writes is correct but (respect DM!) you don t need to look through datasheet and such, here: http://www.avishowtech.com/mbhp/mbhp_coreR4d.html together with the boards and parts you get from ST is all you need, some extra infos as on wikipedia for parts is optional but advised for a general overview. Placing the components on the pcb is straight forward especially if you got all the parts from ST.It s like one of those toys for babies where you have to match geometric forms into holes ;) If you can t see any reference for polarized parts then.. they are not polarized and you don t need to worry about it
-
bingo! i had to shift of 2 bit instead of one //////////////////////////////////////////////////////////////////////////// // This is an assembly optimized function which scales a 7bit value between // a minimum and maximum value ///////////////////////////////////////////////////////////////////////////// unsigned char Scale_7bit(unsigned char value, unsigned char min, unsigned char max) { // scaled value is (<8-bit random> * ) >> 8 PRODL = value << 2; // 8bit value PRODH = 255; // range __asm movf _PRODL, W mulwf _PRODH, 0 __endasm; return PRODH -163 ; } ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a pot has been moved ///////////////////////////////////////////////////////////////////////////// void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { unsigned char value; // scale 7bit value between min and max boundary value = Scale_7bit(MIOS_AIN_Pin7bitGet(pin), // converted to 7bit 0, 127); // a pot has been moved, send CC# at channel 1 MIOS_MIDI_TxBufferPut(0xb0); // CC at channel 1 MIOS_MIDI_TxBufferPut(CimosCCvariable); // pin number corresponds to CC number MIOS_MIDI_TxBufferPut(value); // don't send 10bit pin_value, // but 7bit value } now i ll mount the pedal for fine tweaking if needed still i think i could get a better resolution if i use the 10bit value
-
a little improvement, now i got from 0 to 83 with this code:
-
hi nop those min and max are the min and max value for the outgoing CC, they scale but just the inverse i need to i was wondering.. i should take the 10bit value insted of the 7bit and do the code scaling as i need and therefore make it in 7bit, ,to get a better resolution. ??? still trying (mostly randomly)
-
hi and welcome really welcome as in .. well come most of the stuff you ask is covered on 1000 tutorials on the web, really i am not chasing you away from this forum, feel free to come back any time. you can t use a guide for this version if you got kits from smash, use his guide, it can t be explained any better we can t troubleshoot that before you send a picture of the dog simone use the wikipedia for all electronic parts, they are all simply covered