Giter VIP home page Giter VIP logo

dekrispator's People

Contributors

mrbluexav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dekrispator's Issues

USB MIDI support for other MIDI Controlers

Dear fellows,

I wanted to try out Dekrispator on my STM board, controlling it with my CME MIDI Controller.

I couldn't get any response from the controller. With GDB I could see that it would always give me "unrecognized device".

After some investigation, I found out that my controller has two interface descriptors. The first is some audio interface (maybe to send audio back from a hypothetical usb synth?) and the second is the real midi interface.

So I had to make changes in two places:
1)
.../Dekrispator/USB/usbh_conf.h around line 48

define USBH_MAX_NUM_INTERFACES 1

Then obviously it would not decode my second interface. I just changed it to:

define USBH_MAX_NUM_INTERFACES 2

Now I had to tell Dekrispator to get data from that second interface:
.../Dekrispator/USB/MIDIstream_class/usbh_midi_core.c
In function USBH_MIDI_InterfaceInit, whenever there was a Itf_Desc[0][0], I changed to Itf_Desc[interfaceToUse][0]

interfaceToUse is a constant int = 1.

Next step is making this selection automatic (don't want to mess with the support for the Korg Controller).

I am gonna request to pull after I reorganize my code (and maybe make the interface selection automatic).

Very nice project to work with!

PS. Compiling all in Ubuntu 12.10, running make from the Release dir. Debugging with GDB/Emacs.

Midi CC (continuous control) assignments don't follow the midi standard much.

The midi in control is all working but it could be handled a lot better for the end user, it's laid out as a specification and a lot of the CC messages are assigned specific functions on a synth, this is generally so that you can plug a keybooard into a synth, set the fader to send CC 7 and know that it's going to affect the master volume, or set it to CC 91 and know that you're going to affect the reverb send level etc.

Deskriptor is of course a unique synth, and it has many functions that aren't really in the midi spec but to start off with I propose going through the midi controls and altering them as far as possible to match the midi spec, this would make it way more accessible to a lot of people.

Midi implementation and synth controls resolution.

Forgetting 7bit midi for a second, what is the actual resolution of some of the controls? because it's possible to implement much higher resolution using standard midi messages (pitchbend is 14bit in a 3byte message), and higher with sysex, I'm sure some of the functions could really benefit from higher resolution control (master tempo for instance, or finer granularity on filters?).

I also wonder whether it's worth doing the extra maths for functions that don't use the full range of 0-127? if a function is only going to use values between 0-5 for instance?

I'll take a look and see what I can implement on my fork, it would be really useful to have some kind of spec for the synth though if that's possible?

MIDI send

Hi,

I'am reusing your MIDI USB Host driver. (Good work)

Have you thought about implementing Midi Send ?

I like to use it for controlling the LEDs on the nanoKONTROL.

This might be useful for your project too.

Regards
Sebastian

A wild pointer in usbh_MIDI.c

It seems like a very important line 'MIDI_Handle = phost->pActiveClass->pData;' got commented at the end of line 97 of usbh_MIDI.c, which cause uninitiated variable warnings and a hard fault. Thank you for your work!

EDIT: Sorry, this issue is meant for Dekrispator_v2, my bad. Googled too fast ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.