Jump to content

Phatline

Members
  • Posts

    1,279
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by Phatline

  1. 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
  2. From the album: TekkStar (Tama Techstar Midification)

    One Register = 2xTrigger (with each 4 Velocity stages)
  3. 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)
  4. 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)
  5. 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
  6. 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...
  7. you could download it manuall: http://www.ucapps.de/mios/mios_base_v1_1.zip and then do what i have done...
  8. booth. need account, i am in the mood to document my techstar 306 "TekkStar" project :nuke:
  9. that works! you rule - you got an thx2kpete in the TekkStar program :phone: SOLVED
  10. 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.
  11. 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
  12. 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?!
  13. ok got it... the search had results TK: 2006 it makes random numbers from 0 - 255 all variables have to defied bevore of course...
  14. 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
  15. 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!
  16. 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:
  17. 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:
  18. 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:
  19. 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
  20. asm works, sdcc not: sdcc version: sdcc 3.3.0+dfsg-1ubuntu1
  21. thx for the try.... i tried "use non free", i got: in /bin are Files only - so no Folder.... but "/usr/share/sdcc" exist --- I dont know what to do with that information!
  22. SOLVED :santa: LINUX - UBUNTU 14 1. Install some Software: open "Terminal" type, and enter/install this: Dont do this: - it would install the latest version (in my case 3.3.0) - and that may dont work. Do this: manually download 2.8.0, unzip anyware, reading the Install.txt: 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 return: 2. add some variables in the file "/etc/enviroment" you have to write the whole path (crimic is my username): click save >>> ooops the file "Enviroment" is "Read only" - no save possible --- so 1.1: 1.1 have "write rights" to change the "enviroment" open "terminal" (console, command) tpe "gksudo" > enter > a window with a clear field pop up > type "nautilus" (nautilus is the "explorer"/"filemanagement" of ubuntu) > nautilus now pop up > navigate to /etc/enviroment > add following lines @ the end of the document: This Tutorial say...<Forget this Tutorial it's outdatet! 1.2 Proove if you do right: open "terminal" type now it prints: well done! 3. Download toolchain well not very easy to find, in the tutorial for windows i found that mios_base_v1_1.zip or you do it with: but then you have to change the Mios paths in 1.1! (/mios/trunk...) After download, i renamed the "mios_base_v1_1" folder into "mios" and drop the folder in my USER (deutsch Persönlicher Ordner) - so if you now open "terminal" and you type: this should build/make an application but i get errors: well this path /user/bin is really no such file or directory!!!!! but this exist: of course i would love to simply make a 32bit applicaton, and use the new cores, but i have 10 or more 8bit cores here!!!! I shame to waste them! --- and for my things (triggerbox for techstar ts306) it is really enough.
  23. oh ok, i dont mess around with gerber files - to much work... thougt there would be some eagle, kicad, target project.
  24. bevore christmas would be better i think - holiday time is soldering time... first thougt - it would be easier to change the pcb - is there a link to the files?
×
×
  • Create New...