Jump to content

midibox Sid: where to find LFO absolute values


Alkex

Recommended Posts

Hi,

I am planning on customizing my midibox sid and would like to generate various midi signals (ccs, midi notes, clock etc) using the 6 lfos that are built into the Mios_Sid application.

I therefore need to be able to read the 6 lfo values at any time, convert them to 7bit and send them to tx buffer.

Please could someone point me to the 6 variables and need to work on? any ideas on converting them to 7bit (1-127 range)?

Thanks in advance!  :)

Alex

Link to comment
Share on other sites

Hi Alex,

the LFO values are 16bit values, which are stored in a special structure. Without loosing too much words (because I think that the data structure is obvious): with

  movff SID_LFO1_BASE + SID_LFOx_RVALUE_H, WREG

you will copy the high byte of the LFO1 output value into the working register

with "clrc" and "rrf WREG, W" you can shift it to the right in order to get a 7bit value, which could be transmitted via CC

Best Regards, Thorsten.

Link to comment
Share on other sites

Hi Thorsten,

I'm proud to have a bit of my brain built into your excelent SID project  :D

I use the feature to animated 8 leds in a horizontal "night rider"  style to indicate the selected lfo rates.

My midibox Sid has a modular approach with software handled patch sockets to simulate connections between voices, lfos, enveloppes etc using patch leads.

I still have some bodywork to finish (lcd, pitchbender), and some software handlers to optimize but here's a preview:

octo1.jpg

octo2.jpg

octo3.jpg

I really hate having to sit in front of a computer screen to make music, thats why I'm trying to make my midibox synthesizers as independant as possible. This one will eventually have a little amp and speakers so it can be played in a computer-free zone!  ;D

thanks again for making our beloved projects a reality!

Best,

Alkex

Link to comment
Share on other sites

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...