Jump to content

96 inputs with 3 x AINX4 ? a mistake ? (urgent : my order is gone!)


Recommended Posts

Posted

hello,

i've just ordered kits in order to build a midibox.

i'd like to have 96 inputs instead of 64...

so i've ordered 3 modules AINX4....

will it be possible to chain these 3 modules with only

one core module ?

thanks in advance :!!!

j.

Posted

AIN measures Analogue Voltage Ranges (typ. 0V to 5V), e.g. if you have 2.5V on AIN/Pin0, is is likely a Midi Message with the value 64 or 65 will be sent (depending on the application, of course). You typically connect a potentiometer (10k, linear, either round pot or fader) to an AIN.

DIN checks the logical level of digital input line, that means: 5V OR 0V (logic HIGH and LOW). You can connect all kinds of switches, buttons, knobs or encoders.

So: AIN is Analoge Range, DIN is Digital Input.

A piano keyboard normally involves Digital Input (key down, key up), sometimes also AIN (aftertouch amount -> pressure range!).

There are multistate switches like the one in your link (-> for more than one pole you need multiple pins), buttons to toggle, snap; radio-button groups... that's too much to tell. Take a look in an electronic store or see the parts FAQ in the Wiki.

Best,

Michael ;)

Posted

hello,

thanks for your answer. imagine I use a switch ON/OFF

(http://www.gotronic.fr/commut-opt/07000-opt.jpg) with DINX.

when I switch the button, will midibox send just a message of :

* position-change (the box doesn't know if it's ON or OFF, but

there is a change of state)

* the box sends ON/OFF if I switch to ON/OFF ?

do you understand what I mean ?

I want to command a ON/OFF switch for Minimoog plugin with

my switch (http://www.gotronic.fr/commut-opt/07000-opt.jpg).

If the box just sends a position-change message, it will

depend on the position the switch had at the beginning

(like an encoder....).

To sum up, my question is : I don't want my switch ON/OFF to

depend on the state at the beginning. When I switch to OFF,

I want my plugin switch to be OFF.

J

Posted

well, I think you really should read the basic docs like:

http://www.midibox.org/dokuwiki/doku.php?id=what_is_a_midibox

http://www.midibox.org/dokuwiki/doku.php?id=introduction_to_ucapps.de

(normally this is done before ordering ;) )

and maybe you should look out for a beginner's electronic book. There are plenty of them.

To come back to your question: A switch is just ON or OFF, but your Midibox does nothing without a program (application). As there are dozens of different applications and the possibility to code custom apps, there is no unique answer.

Look into the C-Skeleton, if you want to code your application by yourself (See http://www.midibox.org/dokuwiki/doku.php?id=application_development). You get notified by a toggle ([tt]DIN_NotifyChange()[/tt]), the value is submitted, too.

Also, you can check the state of any pin at any given time.

;)

Michael

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...