Jump to content

Phatline

Members
  • Posts

    1,283
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Phatline

  1. From the album: TekkStar (Tama Techstar Midification)

    4 Packages of Resistors: Vel1: 1K Vel2: 2.2K Vel3: 4.7K Vel4: 5.6K 4 Sockets for the hc595s 2x100nf Caps And one PDF from the Orginal DOUTX4
  2. From the album: TekkStar (Tama Techstar Midification)

    I finally find standart Resistors that sound good for my ears: Vel1: 1K Vel2: 2.2K Vel3: 4.7K Vel4: 5.6K
  3. From the album: TekkStar (Tama Techstar Midification)

    One Register = 2xTrigger (with each 4 Velocity stages)
  4. From the album: TekkStar (Tama Techstar Midification)

    Here we go - The Trigger Board A normal DOUTX4 do the job. In Serial I place 5K Trim-Potentiometers to find the correct Voltage, for every of the 4 Velocity Stages (for each Trigger seperat)
  5. From the album: TekkStar (Tama Techstar Midification)

    Here the Backside- on the Right, you can already see the Midi-In-Outs, a Core-Power-Switch- to Reset it, and the PowerConnector (where bevore was a cable)
  6. From the album: TekkStar (Tama Techstar Midification)

    Here is the front of the Techstar, 6 Voices: 4x Analog Toms (where was bad, because of Broken PCB...) 1x Analog Synth 1x Analog Clap
  7. From the album: TekkStar (Tama Techstar Midification)

    The Project starts with an "Tama Techstar 306" The Project is called TekkStar, because this is what i use it for --- Analog Tekkno. A Fully Analog Drum-Expander out of the 80Å› Has Trigger Inputs, and Pad-Inputs - which are Velocity Sensitive. I decidet to take the Pad-Inputs and trigger it with differnt Voltages = Velocitys The Velocity has 4 Stages - 4 Differnt Resisotors on 4 DOUT-Pins... but later more...
  8. you could download it manuall: http://www.ucapps.de/mios/mios_base_v1_1.zip and then do what i have done...
  9. booth. need account, i am in the mood to document my techstar 306 "TekkStar" project :nuke:
  10. that works! you rule - you got an thx2kpete in the TekkStar program :phone: SOLVED
  11. you ask me questions, ... as NEEWBEE, i dont know what wparam and much more other stuff is, i just take TKs enviroment and change it to some Note-Processing, Velocity-Trigger-Output Device - that should trigger a TAMA TECHSTAR 306 (a analog Drumexpander) TK has written this: http://ucapps.de/mios/ain64_din128_dout128_v2c.zip orginally it was meend to stream the POTENTIOMETER VALUE to Midi: ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a pot has been moved ///////////////////////////////////////////////////////////////////////////// void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { // a pot has been moved, send CC#<pin-number> at channel 1 MIOS_MIDI_BeginStream(); MIOS_MIDI_TxBufferPut(0xb0); // CC at channel 1 MIOS_MIDI_TxBufferPut(pin); // pin number corresponds to CC number MIOS_MIDI_TxBufferPut(MIOS_AIN_Pin7bitGet(pin)); // don't send 10bit pin_value, but 7bit value MIOS_MIDI_EndStream(); // notify display handler in DISPLAY_Tick() that AIN value has changed last_ain_pin = pin; app_flags.DISPLAY_UPDATE_REQ = 1; } I dont want stream anything to midi, I want the AIN-PIN as variable in my Program - thats all. To get more resolution, I need 0-255 instead of 0-127 For what that Variable? > in the end to Randomly Gate the Triggerstream --- Note Fall Out. Enough Info? so my adapted working Code is now: (of course 0-127... and not what i want 0-255) ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when a pot has been moved ///////////////////////////////////////////////////////////////////////////// void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { RANDOM = MIOS_AIN_Pin7bitGet(0); VelOff = MIOS_AIN_Pin7bitGet(1); NOISE = MIOS_AIN_Pin7bitGet(7); } and I thank you for that... i was trying a lot... i was on the false Train.
  12. THANKS - SOLVED --- @ the End i have a other Question, what if i want to have 0-255 instead of 0-127? Your Tip - work: (RANDOM = VARIABLE) void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {if(pin == 0) {RANDOM = MIOS_AIN_Pin7bitGet(0);} 0-127 ahhh, dont need filtering by pin: void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {RANDOM = MIOS_AIN_Pin7bitGet(0);} 0-127 -----------------------------------------------------what not work--------------------------------------------------------------- void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {if(pin == 0) {RANDOM = pin_value;} 0-255 0-255 0-255 0-255 void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {RANDOM = MIOS_AIN_PinGet(0);} 0-255 0-255 0-255 0-255 void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {RANDOM = MIOS_AIN_PinGet(0);} error 124: casting from to type 'void' is illegal void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam {RANDOM = MIOS_AIN_PinMSBGet(0);} error 124: casting from to type 'void' is illegal
  13. 8Bit 18f452 Core - SDCC -10K Pot direct connected to J5, rest to GND the Pot give me 4times 0-255 on his travel way (0-255, 0-255, 0-255, 0-255) in main.c i got this settings: What I tried: removing "MIOS_AIN_DeadbandSet(0);" typing "MIOS_AIN_DeadbandSet(7);" "MIOS_AIN_DeadbandSet(14);" "MIOS_AIN_DeadbandSet(0);" "MIOS_AIN_DeadbandSet(1);" also tried this variant of main.c Question is: what Parameter definies this 4x0-255? Is it right that i dont need the deadband set, when i use unmuxed, and short wires?!
  14. ok got it... the search had results TK: 2006 it makes random numbers from 0 - 255 all variables have to defied bevore of course...
  15. MIOS32Bit Core LPC17 © > following Code works: What the code does: The Potentiometer is a Variable > its a Analog Input: Value from 0-255 Gate is a Variable and it Gates a NOTE-STREAM. All Together its a Note-Random-Killer > with the Pot you set the change to be killed... MIOS 8Bit Core 18F452 © > it DOES NOT work, I got following Error: with the MIOS32 bit I dont had to declare nothing... The Quest now: how to program a random that has a predefinied min:0 & max:255 (I am not a C-Geek, Beginner > Detailed Answer would be great > "comparing 2 Registers in Cycles take the Result and..." > I cant perform such of that into code ;) (leider) (the first workaround and try of building an Analog Noise generator to feed into a AIN with an BC549 failed by smoking en up...) THANKS
  16. had done the job!!!!!!!!!! + SDCC 2.8.0 THHHHHHANX und Danke --- ps: had edit the first Post of this topic - of course only for my own I in the future, when have to do that again.... ps2: tama techstar 306 - fired with Mios8 - c - is bouncing its first beats > thx 2 us!
  17. I did the same, i had to manually delete the files, because of manually installing but, hey... it didnt help: after all above I got this:
  18. the mios is untouched and blank from: http://www.ucapps.de/mios/mios_base_v1_1.zip, i dont changed any app or so, i just typed "make" by some sdcc apps, to try it out @ give:
  19. well I dont know why it searches under /bin and not in /usr - no clue really how i did that? - i did what you said, i opened the terminal and typed sdcc --version: this http://www.midibox.org/dokuwiki/doku.php?id=installing_gputils_and_sdcc_on_ubuntu_8.04 sould be changed --- because if you do so like described - it install always the latest version (in my case 3.3.0) - and that may dont work. manually download 2.8.0, unzip anyware, reading the Install.txt, > should do the job Install.txt says: Change to the sdcc directory and copy all files to /usr/local This will install sdcc binaries into: /usr/local/bin/ header files into: /usr/local/share/sdcc/include/ library files into: /usr/local/share/sdcc/lib/ and documentation into: /usr/local/share/sdcc/doc/ You can test the install by entering: should print:
  20. hi, I tried 3.3.0 - dont worked I also tried 2.9.0 - dont worked I also tried 2.8.0 - dont worked - proved: After that i erased all Flags, after then - a other try: (nope) hm
  21. asm works, sdcc not: sdcc version: sdcc 3.3.0+dfsg-1ubuntu1
×
×
  • Create New...