Jump to content


Photo
- - - - -

Analog Toolbox


  • Please log in to reply
35 replies to this topic

#21 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 23 July 2006 - 15:09

Hi,

is it possible to use the analog toolbox with the aout-lc module?



#22 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 24 July 2006 - 10:41

It is, but the aout.c file needs some modifications - an existing application like MBSID or MBCV includes a "template", how to access the AOUT_LC module

Best Regards, Thorsten.


#23 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 24 July 2006 - 10:54

ok, i will see what is possible to do with my knowledge, if that's too complicate i will simply take the mbsid app to generate env and lfo..


also:
i've tested the aout-lc with my cem3378 filter :that's rock!

#24 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 31 July 2006 - 13:55

hi,

i've tried to integrated the asm code from the file Aout_lc of the midiboxCV app into the analog tool box app, then run the "make bat" script.
after that, i've uploaded the application, the cv react right at incoming midi event but when nothing is send to the box, the voltages at my cv out goes up and down in a range of ca. 1v

where i've done something wrong, it's the first time i try to compile C app, have i missed something, or change have to be done in other files of the C app?

#25 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 31 July 2006 - 18:04

it's the compilation that don't work, it stop before the end, there is an error message but the script windows is closed before i can read anything....:(

#26 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 31 July 2006 - 18:26

it's seem that some define are missing...i understand strickly nothing to C...
where i have to put the needed define? in which file?

or here is a way to convert back to assembler the C files? i think i will ghet more chance to success by this way...

#27 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 31 July 2006 - 19:34

now, i've solved a lot of error, but there is still some, here is a way to get a file that report of the error, like in mplab?

#28 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,450 posts
  • LocationGermany

Posted 31 July 2006 - 22:44

When you are starting the "make" file from the command shell, you will see the errors on screen.
In addition, they can be found within the listings, which are located in the _output directory

Best Regards, Thorsten.


#29 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 31 July 2006 - 23:10

i've used "code::block" to compile and now i can see the errors.
i will take the time to learn more about c to understand now what they mean..

#30 audiocommander

audiocommander

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 1,358 posts
  • LocationNuremberg, Germany

Posted 01 August 2006 - 17:24

hi moxi,

the errors should come along with the line and the file
(eg: "undefined symbol _SOMETHING in 'main.c':144")

I often have to look up error codes by myself, if you don't have no reference, just paste the relevant query with quotes to google and in 99% of all cases you get a clue of what's missing instaneously...

defines are just exchangement for the compiler,
eg you could define:
[tt]#define TRUE 1
#define FALSE 0[/tt]
...and then use the words [tt]TRUE[/tt] and [tt]FALSE[/tt] instead of the numbers 1 and 0...

cheers,
Michael

#31 mess

mess

    MIDIbox Addict

  • Programmer
  • PipPip
  • 141 posts
  • LocationBelgium

Posted 18 September 2006 - 21:37

I've made a first attempt to integrate aout_lc

this version supports only one aout_lc module in 12 bit mode
but it shouldn't be to difficult to add more channels or to use the module in 2x8 mode...

I don't have acces to my hardware so the code I can't test the code..


*edit: I have removed the link to my code because moxi's version was better then my own solution

#32 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 19 September 2006 - 08:41

hi,

mess: check your mailbox, i've sent to you the moded app that support the LC module (this work is already done).

#33 mess

mess

    MIDIbox Addict

  • Programmer
  • PipPip
  • 141 posts
  • LocationBelgium

Posted 19 September 2006 - 14:29

Your version seems a lot more elegant then mine
so I have removed my version, thx for sending your app,

I'm going to try this one as soon as possible..

Michaƫl

#34 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 19 September 2006 - 16:43

All the final job have been done by TK and StrydOne...that's have to be said !

#35 creatorlars

creatorlars

    MIDIbox Addict

  • Programmer
  • PipPip
  • 118 posts
  • LocationDenton, TX, USA

Posted 17 January 2008 - 00:54

Did anyone else continue to develop this?  I'd be very interested in making a synth module just for the purpose of having a "MIDI-sync'ed 2xLFO, 1xADSR" for my modular synth... Just a Midi in-point, and rotary switches that would sync the LFO rates to fractions of the MIDI clock sync.

Has anyone implemented anything like this?  Is it possible?

#36 moxi

moxi

    MIDIbox Guru

  • Frequent Writer
  • PipPipPipPip
  • 991 posts
  • Locationfrance

Posted 17 January 2008 - 07:14

I think you can use the MB sid software to do that..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users