Jump to content

Phatline

Members
  • Posts

    1,277
  • Joined

  • Last visited

  • Days Won

    71

Posts posted by Phatline

  1. -I restardet the laptop-

     

    gave me this

    wermitgeht@wasmitgeht:~$ export PATH=$PATH:/home/wermitgeht/mios32/bin
    wermitgeht@wasmitgeht:~$ arm-none-eabi-gcc --version
    arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601]
    Copyright © 2012 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    e

     

    
    i also addet the other lines to the .bashrec file (i wrote them at the end of the file after "fi"
    export PATH=$PATH:/home/wermitgeht/mios32/bin
    export MIOS32_PATH=/home/wermitgeht/mios32/
    export MIOS32_BIN_PATH=/home/wermitgeht/mios32/bin
    export MIOS32_GCC_PREFIX=arm-none-eabi
    export MIOS32_FAMILY=LPC17xx
    export MIOS32_PROCESSOR=LPC1769
    export MIOS32_BOARD=MBHP_CORE_LPC17
    export MIOS32_LCD=universal

     

    then I deletet all Variables in eclipse

     

    then i build - i become following error:

     

    18:33:50 **** Incremental Build of configuration Default for project app_skeleton_cpp ****
    make all
    Makefile:53: /programming_models/traditional/programming_model.mk: Datei oder Verzeichnis nicht gefunden
    Makefile:56: /modules/app_lcd//app_lcd.mk: Datei oder Verzeichnis nicht gefunden
    Makefile:60: /include/makefile/common.mk: Datei oder Verzeichnis nicht gefunden
    make: *** Keine Regel, um »/include/makefile/common.mk« zu erstellen.  Schluss.

    18:33:50 Build Finished (took 172ms)
  2. set grep Path give me this:

    wermitgeht@wasmitgeht:~$ set | grep PATH
    COMPIZ_BIN_PATH=/usr/bin/
    DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
    MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/wermitgeht/mios32/bin
    XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
    XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
    _=PATH
        local cmd PATH=$PATH:/sbin;
        if [[ -z "${CDPATH:-}" || "$cur" == ?(.)?(.)/* ]]; then
        for i in ${CDPATH//:/'
        PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin type $1 &> /dev/null
        COMPREPLY=($( compgen -W "$( PATH="$PATH:/sbin" lsmod |         awk '{if (NR != 1) print $1}' )" -- "$1" ))
        local PATH=$PATH:/sbin;
        local PATH="$PATH:/sbin:/usr/sbin";
        COMPREPLY+=($( compgen -W         "$( PATH="$PATH:/sbin" lspci -n | awk '{print $3}')" -- "$cur" ))
        local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin;
        COMPREPLY+=($( compgen -W         "$( PATH="$PATH:/sbin" lsusb | awk '{print $6}' )" -- "$cur" ))

     

     

    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:

    ....

        . /etc/bash_completion
      fi
    fi

    export PATH=$PATH:/home/wermitgeht/mios32/bin

    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?

    post-20788-0-25474100-1404057423_thumb.j

     

    but error is still the same:

    18:08:35 **** Build of configuration Default for project app_skeleton_cpp ****
    make all
    rm -f project.hex
    Creating object file for main.c
    make: arm-none-eabi-gcc: Kommando nicht gefunden
    make: *** [project_build//home/wermitgeht/mios32/programming_models/traditional/main.o] Fehler 127

    18:08:35 Build Finished (took 202ms)
  3. $ set | grep PATH

     > 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:

    For Linux, add a variable 'PATH'

    ${HOME}/mios32_toolchain/bin:${env_var:PATH}

    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

     

    linux box and set the PATH

    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

  4. command line = console?

     

    console says:

     

    12:42:36 **** Build of configuration Default for project app_skeleton_cpp ****
    make all
    rm -f project.hex
    Creating object file for main.c
    make: arm-none-eabi-gcc: Kommando nicht gefunden
    make: *** [project_build//home/wermitgeht/mios32/programming_models/traditional/main.o] Fehler 127

    12:42:36 Build Finished (took 173ms)

     

    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

    post-20788-0-47920600-1404039170_thumb.j

     

    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.

     

  5. 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

    post-20788-0-03528400-1403995761_thumb.j

    these are the write read rights:

    post-20788-0-83680000-1403996371_thumb.j

     

     

    in eclipse i set this settings:

    post-20788-0-32593800-1403995875_thumb.j

    & this:

    post-20788-0-04208900-1403995966_thumb.j

     

    then I imported the app_skeleton_cpp

    post-20788-0-16913600-1403996472_thumb.j

     

    after right-click on the skeleton - then leftclick on "project build"

    I got error 127

    post-20788-0-16937000-1403996676_thumb.j

     

     

    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

    You can add these lines to your ~/.profile file to ensure that they are always set, the editor pico (or nano) is a fairly simple text editor but you may have your favourite.

    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

    You can define Environment variables that will only be used by Eclipse. You can use this feature instead of modifying the operating system environment variables. To define Environment variables, select C/C++→Build→Environment in the 'Preferences' window and click the 'Add' button on the right. These environment variables will automatically apply to all projects in the workspace, and you can override them on a per-project basis by modifying the projects' configurations.

    .....

    ${HOME}/mios32_toolchain/bin:${env_var:PATH}

     

    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?

  6. 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

  7. Buttons and PCBs for the "Matrix":

    2 PCBs - 1x for LED 1x for Buttons > Reasons why:

    -to get all Routies on a Single Sided Board (Garage-CNC Friendly)

    -to replace the whole Button board if they buttons are going "dead" > resolder them is horror...

     

    the livetime of the cheap Tactial-Switches is short, but when I do LEDs and Buttons on seperate boards, i could change the whole button board when its "done"

    post-20788-0-63273800-1403527319_thumb.p

    Maybe I find any with better lifetime-cycles

     

    "Dead Solutions"

    by the search off different button-systems, i tried a layout for my DTL Switches:

    post-20788-0-08563500-1403527128_thumb.p

    but it´s to big and not a SQUARE-because the buttons are not SQUARE....I had byed 300 of them years ago in a even bigger Bulk-Order.... --- but for this Matrix? nope! for a nother one.

     

    is such a matrix also possible with "touch sensors" like shown in this diagram: http://www.ucapps.de/mbhp/mbhp_din_touchsensors.pdf ?

    post-20788-0-14288000-1403526994_thumb.j

  8. is there a possibility to change the Note/Frequency Calculation? Change to a indian System where the Octave is splited in 22 Tones, where the notes and its frequencys are stored in tables - not all of the 22notes are used, some are taken for a song - this selection is for playing a "Raga"...

    In which part of the Application is this Calculation, and where I could put tables instead (note 1 is predefinied frequency > variable > integer...)

  9. THE MATRIX PART:

    post-20788-0-25550600-1402778287_thumb.j

    First i will build the matrix, because its the main function of this, & without any hardware to get into Program is boring --- so build the hardware

    in order to get a 10x10 Matrix i need 2x mbhp dio_Matrix_modules?

     

    --- i have troubles with this shemata: http://www.ucapps.de/midio128/midio128_v3_dio_scanmatrix.pdf

    > is it wright that the diodes that are shown are 1n4148 & not LEDs

    > so the leds get driven by a seperat DOUT module? in a way of "LEDRING" > http://www.ucapps.de/mbhp/mbhp_doutx4_ledrings.pdf?

  10. i have made a wiki for this: http://wiki.midibox.org/doku.php?id=triggermatrix

    You have spend time to program a cool rythm, and you already know which chords/melodys you want to play, and now its time to programm the timing/steps/the rythm in the melody... after quite a while of trying and looking on your drumline you have a fitting melody line for your drums...

    now you change the drums a bit... o no i also have to change the melody now... i make a break, a intro...oh no so much work and time...and all because, the melody is fixed in arrangement,

    you want a melody line that goes with beat? you want to change the beat note stream also (noteprocessing)? > read more... i have a tool for you!!! it will change your live!!! really!

    hear that track: Phatline -the king will go it is played with a static drumline, and a static melody line, all other is live... you hear it? thats trigger matrix - get ready for JAM!

     

    Basic Idea:

    Merge a Drumsequencer with a Melodysequence

    so the melody only sounds when a specific Drumtrigger comes > like a arpeggiator on a keyboard, but not fixed > trigger relativ and doe that changing with the drumline

    The Drumsequenc give the timing the velocity and the Sustain > the tribe.

    The Melody only give the chord notes.,

    instead of a drumsequencer you could use a human drummer with triggerpads,

    instead of melodysequencer you could play a keyboard, a guitar synth, a flute controller, a theremin... how ever - you get it? awsome is?t it? yeah!

    of course there is not only the melody output, of course also the trigger output for more Drum-synth modules... so you drive your whole setup with that, also a Programchange for 16 Midichannels is integrated as well 512 Songs (routings) with each 8 songparts (intro outro break), i have tried chordsets, but i dont found it usefull, also it consume more CPU and RAM... with the LPC uController i use all of it with 5 Melody tracks(with 128 chord notes) and 3 Drumtracks...

    so back to a drumsequencer, you should use some playable, realtime changeable drumsequencer, or you use the functions of the triggermatrix > note processing!

    track rolls, main rolls, velocity depending trigger kills, velocity offset, velocity invert, random note kills, matrix routing song presets, sustain length, track mutes, and a whole array off trigger in and output LEDs, and a of course matrix 8x8 up to now, 16x16 at the end off 2015 - so the plan (build for the 16x16BLM...)

    so i can say all is done up to now, go ahead with 16x16

    post-20788-0-16128600-1402086676_thumb.j

     

    Growing Details > TriggerMatrix for Drummachines

    post-20788-0-49832900-1402109695_thumb.j

    post-20788-0-39499600-1402252428_thumb.j

    Triggermatrix built in a analog 70s E-Home organ "CRUMAR 198":

     

    or as Drum-Trigger-Matrix built in a 80s Analog Drumexpander "Tama Techstar 306"

     

    a talk about making live music, and what the trigger matrix do for me (german > austrian):

    Drumnote retriggert Synthnotes:

    https://vimeo.com/98954975
    (For that i have more ideas like Note-Random-Kill, Velocity Kill, Accent)

    UPDATE 140720:

    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

     

    UPDATE 140711:

    https://vimeo.com/100537805

    TM MBHP-Based-RETriggerpart

    UART0 IN1 = Korg Electribe Rythm = TriggerSource

    UART1 IN2 = Midi Keyboard = MelodySource

    GREEN-LEDS: Input Trigger

    RED-Leds: Output Trigger

    Buttons+LEDs: select the triggersource=triggernote

    • Like 1
×
×
  • Create New...