Jump to content

bugfight

Frequent Writer
  • Posts

    812
  • Joined

  • Last visited

Posts posted by bugfight

  1. tk's docs describe the mask functions better than i could...

    generally, we are using a mask to determine which bit in a byte to use for a column

    ok, for starters i think this will toggle the blue correctly.  however if you are not using tk's blm example code, i think there may be an issue with the handler being called before blm_button_column being set (i vaguely remember sm_example doing this...)

    also, you may want to switch red and green so the rgb values are in order...

    anywayz you can try and see.

    afterwards, i'll look at the midi handler.

      // enable this code (turn #if 0 into #if 1) if buttons should change the LED colour directly
      // disable it when LEDs should only be controlled via MIDI
    #if 1
      // cycle colour whenever button has been pressed (value == 0)
      if( !value ) {
          mask = MIOS_HLP_GetBitORMask(blm_button_column);
          if ( blm_row_green[blm_button_row] & mask )
          {
               if ( blm_row_red[blm_button_row] & mask )
                     blm_row_blue[blm_button_row] ^= mask; //if red is changing to 0, toggle blue
               blm_row_red[blm_button_row] ^= mask; //if green is changing to 0, toggle red
          }
          blm_row_green[blm_button_row] ^= mask; //green toggles every time
      }
    /*
    &= (Bitwise AND EQUALS) 
    Performs a bitwise AND and sets the original value to the result.
    ^= (Bitwise Exclusive OR EQUALS) 
    Performs a bitwise exclusive OR and sets the original value to the result.
    |= (Bitwise OR EQUALS) 
    Performs a bitwise OR and sets the original value to the result.  
    */
    
    #endif
    

  2. these are just example code for handling button presses and midi events.  you can do whatever you want there. 

    the button handler just toggles thru the 4 possible (for 2 leds) led states.  if you want each button press to toggle thru the 8 possible led states for 3 leds, i can help out there, but i don't have hardware to test...

    the midi handler just uses four ranges of note velocity to light the different led combos, so you would just use 8 velocity ranges instead...

    edit* clarified (hopefully)...

  3. i'm about to make use of the aout w/ seq myself "soon"

    to be clear, you only need 1 analog out to get 32, 64, 128 etc steps

    the voltage at each output will follow steps that are assigned to it.

    most analog seq only have 1, here you already have 8.

    make the mb-seq!

    same goes for gates, btw...

  4. ok, guys, luka is allright.

    let's avoid another dogpile, please.

    and luka, best not to spread 2nd and 3rd hand experiences,

    if you've personally had something go wrong, that's a bit different.

    i've had good deals with hkss, sounds like you have too.

    this has been a touchy subject here before...

  5. ...

    my first problem:  Using the C64 power supply I was unable to get the core to work.  The 5v from the C64 wasn't enough juice to get the core/lcd to work.  I plugged in a 9v wall wort and the core worked fine.  Is this because I used to wrong regulator or something? 

    the 5v from the c64 psu is already regulated, so you don't stuff the 5v reg on the core...

    ...  Is there a software script I need to upload or edit to get these to work?  ...

    nope, just uploading the correct sw will do.

    you may need to edit the setup file for your configuration, if it isn't standard, and recompile...

    The encoder I got has five pins http://www.mouser.com/catalog/specsheets/TW-700201.pdf.  I should have read a little more before I ordered it.  I know I got the ground right, but does it matter what other pins I use?  I just picked two and went with it....

    that is definitely the wrong encoder

  6. i don't think this is impossible, depending on what level of control you want on the mixer/fx, but you may have some missed a few things.  each core in the mb6582 will need an aout and a filter unless you only want it on one pair of sids.  there are actually 8 feedback channels in a fully stuffed mb6582.  and mixing and feedback are essentially the same function...

    my idea is to use the "extra" cv outs for a mix out + feedback on just the sids, mixing of fx etc can be done externally.  i think there is some discussion of this in the "sidlive" thread...

  7. forgot to mention, this was a prototype, wilba graciously allowed me to be a guinea pig.  it may be some time before production pcbs are announced.   (i'll try not to gloat too much *whack*)

    but it is very nice, and there will no doubt be plenty of folks lining up...

    btw, bugging wilba by filling his inbox with requests will no doubt get you shoved to the back of the line.  why not try buying him a beer instead?

  8. here's #00000003 (good thing you left enough digits for the eventual total)

    build was indeed easy*

    i'm liking the layout, but i'm just now learning the mb-seq...

    i've got the blm matrix rocking too, way cool.

    i'm thinking a blm with these same buttons would be pretty cool.

    thanks wilba and tk!

    now we just need some cases...

    *(except for a few erm.... well... mistakes were made, caveat emptor, force majeure, ipso facto, e pluribus unum, etc)

    MB-SEQ_duo_003_sm.JPG

    MB-SEQ_duo_004_sm.JPG

    MB-SEQ_duo_003_sm.JPG

    MB-SEQ_duo_004_sm.JPG

  9. ...But I guess I still can't ground the common to the case?...

    i wouldn't, but it might be difficult to avoid if you use metal jacks...

    Also, if anyone does have a schematic for a bipolar circuit using either two transformers or a center-tap, I'm all ears.

    they're all over the net.

    here's a good one:

    http://www.cgs.synth.net/modules/cgs14_psu.html

    here's one in our own wiki:

    http://www.midibox.org/dokuwiki/doku.php?id=bipolar_12v_psu

    here's a better dual wave circuit:

    http://www.musicfromouterspace.com/analogsynth/WALLWARTSUPPLY/WALLWARTSUPPLY.php

  10. ...it's a Canakit where the middle gnd appears to be one of the AC lines. ...

    i have little doubt that this is the source of your troubles.  it must be that you have the neutral ac line connected to ground in your circuit, which is in turn connected to the shield on your cables.  this is no good in general, and very bad if the outlet wiring has hot and neutral reversed (a common error)

    if so, you should be able to break the connection between the ac side and your circuit ground at the psu...

    and only the earth ac line (not neutral) should ever be connected to the chassis

×
×
  • Create New...