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