Jump to content

Tanstaafl

Members
  • Posts

    268
  • Joined

  • Last visited

    Never

Everything posted by Tanstaafl

  1. it's been something i have folowed for a few years... and seems to work for me.. (the hardware i have on hand)... i have had very good luck with the analog designs of PAIA. I must admit.. I am an old analog guy from the 70's. I guess the difference in this topic is you guys are talking about controlling envelopes...and not vco ? is that right?
  2. in my book... the r2r ladder thing is the best way... but has some caveats. 1. space... (it takes a lot of space) 2. space... (it takes a lot of space) 3. space... (it takes a lot of space) the circuit board would be large...unless we use smd technology smd is a pain in the tuckus (because it's small) I know I sound like a stuck record... but PAIA has done all of this on a 8051 / 8031 it seems to me that MIOS has the horsepower to do all of this stuff. maybe..... a consult with them?(PAIA) to see if they are willing to get this into the diy community? their way of doing D2A conversion is simple and elegant. just my 2 cents worth... gb
  3. I've made some modifications to the schematic (block diagram) for this project http://www.ggbnet.com/MBHP-CV-VHz.html an addition of 2 IC's for latching / triggering. One of these days I'll get how to do assembler, get rid of the extra hardware and just do it with the midiboxCV app. But for the time being this woix :D If anybody has old V/Hz gear they want to drive from MidiBox, message me and I will get real schematics done and posted!! I'll keep you guys posted on progress. gb
  4. did not want to conflict with Thorsten's naming conventions so the page is: http://www.ggbnet.com/MBHP-CV-VHz.html sorry for any confusion. gb
  5. prelim webpage.... http://www.ggbnet.com/midiboxCV.html more info to follow! gb
  6. Now I really feel stupid! :( I have been going about this entire thing the wrong way. ??? All I needed to do on the midibox end was combine MidiBoxCV with J5_Dout this gives me both AOUT and data on J5 to mess with. then I burned a prom that reads the J5 data and converts it into the data my D2A converter needs.... WOOHOO!!! ;D now I can control both V/Hz and V/Oct gear from the same keyboard!!! ;D code modification and circuit design upon request. 8) Thank You Midi Gods of midibox.org for all the input!!!!!!! gb
  7. From a different approach... The AOUT module.... is there a way to make it perform D/A conversion in Exponential mode? by changing R_x, R_y, R_p....? or in code? Since I only have 4 Expo VCO's... I am wondering if I am spending too much time on this.. and should just build Linear VCO's from now on... I have about 10 of these (v/oct) and they work great with the exsisting AOUT/MidiBoxCV application. ... just trying to use up my old gear and make it functional with MBHP. thanks for any and all help (especially to TK.. I know it's not your job to teach me assembler :) ) gb
  8. OK, i've tried various locations in main.asm for the J5_DOUT project none seem to function. Since I don't quite have a handle on assembler yet... that's understandable. below is the location I put the code for the table lookup... USER_MPROC_NotifyFoundEvent ;; forward to J5_DOUT_PinSet function ;; it expects: number of pin (0-7) in WREG ;; value in MIOS_PARAMETER1 ;; store pin number movwf TMP1 ;; set the pin value depending on velocity: ;; - 0x00: set pin to 0V ;; - other values: set pin to 5V movf MIOS_PARAMETER3, W skpz movlw 0x01 movwf TMP2 ;; if the event was a note off event, zero value independent from velocity movf MIOS_PARAMETER1, W andlw 0xf0 xorlw 0x80 skpnz clrf TMP2 ;; finally copy TMP2 to MIOS_PARAMETER1, get pin number and call the J5_DOUT_PinSet function movff TMP2, MIOS_PARAMETER1 movf TMP1, W ;; TABLE_ADDR EXPO_TABLE movf MIOS_PARAMETER1, W ; (contains the note value) TABLE_ADD_W ; add to table pointer tblrd*+ ; read byte from table movf TABLAT, W ; result in TABLAT ;; call J5_DOUT_Set <<< note I am using the byte output function of J5 ;; set status movf TMP1, W ; get AND mask depending on pin number call MIOS_HLP_GetBitANDMask andwf J5_STATUS, F ; AND it with J5_STATUS (means: clear bit entry) movf TMP1, W ; get OR mask depending on pin number call MIOS_HLP_GetBitORMask btfsc MIOS_PARAMETER1, 0 ; set this bit if MIOS_PARAMETER1[0] not cleared iorwf J5_STATUS, F ;; request a display update bsf DISPLAY_UPDATE_REQ, 0 ;; and exit return and here is where I put the table data: at the end of main.asm. ;; -------------------------------------------------------------------------- ;; This function is called by MIOS when a pot has been moved ;; Input: ;; o Pot number in WREG and MIOS_PARAMETER1 ;; o LSB value in MIOS_PARAMETER2 ;; o MSB value in MIOS_PARAMETER3 ;; -------------------------------------------------------------------------- USER_AIN_NotifyChange return ;; should be located at the end of the assembler program EXPO_TABLE db 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 db 0x08, 0x09, 0x0a, 0x0b db 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17 db 0x18, 0x19, 0x1a, 0x1b db 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27 db 0x28, 0x29, 0x2a, 0x2b db 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37 db 0x38, 0x39, 0x3a, 0x3b ;; db 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 db 0x08, 0x09, 0x0a, 0x0b db 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17 db 0x18, 0x19, 0x1a, 0x1b db 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27 db 0x28, 0x29, 0x2a, 0x2b db 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37 db 0x38, 0x39, 0x3a, 0x3b ;; ... 128 bytes (=16 lines) in total db 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 db 0x08, 0x09, 0x0a, 0x0b db 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17 db 0x18, 0x19, 0x1a, 0x1b db 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27 db 0x28, 0x29, 0x2a, 0x2b db 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37 db 0x38, 0x39, 0x3a, 0x3b END I am still a bit unclear as to where the call to lookup the table and change the dout data to the table data should be. with this setup.... I only get pin 1 on J5 to light... the lcd shows normal activity.(activity that happens with the regular J5_DOUT code.) I have placed the code in a couple of other places... and the J5 output is normal for J5_DOUT... J5 outputs 0 to 49 binary (for my 49 key midi keyboard). Which I believe is normal for J5_DOUT app. So i am not reading the table and inserting the values where they need to be.
  9. ok, I am back to midiboxing after a month of realworld work.... i am attempting to integrate the code below....which TK gave me last month: Code: TABLE_ADDR MY_TABLE movf MIOS_PARAMETER1, W ; (contains the note value) TABLE_ADD_W ; add to table pointer tblrd*+ ; read byte from table movf TABLAT, W ; result in TABLAT ;; now you can do what you want with the new value ;; should be located at the end of the assembler program MY_TABLE db 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 ;; ... 128 bytes (=16 lines) in total db 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f my problem is... i have no idea where to stick this code and table.... i was thinking since i'm using j5_dout... that the code bit would go in j5_dout.inc and get executed when there is the call to J5_DOUT_Set..... but not being sure where it would go in order to intercept the value in W...(midi note event, i think) and then look at the table to translate to the correct output on j5 to drive my expo-D/A converter. if anybody can answer the following, i would greatly appreciate it: 1. where does the code go? (which file, and where in the file) 2. where does the table data go? (which file, and where in the file) 3. Don't I need to change something in J5_dout.inc to tell it to call this lookup table conversion? i have placed the code in various files and locations within the files. likewise with the data lookup table.. which i have modified for my particular data needs, and then rebuilt all. the new main.syx file does not crash mios. just depending on where i put the code/data the output is not correct.. sometimes it continues to work in the normal J5_DOUT config.. sometimes the leds don't light. any ideas? thanks in advance ! gb
  10. Ok.. i forgot i did this for illogik a few months ago.... i have a 4 page doc with hacked paia schematics, scott's schematic pcb layout with parts and just pcb for burning ur own board. go look at: http://www.ggbnet.com/VCF-Stuff.pdf hope this helps gb
  11. It is Scott Gravenhorsts filter mod for the fatman , it shows how to use the UNUSED portion of the lm13700 to add another 12db/oct lowpass section. you string these together to get 24db/oct. i just put the fatman filter section on a board, then did these mods. So technically i guess it's 2 fatman filters ready for use with the sid. i have it in photoshop, so yes it is available as a 1:1 pdf. I need to look and see if i have parts placement layers or not.. otherwise it's gonna be a bit confusing. lemme look at that today and get it all put together for you.
  12. I will look at the schematics for the filter input. I am afraid I built my Fatmen in modular form, so all the modules are on individual circuit boards. In my case, that would make it much easier to do what you are wanting. (run the audio out from the MBSID into the filter input?. are you going to control filter modulation with an AOUT?) and I agree with moebius' questions about wanting to hear the fatman at the same time. if you don't then you are going to want to put a switch in there between the oscillator output and the filter input (actually I guess you could use a 3 connector 1/8" jack ... jack in from SID switches out the fatman oscillators... jack out the fatman oscillators are fed into the filter normally) also... the fatman filter is only 12db/octave. Nowhere near what the moog filters sound like(they being 24db/octave). Scott's modifications to add another section to the fatman filter works well for me and I have a stand alone pc board layout if you want to burn one yourself. hope this helps, lemme know if you want to get the pc layout and i will put it on my website. gb
  13. I have all of the parts to build 2 mbsids...however I am leaning towords MidiboxFM it has much greater capabilities. I have built a Fatman.... well technically speaking it's a DIY multi-Fatman. I didn't buy a Fatman from Paia.. just used thier schematics. (Thanks to John S. at PAIA for making the schematics public domain). So, all that having been said.... what is it you are wanting to do with the MBSID/Fatman combo? I feel I can assist with the analog end of the setup.. not too sure about MBSID part tho... gb
  14. to quote Jerry Ciarcia...... (byte, circuit cellar) my favorite programming language... is a soldering iron.
  15. TK ! i'm dying here... just can not get my head around it....
  16. i am so dense!! one last question.... where do i stick this code... which file i mean.... main.asm, j5_dout.inc? again, thanx for all the help ! gb
  17. Thanx again, TK!!!! that looks like what I need. just need to sit down with the bin/hex calculator and come up with my table values! y'know... in a year or two I might just get the hang of this :) Woo Hoo!!! gb
  18. later that same day.... :) ok, i have j5_dout application running... swapped J5_Dout_pinset to j5_dout_set (to get parallel data, and this works...) however.... my D/A converter does not correspond 1:1 with key numbers. i need to be able to tell the program that MT_ENTRY 0x90, 0x24 should output 0000 0000 (the data I need to drive my D/A for C0 on analog gear) and that MT_ENTRY 0x90, 0x30 (one octave up) should output 0000 0001 (the number i need to drive the D/A for C1) i need the upper 4 bits to control the note of the top octave, thus I only need the number 12 to get all 12 tones.... 0000 0000 - C0 0001 0000 - C#0 0010 0000 - D0 0011 0000 - D#0 .... 1011 0000 - B0 then back to 0000 0001 for C1 the lower 4 bits control the octave 0000 0000 C0 0000 0001 C1 0000 0010 C2 0000 0011 C3 hope i am explaining how this works clearly....and that there is a way to get MIOS to do this for me.... gb
  19. y'know... after looking at the website again... it looks like the J5_dout thing might be exactly what I'm looking for. just need to set the midi input event triggers to J5 data out to my D/A in the MIOS_TABLES.inc file..... now if i could just get some input on how that happens. i see the input stuff, but not where it gets mapped to output stuff. thanx in advance... gb
  20. thought i would get started on the programming of this and realized... MIOS does not know what value I need to feed into the D/A converter. my D/A does not provide a sequential map. it's not 1:1 from note event value to D/A input value. i need to use 4 bits for top octave note pickoff and 2 bits for octave select pickoff. do I need an .ini file to load into MIOS once it's running to tell it how to map midi note event values to a 'byte' coming out of the dout circuit? if so.. guess I need to see which commands would be for a dout used the way i am doing here. any examples appreciated !!! gb
  21. AAARRRRGGGGG !!!!!! wouldn't you know it.... it's sunday... parts stores not open.. and i don't have a 74595 !!! >:( oh well, i can burn the pcb for it today... and get one tomorrow. have a GREAT WEEKEND Guys !!!!! gb
  22. Thanx TK !!!! I thought it should be possible... just didn't know where to look... I will get started with this immediatly!!!! thank you, thank you, thank you ;D gb
  23. Howdy!! Back again with more about this project. After looking at using an expo/lin converter (and the associated costs !!), I have decided to do this with hardware on hand. I have a functional D/A converter based on the PAIA V/Hz design in their midiCV8 and Fatman. It uses 4 bits for top octave note voltages, and 2 bits (soon to be at least 3 bit for 5 octave range) for octave range. I have built a circuit based on pic 16f877 that takes a midi in and turns note data from the keyboard into these 6 bits of data to drive the d/a converter. this all works... albeit too slowly for my liking. Could I not simply use a MIOS/dout combination to do the same thing? seems logical to me... but i have not found where i would edit a file to be able to perform the translation from midi/mios/dout module. i am presuming this is possible? as always, any help or suggestions are greatly appreciated. :) gb
  24. looks like this rox!!!
×
×
  • Create New...