logo64 Posted July 24, 2005 Report Share Posted July 24, 2005 A friend of mine purchased one of these over a year ago, and hasn't received it yet...http://www.synthmodules.com/psim-1.htmLooking at its specifications, it looks like a Midibox CORE module, with an AOUT boardcould easily do everything that this thing can, perhaps even more, since it will have midi I/O as well. How difficult would it be to program something like a quantizer, orS/H for such a module? Would it make sense to start with the Midibox CV program,and modify it, or from some other program like the Midibox seq (sequencing wouldbe a really nice feature too)?If this worked, and was easy enough to write applications for, there would be a pretty large demand for such a versatile beast! I suppose a C++ editor would be alittle easier to deal with - is this in the works, or just a dream at this point?-gerald Quote Link to comment Share on other sites More sharing options...
TK. Posted July 24, 2005 Report Share Posted July 24, 2005 Hi Gerald,by using the MIOS C skeleton it shouldn't be that difficult to realize a quantizer, simple sequencer or whatever you want. In difference to assembly programs, sharing code with other users is much easier.So, how about a MIOS user library, a collection of some interesting functions and "program-modules", maintained by users and not by myself?Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
drsyncenstein Posted July 25, 2005 Report Share Posted July 25, 2005 A core + aout + shx8 + bankstick would be perfect as a building block for programmable analog synths.I'm drooling when i think about it.But the problem is, building the electronics is so much easier compared to writing the software,that iguess very few midiboxers are able to code this.C might be an improvement for some, but personally, i have enough trouble with basic!So i'm a bit pessimistic about a library :( Quote Link to comment Share on other sites More sharing options...
logo64 Posted July 26, 2005 Author Report Share Posted July 26, 2005 Posted by: drsyncenstein But the problem is, building the electronics is so much easier compared to writing the software,that iguess very few midiboxers are able to code this.-----------I'm going to give it a go. I installed the C wrapper stuff, but have been running into some problems with make.bat giving mesyntax errorfile not found (x3)Out of environment space (x3)Assembling MIOS SDCC wrapperBad command or file name.================Compiling pic18f452.cBad command or file name (x3)blah blah blah.It seems like the syntax of the dos batch file is not happy with my Win ME.Ah....a little web-searching and I found that NT's batch language is pretty much incompatible with the DOS 8.0 that ME runs. I'll try to translate it, but it may be hopeless...Stinkin' old computer...-gerald Quote Link to comment Share on other sites More sharing options...
drsyncenstein Posted July 26, 2005 Report Share Posted July 26, 2005 Hello Logo, i did not say you should not try :P Quote Link to comment Share on other sites More sharing options...
TK. Posted July 26, 2005 Report Share Posted July 26, 2005 Hi Gerald,I used the good old DOS batch language which is documented here: http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html(I used it, because all Unix-style make.exe programs I found cannot handle properly with path variables - it causes even more issues with all windows versions)DOS batch should be compatible with all DOS/windows versions, but a potential problem is, that the PATH variables to sdcc and the gputils is not configured correctly. In WinXP this is done automatically during the installation.So far I remember in previous windows versions this has to be done in C:\AUTOEXEC.BATAre you able to start "sdcc", "gpasm" and "gplink" from the command line?However, today I wrote some low-level AOUT functions for the C wrapper, it works very well and especially very fast (because they are assembly optimized ;-))I've also prepared some small C programming examples which demonstrate the possibilities:forward/processing incoming MIDI events to AOUTsforward/processing AIN values to AOUTsgenerate waveforms at the AOUTs (AOUT = f(t))transform incoming waveforms to new waveforms (AOUT = f(x))set gate outputs depending on AIN levelshope that this gives enough inspirations - once I find the time to write some documentation, I will release it (maybe tomorrow if nothing else happens)Best Regards, Thorsten.P.S.: the programming effort to realize this was 2 hours so far ;-) Quote Link to comment Share on other sites More sharing options...
logo64 Posted July 27, 2005 Author Report Share Posted July 27, 2005 Hi Gerald,Are you able to start "sdcc", "gpasm" and "gplink" from the command line?Yes - my paths are correct. I found some info online that indicates many batch commands from NT/XP/2000 are incompatible with old DOS based machines. Example - in the clean.bat fileif exist _output del /s /q _outputMy DOS version 8.0 doesn't support the /q switch. Don't know why, but it doesn't.I'll keep plugging away at modifying make.bat so that it works.However, today I wrote some low-level AOUT functions for the C wrapper, it works very well and especially very fast (because they are assembly optimized ;-))I've also prepared some small C programming examples which demonstrate the possibilities:forward/processing incoming MIDI events to AOUTsforward/processing AIN values to AOUTsgenerate waveforms at the AOUTs (AOUT = f(t))transform incoming waveforms to new waveforms (AOUT = f(x))set gate outputs depending on AIN levelshope that this gives enough inspirations - once I find the time to write some documentation, I will release it (maybe tomorrow if nothing else happens)With this set of examples, you have covered just about everything on my wish-list! Not only that, but I have always been a wannabe programmer - I can modify examples much much faster than I can program from scratch. So, armed with these examples, I'm going to have a great time. Let us know when they're posted!Thanks much!-gerald Quote Link to comment Share on other sites More sharing options...
logo64 Posted July 27, 2005 Author Report Share Posted July 27, 2005 I think I found the major problem with the batch file syntax.Commands likeset SDCC_DEFINES=-DDEBUG_MODE=0make DOS 8.0 throw up - it doesn't like the second = sign. I can't think of a way around this - I may end up having to type everything in by hand at the command line.-gerald Quote Link to comment Share on other sites More sharing options...
TK. Posted July 27, 2005 Report Share Posted July 27, 2005 Hi Gerald,does it work better with following line:set SDCC_DEFINES="-DDEBUG_MODE=0"similar things have to be done in tools\make_sub.batIf this doesn't help, then it's maybe better when I'm writing some kind of makefile generator, which doesn't get use of such special tricksThe Analog Toolbox is now released, the description can be found here: http://69.56.171.55/~midibox/forum/index.php?topic=5080.0Best 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.