Jump to content

Triffki

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by Triffki

  1. It was originally just a project I did as part of my degree, but the onus has since shifted into turning it into a sellable product. However I'm finding it hard at the moment to see it developing to that stage.

     

    Just checked out the H9, looks like a pretty impressive piece of kit; the only advantage I can see in my device is the reduced cost. The approach to effects processing is also completely different, H9 uses a single highly complex algorithm whereas mine you build upwards from blocks of simpler effects. I guess from most musicians point of view it is more convenient just to have a single algorithm doing everything straight away rather than having to worry about assembling effects manually

  2. Hello,

     

    A few years ago I cobbled together a custom MIDI-box using materials and expertise provided by this community. It was a great learning experience for me, and got me thinking about the sheer potential of projects in this area. 

     

    I got my Electronics degree last year and have since been weighing up my options for the future. Luckily I received a grant from my University to carry on research into a device I was working on for one of my courses, and just recently I've managed to build a working prototype to demonstrate the concept (photo attached).

     

    The device is essentially a single channel effects box with onboard DSP and a bluetooth chip to enable parameter adjustment via a smartphone app, which I have also made. Part of the inspiration for the device came from my experiences as an avid DAW user. In a DAW such as FL Studio, you have access to a highly powerful mixer interface with the ability to add/remove/mix/reorder effects at the click of a button. My device - which I've dubbed "Jamp" - is essentially a single channel of this mixer in hardware form, with the user interface exported to a smartphone.

     

    So far I've managed to implement 5 band parametric EQ and chorus effects on the DSP while keeping the fidelity acceptable (16 bit at 96KHz), and I'm looking to write more very soon. So far I've only really spoken to guitarists for feedback, so the effects I've included in the roster are tuned accordingly (distortion, compressor, wah-wah etc). I'm utilising a general purpose micro controller rather than a dedicated DSP or FPGA chip as the core, in the hopes of keeping cost and power requirements down. 

     

    Before I put any serious time into further development, I need to get some views from the wider community to help tailor the design appropriately. I am also hoping to source some collaboration with technical aspects of the project, since I'm just running a one man show at the moment. Although I'm learning a lot with regards PCBs/C++/Java I'm also conscious  that my workflows may not be that efficient.

     

    So, I was wondering if you any of you guys would be willing to give some input to the project? Is this something you could see yourselves or others using in a live setting or otherwise? Do you know of any other communities that may be interested in such a device?

     

    I'm willing to answer questions you may have about the device itself, but forgive me if I don't go into too much detail regarding some of the technicals. Thanks in advance for your feedback.

    post-10107-0-54081700-1432829276_thumb.j

  3. Hi all,

     

    I'm trying to configure my MIDIbox to work with FL Studio, and so far I've successfully mapped outputs from the box to control knobs and switches in FL. However, I haven't had any luck in sending feedback to the box to trigger LEDs to light up.

     

    FL has a plugin called 'MIDI out' which allows you to send CC, RPN or NRPN bytes to an external MIDI device. My firmware has only been configured to switch LEDs in response to note events. Does anyone have any suggestions how I can take CC, RPN or NRPN bytes being sent from FL and translate them into note events so the LEDs light up on my MIDIbox?

     

    Ideally, I'd like to configure FL so it sends out a separate CC for each LED (on channel 2, as 1 is used for my pots and encoders). A CC value of 0 would turn off the LED, while 127 would turn it on.

     

    Thanks

  4. I get a similar error, but I'm using MIOS8. Here is the top of my main.c:

    /*

    * MIOS SDCC Wrapper + ACSIM + Code::Blocks

    *

    * ==========================================================================

    *

    * Copyright © <year> <name> (<email>)

    * Licensed for personal non-commercial use only.

    * All other rights reserved.

    *

    * ==========================================================================

    */

    #include "main.h"

    #ifndef _DEBUG_C

    #include "cmios.h"

    #include "pic18f452.h"

    #endif

    // absolute values are stored in these arrays

    unsigned char pot_last_value[64];

    unsigned char pot_active_value[64];

    MIOS_ENC_TABLE

    {

    // sr pin mode

    MIOS_ENC_ENTRY( 9, 0, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 1

    MIOS_ENC_ENTRY( 9, 2, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 2

    MIOS_ENC_ENTRY( 9, 4, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 3

    MIOS_ENC_ENTRY( 9, 6, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 4

    MIOS_ENC_ENTRY( 10, 0, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 5

    MIOS_ENC_ENTRY( 10, 2, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 6

    MIOS_ENC_ENTRY( 10, 4, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 7

    MIOS_ENC_ENTRY( 10, 6, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 8

    MIOS_ENC_ENTRY( 11, 0, MIOS_ENC_MODE_NON_DETENTED), // V-Pot 9

    MIOS_ENC_EOT

    };

    I get a syntax error which just refers to the first '{' token when trying to build.

    I have altered the Makefile to include -DDONT_INCLUDE_MIOS_ENC_TABLE as well.

    Thanks

  5. Now I get a segmentation fault:

    rm -rf _output/*

    rm -rf _output

    rm -rf *.cod *.map *.lst

    rm -rf *.hex

    mkdir -p _output

    sh /Users/user/Desktop/MIOS/bin/mios-gpasm -c -p p18f452 -I./src -I /Users/user/Desktop/MIOS/include/asm -I /Users/user/Desktop/MIOS/include/share -I /Users/user/Desktop/MIOS/modules/debug_msg -I /Users/user/Desktop/MIOS/modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -DDONT_INCLUDE_MIOS_ENC_TABLE -I /Users/user/Desktop/MIOS/modules/mios_wrapper /Users/user/Desktop/MIOS/modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.o

    /Users/user/Desktop/MIOS/bin/mios-gpasm: line 141: 274 Segmentation fault gpasm $ARGS

    make: *** [_output/mios_wrapper.o] Error 139

  6. ok, so supposing I put those directories in a folder on my desktop called 'blob', would I have to edit the common.mk file like this:

    # if MIOS_SHELL environment variable hasn't been set by the user, set it here

    # Ubuntu users should set it to /bin/bash from external (-> "export MIOS_SHELL /bin/bash")

    MIOS_SHELL ?= sh

    export MIOS_SHELL=Users/user/Desktop/blob

    # output directory

    OUTDIR = _output

    # add default libraries

    LIBS += $(MIOS_PATH)/lib/libsdcc.lib $(MIOS_PATH)/lib/pic$(PROCESSOR).lib

    # GPASM execution via wrapper

    GPASM = $(MIOS_SHELL)/gputils-0.14.3/bin/gpasm -c

    # SDCC execution via wrapper

    SDCC = $(MIOS_SHELL)/sdcc-2.8.0/bin/sdcc -c

    ?

    Do I then have to edit the shell script to this:

    # shell script goes here

    export MIOS_PATH=~/Desktop/MIOS

    PATH=/Desktop/blob:$PATH

    chmod +x /usr/local/bin

    cd $SRCROOT

    make

    exit 0

    ?

    As you may have guessed I'm a bit lost with all this at the moment, but thanks very much for your advice!

  7. Hi,

    I'm using the base package from the bottom of the MIOS8 download page on ucApps. I've added all of these files to a new Xcode project as described here:

    http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_xcode2_as_ide_on_a_mac

    I get a bit confused when it mentions the MAKEFILE.SPEC file as this isn't in the package. Nevertheless, I skipped over this part and went on to set up the application target, and also installed SDCC (version 2.6.0) and GPASM (version 0.13.4 beta) on usr/local/bin. I had to add paths to Makefile and common.mk to get them to compile, and these edited files are attached. Here is the shell script I used to initiate the build in Xcode:

    export MIOS_PATH=~/Desktop/MIOS

    PATH=/usr/local/bin:$PATH

    chmod +x /usr/local/bin

    cd $SRCROOT

    make

    exit 0

    Makefile.rtf

    common.rtf

  8. I get a similar error to this but at address 0:

    rm -rf _output/*

    rm -rf _output

    rm -rf *.cod *.map *.lst

    rm -rf *.hex

    mkdir -p _output

    /usr/local/bin/gpasm -c -p p18f452 -I./src -I /Users/user/Desktop/MIOS/include/asm -I /Users/user/Desktop/MIOS/include/share -I /Users/user/Desktop/MIOS/modules/debug_msg -I /Users/user/Desktop/MIOS/modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -DDONT_INCLUDE_MIOS_ENC_TABLE -I /Users/user/Desktop/MIOS/modules/mios_wrapper /Users/user/Desktop/MIOS/modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.o

    /usr/local/bin/gpasm -c -p p18f452 -I./src -I /Users/user/Desktop/MIOS/include/asm -I /Users/user/Desktop/MIOS/include/share -I /Users/user/Desktop/MIOS/modules/debug_msg -I /Users/user/Desktop/MIOS/modules/app_lcd/dummy -DDEBUG_MODE=0 /Users/user/Desktop/MIOS/modules/app_lcd/dummy/app_lcd.asm -o _output/app_lcd.o

    /usr/local/bin/sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I./src -I /Users/user/Desktop/MIOS/include/c -I /Users/user/Desktop/MIOS/include/share -I /Users/user/Desktop/MIOS/modules/debug_msg -DDEBUG_MODE=0 main.c -o _output/main.o

    /usr/local/bin/gpasm -c -p p18f452 -I./src -I /Users/user/Desktop/MIOS/include/asm -I /Users/user/Desktop/MIOS/include/share -I /Users/user/Desktop/MIOS/modules/debug_msg -I /Users/user/Desktop/MIOS/modules/app_lcd/dummy -DDEBUG_MODE=0 /Users/user/Desktop/MIOS/modules/debug_msg/debug_msg.asm -o _output/debug_msg.o

    gplink -s /Users/user/Desktop/MIOS/etc/lkr/p18f452.lkr -m -o project.hex /Users/user/Desktop/MIOS/lib/libsdcc.lib /Users/user/Desktop/MIOS/lib/pic18f452.lib _output/mios_wrapper.o _output/app_lcd.o _output/main.o _output/debug_msg.o

    error: multiple sections using address 0

    make: *** [project.hex] Error 1

    Any thoughts, suggestions?

  9. Hey only just found this thread. I get the following error when building the skeleton app:

    make: execvp: /usr/local/bin: Permission denied

    Whereabouts in the shell script do I give execution rights to /usr/local/bin?

    It's also worth adding that although I've been following the tutorial on http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_xcode2_as_ide_on_a_mac I've skipped the makefile target phase, partly because there are some discrepancies between versions of the SDCC skeleton. For one, the file MAKEFILE.SPEC does not exist in the newest version.

    Cheers

  10. Thanks for the advice. I've made some progress, managed to get up to the application building stage now.

    I get this error when trying to build: "sh: /mios-gpasm: No such file or directory"

    I've checked that sdcc and gpasm are up and running by typing "sdcc -v" etc. in Terminal. My sdcc is version is 2.6, and gpasm is 0.13.4

    I've also checked the usr/local/bin folder to check gpasm and sdcc are in there, which they are

    Any advice would be appreciated

    I'm running Xcode 3 by the way

×
×
  • Create New...