11 posts in this topic

I heard about MIDIbox some time ago from a dear friend. Not realizing its potential at the time, it ended up somewhere in the back of my head.

 

However, now that I am planning to build an analog(ish) synthesizer, I can start to see attraction of the system.

 

My question is this: How much will the CORE_LPC17 board be able to process at a time?

 

Here follows a list of functions:

  • Scan a 49 key keyboard, using a six-bit polyphonic decoder. (Requires six Douts and one Din)
  • Mix note events from the keyboard into the external MIDI stream.
  • An internal clock, with tempo derived from either a pot or tapping.
  • A basic arpeggiator with the following functions:
    • Up, down, up-down, down-up, random, or order pressed modes.
    • Run over 4 octaves.
    • Semibreve, crotchet, quaver, semi-quaver, etc... based on clock input, from either the external input or the internal clock.
    • Gate length (PW) controlled via pot.
  • Output a CV, a gate, and clock pulse (to LFOs)
  • Potentially a MIDI output, combining the data from the original MIDI stream, the keyboard, the internal clock (if being used), and the output from the arpeggiator on a separate channel.

I think that is all for now. Shall write back if I remember something else...

 

So, would the core board be able to process all of this simultaneously?

 

Regards,

 

Steve.

Share this post


Link to post
Share on other sites

Hiya and welcome aboard, the_exploding_pineapple  :flowers:

 

Very doable.

Share this post


Link to post
Share on other sites

Here's a quick diagram of what I'm looking at doing...

 

Any suggestions or hints as to how to approach this?

post-16368-0-81165700-1365525918_thumb.j

Share this post


Link to post
Share on other sites

Hi and welcome!

I´d suggest you go for the new LPC17 core - as it is by far more easily programmable as the old PIC - also, there is a fantastic "learning" tutorial section available - you may find most of the routines you are looking for in there:

http://ucapps.de/mios32_c.html

 

Have lots of fun!

Peter

Share this post


Link to post
Share on other sites

Spent too long looking at the old diagram.. So here is a new one!

 

Hopefully it is easier to understand.

post-16368-0-94107600-1365530972_thumb.j

Share this post


Link to post
Share on other sites

I don't see a blocking point for such an application, the LPC17 has more than enough power to handle this! :)

 

You could take the MIDIbox CV V2 as a code basis, because it already contains many functions that you intended to program: 

 

Sources: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fprocessing%2Fmidibox_cv_v2%2F

...just combine it with the keyboard driver: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fmodules%2Fkeyboard%2F

 

 

 

Scan a 49 key keyboard, using a six-bit polyphonic decoder. (Requires six Douts and one Din)

 

Why do you want to scan the keyboard with such an exotic matrix configuration?

 

Here you can find typical circuits: http://www.ucapps.de/midibox_kb.html

they are all supported by the keyboard driver

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites
Why do you want to scan the keyboard with such an exotic matrix configuration?

 

It's just what I had found stumbling around on the internet. And there is a certain elegance to it... (in my mind at least)

 

See attached diagram.

 

Source: http://www.soundonsound.com/sos/jan01/articles/synthsec.asp

 

 

Having said all of that, I think I will be using the keyboard driver. No need to solve a problem that has already been solved, right?

post-16368-0-63428700-1365541777_thumb.p

Edited by the_exploding_pineapple

Share this post


Link to post
Share on other sites

How difficult would it be to take lines of code from various MIDIbox projects and combine them into one specialized project?

 

Another thing I may not have mentioned is that I am looking to build this box with a physical interface. (ie. knobs and switches) Just to keep up with the analog synth feel.

Share this post


Link to post
Share on other sites
Having said all of that, I think I will be using the keyboard driver. No need to solve a problem that has already been solved, right?

 

The linked article describes an expired approach anyhow, no need to scan a keyboard this way with modern hardware...

 

 

 

How difficult would it be to take lines of code from various MIDIbox projects and combine them into one specialized project?

 

 

This isn't so difficult, because all code modules have an own namespace, so that they can be combined without conflicts.

 

I would propose to read through the tutorials to get a basic understanding, how the framework is organized

-> http://www.ucapps.de/mios32_c.html

 

It's important to read it from the beginning, otherwise you could miss important informations which are helpful to work with the more advanced examples.

 

Once the framework is understood, you should also be able to do modifications in an existing application, or to build up a new one from scratch.

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

How about the addition of two LFOs to the original recipe? Either driven independently, or to the beat of a midi clock. Could the MIDIbox deal with three CV outputs? Five even? (separate CVs for each of the three oscillators? (for future development)

 

http://www.electricdruid.net/index.php?page=projects.taplfo

 

^ Above link contains the sort of thing I am talking about.

Share this post


Link to post
Share on other sites

I would propose to read the MIDIbox CV thread, which I linked earlier - it gives you a better insight into the possibilities, and it especially answers your questions!

 

E.g. on MBCV each CV channel has a dedicated Arpeggiator, step Sequencer, two LFOs, one "normal" envelope and one multi-step envelope + a modulation matrix.

8 CV channels are supported by default, the achievable update rate is ca. 5 kHz as far as I remember.

To give you a comparison: typical "modern" synths are working at 1 kHz update rate only.

 

Btw.: I'm planning a "synth-like" control surface for MBCV as well... it just needs some time because so many other topics are on my TODO list... ;-)

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now