the_exploding_pineapple Posted April 9, 2013 Report Share Posted April 9, 2013 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. Quote Link to comment Share on other sites More sharing options...
nILS Posted April 9, 2013 Report Share Posted April 9, 2013 Hiya and welcome aboard, the_exploding_pineapple :flowers: Very doable. Quote Link to comment Share on other sites More sharing options...
the_exploding_pineapple Posted April 9, 2013 Author Report Share Posted April 9, 2013 Here's a quick diagram of what I'm looking at doing... Any suggestions or hints as to how to approach this? Quote Link to comment Share on other sites More sharing options...
Hawkeye Posted April 9, 2013 Report Share Posted April 9, 2013 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 Quote Link to comment Share on other sites More sharing options...
the_exploding_pineapple Posted April 9, 2013 Author Report Share Posted April 9, 2013 Spent too long looking at the old diagram.. So here is a new one! Hopefully it is easier to understand. Quote Link to comment Share on other sites More sharing options...
TK. Posted April 9, 2013 Report Share Posted April 9, 2013 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. Quote Link to comment Share on other sites More sharing options...
the_exploding_pineapple Posted April 9, 2013 Author Report Share Posted April 9, 2013 (edited) 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? Edited April 9, 2013 by the_exploding_pineapple Quote Link to comment Share on other sites More sharing options...
the_exploding_pineapple Posted April 10, 2013 Author Report Share Posted April 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted April 10, 2013 Report Share Posted April 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
the_exploding_pineapple Posted April 15, 2013 Author Report Share Posted April 15, 2013 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. Quote Link to comment Share on other sites More sharing options...
TK. Posted April 15, 2013 Report Share Posted April 15, 2013 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. Quote Link to comment Share on other sites More sharing options...
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.