Jump to content

Phatline

Members
  • Posts

    1,283
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Phatline

  1. 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!
  2. 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.
  3. oh ok, i dont mess around with gerber files - to much work... thougt there would be some eagle, kicad, target project.
  4. 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?
  5. I am in x2
  6. I only write this comment because in my application I also want such an "Feature", I have done this in MaxMsp before, i am far away from a C-Guru, so keep the following as an Idea. In my Setup it would be a footcontroller, because the hands of my Guitar-Synth-arist are on his instrument, so the whole thing would be more a 10 Button+ LED-Matrix-Thing The Feature I will call "always recording mode": you play play play...and after a while you think - YESS that was so great - that was it! at this moment you Press the "REC" Button, from this point it starting Playback the Loop, and of course immideatly Record in a new track (always recording, you know) The thing that you have to interact is now: to find out where the loop Starts, and where it ends Find/Set the Loop Length: When you working in a sequencer Setup, meens there is a drumcomputer out there or what ever trigger > you have to keep it ONBEAT, or OFFBEAT, for that you will have 3 Offset Buttons: +1, +2, +3 Steps But with 1,2,3 Steps you cant offset 10000Steps, you Foot, or your Hand will fall up while your Hairs are gone gray... :phone: So you have to have 2 END-Crop Buttons: Decrease, Encrease Loop-End-Point, and that +-1-Step whise because the end is the point where you regocnized "man that was the loop of my live" so it cant be far away, far away is maybe the Loop-Start-Point, maybe 10000 Steps.... but in most cases you did not now what you played 512 steps ago... (or did you?), so what do we need is to set the Ammount of Steps whe step back So lets start with a predefinied STEP-BACK ammount - maybe 64 Steps, from there we start to go "more" back In order of these we need a 3 more Buttons 1. range-Button" 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, (by pressing it you multiple times you can change the range) that change the Back-Step-Amount, it can be displayed as Numbers in 3x 7Segment LEDs or in a LED-Array 2. Loop-Start-Button-Decrease, step back the loop point with the amout from the "Range Button" 3. Loop-Start-Button-Encrease, step back the loop point with the ammount from the "Range Button" next problem now is that you get bored by waiting again and again to hear THE Loop Point, maybe you have to wait 512 Steps---- ...No you have no time to wait? ok, so when you press one of the Loop-Point Buttons > it, goes to a predefinied Loop Point at the End of the Sequence (predefinied in a way to be in sync, with a predefinied, Beat Mode/Structure, 4/4, 3/8 or what ever - that is what you have to know before) maybe 8 Steps bevore Loop-End-Point. withe the 3 Offset Buttons described above you now make some finetuning... when you have it, press CROP, to shrink it - for now it is stored in one of 4 loop Arrays, with maybe less functionality... More techicly you jam...after a while you think whow hoho that was it - this is the moment you hit "REC" "REC" copy the REC-Variable(Array) into the Temporary-Playback-Variable(Array) and beginn to loop the recorded Sequence from same "REC" then overwrite the REC-Variable-Array with "0" or "128", and begin to write again in the Variable-Array from 0 to 10000. In which Cell it writes defines the counter, which counts from "sequencer-start" message away, in 4/4 or whatever Predefinied structure, the counter is reset to 0 by pressing "REC" but not imideatly - only be the the first Trigger/Beat/1st 16th... a bigger problem comes when you recording near the end of the array maybe 9900, because the counter restarts to 0 by coming to the 10000.....headache :pinch: The Offset things, and the Loop-Point things and the Loop-Range -Things - are simply modifieing the "counter-ranges" ---offbeat-onbeat-offsets, by bewareing the counter from a defied ammount of ticks from the midiclock here in a Matrix dwg.zip
  7. UPDATE 140720: still learning & its not so difficult at all, because of * I already know what I want * I already checked out for Years what Feature is necessery and what not, what has mass effect and what has to be left! * I already programmed it in MAX MSP years ago. https://vimeo.com/101245089 So now whats Working in this Video: * Velocity depinding NoteKill-Switches (kill notes under 46, from 46-96, greater 96, -this values can be Offset -+64 by an VelKillOffset-Encoder) * Velocity Offset -+64 - decrease encrease the Orginal Trigger Velocity Value in a Range from 1-127 --- so it is somewhat of CLIPPING * Random-Note-Kill --- by each new Trigger - a Random generator is startet - and kills the trigger or not... with the Modwheel I change the Random-Range. Challanges for the future (witout any clue up to now): Changeing Notelengths Midiclock-1n % debending doubling midiclocks, half midiclocks, start stop midiclock by beeing a slave(for the Synthesizer build in LFOs...) Output Inital MidiCCs to the BCR2000. Save and Load Presets Morph Presets Values Building a BLM16x16
  8. looks perfect for my project! I am looking for the correct Gerber files, or maybe a prototype pcb, for me it is not clear which are the ones that are working for you. As far I found out, you shrinked Findbuddas Layout (no space between 8 and 9), but whre is your wiki page? thx for more info
  9. UPDATE 140711: -oh yeah first part is running- https://vimeo.com/100537805 TM MBHP-Based-RETriggerpart UART0 IN1 = Korg Electribe Rythm = TriggerSource UART1 IN2 = Midi Keyboard = MelodySource Learned about arrays and matrices...: I have 2 IN-Ports, and when I write Code in: void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package) I always get triggering Events from both ports... thats blow up my code, since I have 2 independend TASKs. 1stTask: Save Melody Notes (UART0) 2ndTask: Trigger out the saved Melodys(UART1) the notify Package is somehow connected to mios32/trunk/programming_models/traditional/main.c - i am afraid if i change something there, it would be replaced by the next mios update...
  10. thx for looking in > code works at google - quick shot, foul etc mentality: i even slept a night over it, printed some array courses to A3-Pack at work, searching google on this todays eveining and so on: i crossed a lession about how to initalze a 2D array... yes at this point only at declaration... http://stackoverflow.com/questions/1688741/initialize-a-2d-array-at-declarationtime-in-the-c-programming-language but here: http://stackoverflow.com/questions/4066522/setting-an-array-to-one-value - so I the idea there is some nice "Reset" or "Blank" function behind Array, but that dont work so my thougt was that there are differences by this uC-C?
  11. I am new in C, but my code works, but to big to slow, time to use matrices and ARRAYS I declare and initalise a array: later I want to write a 0 in all Cells of the Array, e.g: "make" give me e.g. "expected expression before '{' token" also tried: {NteBuf0[] = 0;} {NteBuf0[] = { 0 };} {NteBuf0[10] = { {} };} memset(NteBuf0, 0, 10) {NteBuf0[10] = 0;} make: "warning: array subscript is above array bounds [-Warray-bounds]" and a view others that i dont remember (because of not working in this case) writing them one by on by one.... works of course What do i missed to know?
  12. os ubuntu 14 mius studio 2.4.6 I changed the optocopler - DEAD! I now got midi from: usb midi 4x4 (2) so what I have learnd from this trlial and error session? The LCD now Print 32 for Midi1 and 33 for Midi2 so this is solved thx
  13. 1st port working 3rd port not working checking hardware...
  14. ok first steps on the way to it https://vimeo.com/100044560D GREEN-LEDS: Inpuut Trigger RED-Leds: Output Trigger Buttons+LEDs: at the moment only Toogle the Variables for later Programming Stucking: dont get MidiIn2 on the LPC17 tu run...which i need for the Melody-Part
  15. CORE LPC17 app: modified tutorial 004 I need both Midi Inports on the Core PCB (Midi IN1, Midi IN2) in 1 Application Midi IN1 = UART0 or 32 Midi IN2 = UART3? > I dont get something in there when I run this code: The display connected to the LPC17-Core now show "32" -when I send Data to Midi-IN1, but it dont change when I send Data to Midi-IN2 in the config mios32_config.h I addet this Lines: but that changed nothing I need both UART In-Ports for my TRIGGER-Matrix-Project where is my fault, what do i miss?
  16. :pinch: autsch I thougt that it would apear in the folder project_built & the hex file outside where prebuild after have a look on the others tutorials I see there is no prebuild hexfile in - it ok got it - thankz - phat
  17. I work thru the tutorials that are locatetd in the midibox toolchain. I use ubuntu, when i enter following lines into the linux console: it builds this: what i got is an .bin, elf, file I want to upload that application on my LPC1769 core, with mios studio - but mios studio wants .hex (on the core is up to now a SEQV4 application) do I need some kind of converter? or do I need change something in the "make"-thing - & how to change that.
  18. Thank you for the .bashrec thing :santa: --- eclipse thing is still unsolved I changed your command to: cd /home/wermitgeht/mios32/apps/sequencers/midibox_seq_v4 (dont get trunk, hold hirachy low...) and hit "make" YES it is Working gave mi this: in eclipse i still get some missing Folders/Files when i build: grüße von "nähe Linz" nach München :phone:
  19. -I restardet the laptop- gave me this i also addet the other lines to the .bashrec file (i wrote them at the end of the file after "fi" then I deletet all Variables in eclipse then i build - i become following error:
  20. set grep Path give me this: i found the .bashrc file in /home/wermitgeht (=home/username) I addet in there the string export PATH=$PATH:/home/wermitgeht/mios32/bin at the end of the file: then I restardet the engine still the same problem... in aclipse I ereased then the Path Variable - because it override the system Variables (i read that anywhere) So have to clear this variable in Eclipse? but error is still the same:
  21. > in Linux console - or anywhere in eclipse (eclipse console only show data, i cant write anything in there)? In this Tutorial http://www.midibox.org/dokuwiki/doku.php?id=eclipse is written: my "arm-none-eabi-gcc" is under: /home/wermitgeht/mios32/bin So how to write the Value of Variable "PATH" correct? ${HOME}/mios32/bin:${env_var:PATH} ${HOME}/wermitgeht/mios32/bin:${env_var:PATH} ${HOME/wermitgeht/mios32/bin}:${env_var:PATH} $HOME/wermitgeht/mios32/bin:${env_var:PATH} HOME/wermitgeht/mios32/bin:${env_var:PATH} ${HOME/wermitgeht/mios32/}bin:${env_var:PATH} I dont have a glue - because of not understanding this $ ( ): $ (env_var:Path) thing I dont have to set this in Linux when I set in Eclipse (thats what the Tutorial says)? (I will not set this temporary Thing every time i restart the Laptop, and for set this for "always" i dont have the linux knowledge to do that-as already said) greets phat
  22. command line = console? console says: Kommando nicht gefunden = (command not found) > as I thougt the Path-setting is not right, but I am not able to interpret the Manual that give us a screenshot for windows, TUTORIAL SCREENSHOT from: http://www.midibox.org/dokuwiki/doku.php?id=eclipse like on my very 1st picture my Path is: /home/wermitgeht/mios32 I come from max-msp - so i may know some stractions, may know that $ give us something like a variable --- but I am absulutely new to C for uC and of Course Eclipse.
  23. OS: ubuntu 14.04 LTS (I am the only user who use this Computer... no multiuser needet) DO YOU SEE ANY FAILS ON THE SCREENSHOTS: I put the mios32toolchain to: /home/wermitgeht/mios32 these are the write read rights: in eclipse i set this settings: & this: then I imported the app_skeleton_cpp after right-click on the skeleton - then leftclick on "project build" I got error 127 I gues it has something to do with the PATH -I will defentivly not modyfie the operating system, - because I tryed and I dont get it work - as described in: http://www.midibox.org/dokuwiki/doku.php?id=linux_mios32_toolchain_core after one nigth googling and searching i gave it up... this sentence is definitivly not enough describtion for a newbee. but hey dont need... written in this Tutorial: http://www.midibox.org/dokuwiki/doku.php?id=eclipse up to now hardstuff that everyday when I try to get this run - ends by NOTHING, end by the frustrationt "to not wrote a single code line"... I have tryed it on a windows computer, and also get sucked on this variables, i finally made a Batchfile... in ubuntu i get sucked by trying to do the same (scribt). please take a look on my screenshots - do you see any Fails? do you need more details - what?
  24. good answer :smile: > ok on my way into it. greats phat
  25. touch: so may then tactial again program: i think here and there from anaywhare - help would be enough. no need that someone programm this for me - learning to do it on my own - learning from others - hopefully there are People on this forum that understand that "Mios" May stupid sounding Question about Prgramming - and maybe it was asked frequently: Can I handle this idea of routing triggers and combine it with notes change gatelength kill notes out and so on - by using MIOS by studing learning combining and changing codes from this: http://www.ucapps.de/mios32_c.html or do will go better on things like that http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/6/?lang=de by beginning with basic 8bit mididata and µC-Registers- because of may missing things in mios for that application for that to program I (maybe) not have enougt life time to change on my own - what do you think? whats the learning curve here (max msp was high... and then when i passed to docomentated it took a long while to get into it again ) hardware: the hardware must be built anyway - even when it is "only" to controll my max msp programm with it. you: would be enough to watch in here from time to time - and do what you da > tips > about what ideas cant works or not - what will troubles in your expirience. (eg.8x8 brightness, and so on) greats
×
×
  • Create New...