Ixox Posted September 1, 2006 Report Posted September 1, 2006 Hello,I've finished my midibox a few days ago, and i started playing with it.It does not work properly. If i turn the filter encoders (resonnance, cutoff) or oscillators (atk, dec...) while playing a note. The sound stops... not at once.. I can play with the filter during a few second then it stops.If i don't turn anything i can play all the presets without problem.Then i have to return to the main menu and change the patch to have it working again.Does any one have an idea ?I wired a Dout *1 and a Din*2 on a vector board ? Can the problem come from a shortcut or something ?I only have the filter part on the front face... what am i supposed to set as SR and pin in "mios_tables.inc" for the other encoders ?I let the current numbers which are SR that i don't have (3 and more) except the filter cutOff and Res. that i put on SR 2.. Is it OK ?Is MIOS_ENC_MODE_DETENTED2 OK with Voti encoders ? Thanks for the answers,Regards,Xavier Quote
Ixox Posted September 1, 2006 Author Report Posted September 1, 2006 Updated with informations found on the forum :I should have begun by that..... :-["Is MIOS_ENC_MODE_DETENTED2 OK with Voti encoders ? "Yes : http://www.midibox.org/forum/index.php?topic=2615.0"I let the current numbers which are SR that i don't have (3 and more) except the filter cutOff and Res. that i put on SR 2.. Is it OK ?"No : some people set SR and Pins to "0" but it seems better to remove not used encode entry and put a ENC_EOT at the end....I'll try that tomorrow....RegardsXavier Quote
Ixox Posted September 2, 2006 Author Report Posted September 2, 2006 This is strange... The problem seemed to come from my (steel) knobs that were in contact with the encoder. Perhaps, that turned the signal into something the core did not like.I left 1 or 2 mm between both and every thing works like a charm... Took me 2 houres to find that out !!For those who are interested i changed some code to have only the 2 filter encoders from StepC on my front face...mios_tables.inc ;; additional CS encoders ;; SR Pin Mode ENC_ENTRY 2, 4, MIOS_ENC_MODE_DETENTED2 ; Filter CutOff ENC_ENTRY 2, 6, MIOS_ENC_MODE_DETENTED2 ; Filter Resonance ENC_EOT ENC_EOT ENC_EOT.... The adress of these encoders changed so I also had to modify CS_MENU_ENC_CS_Handler in cs_menu_enc.inc : ;; -------------------------------------------------------------------------- ;; CS Encoder Handler ;; IN: encoder number (-1) in MIOS_PARAMETER1 ;; incrementer in MIOS_PARAMETER2 ;; NOTE: the menu encoder will not be counted as encoder #0 here to avoid ;; problems with the INCDEC_BUTTONS option ;; -------------------------------------------------------------------------- CS_MENU_ENC_CS_Handler ;; move incrementer to MIOS_PARAMETER3 movff MIOS_PARAMETER2, MIOS_PARAMETER3 movf MIOS_PARAMETER1, W addlw 0x11 CS_MENU_ENC_CS_Cont ... Regards,Xavier Quote
Sasha Posted August 6, 2007 Report Posted August 6, 2007 I had exactly the same problem with my Endorphin yesterday, and I would never expect this could be the reason. So strange! I have aluminum panel just barely bigger than encoder threaded part, and it must be touching it. I will make holes bigger and hope it will fix this strange problem.Does anybody knows what is actually happening here? What if encoders are mounted to the metal front-panel? Is there any software solution for this?Strange, just two of us experienced that problem. ??? Quote
Wilba Posted August 6, 2007 Report Posted August 6, 2007 I would think the metal part of the encoder would not be connected to the common pin, and so not connected to the circuit at all. Perhaps if it is, then touching it would be like touching the ground and causing some kind of disturbance in the ground, causing the shift registers connected to the SIDs to not output properly. I recall similar strange behaviour when the ground of the shift registers was a different ground to the PIC - it wouldn't output properly because (I think) the RC signal was being lost. Quote
Sasha Posted August 6, 2007 Report Posted August 6, 2007 I`ll check if body of encoder is connected to the common pin, but I don`t expect that also. I`m using modified Voti encoders (detend removed) so it might happened the piece that used to touch the detends now touching back plate. Chances are low but still possible. I cannot be sure is this is the case, but I think better solution for me is to make panel holes wider than to open whole synth to reach the encoders. In the case of Endorphin`s multi panel construction it is last thing I want to do.I recall similar strange behaviour when the ground of the shift registers was a different ground to the PIC - it wouldn't output properly because (I think) the RC signal was being lost.Didn`t know DINs are also sensitive. I hate AINs! So fragile, so oversensitive. I ned to troubleshoot friends controller because some AINs are have range just from 0-96 or something. Pots are ok... working normal on other AIN pins but all in`s of 2nd and 3rd multiplexers have that problem. After changing the AINx4 module problem remains. So, I gues problem is where from I took +/- from for pots. :-\ Yes, starlike pot connection... maybe it wasn`t that star-like. :-\ Quote
Wilba Posted August 6, 2007 Report Posted August 6, 2007 Just wrap sticky tape around the encoder bushing/thread. That should stop electrical contact with panel (at least to test if this is the cause of your problems.) Quote
Sasha Posted August 6, 2007 Report Posted August 6, 2007 I`ll try this. But last night, I have no problem suddenly. I tried shaking and pushing but wasn`t able to provoke it again. In the time I didn`t know what could be the problem. I can do more sensible testing today, when I can concentrate on encoders. Thanks for the tip. It is easier to use the tape, or to take of the panel. Quote
smashtv Posted August 8, 2007 Report Posted August 8, 2007 Does anybody knows what is actually happening here? What if encoders are mounted to the metal front-panel? Is there any software solution for this?Reminds me of some issues seen last year related to metal power inlet....http://www.midibox.org/forum/index.php?topic=6016.msg37048#msg37048BestSmash Quote
Sasha Posted August 8, 2007 Report Posted August 8, 2007 I`ve red it, and will check everything in detail. 2 days I have no issue, but won`t leave it like that. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.