GithubHelp home page GithubHelp logo

osune / midijoystick Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 4.0 100 KB

MidiJoystick is a MIDI client for the Jack Audio Connection Kit on Linux, which lets you use your joystick to emit MIDI commands

License: MIT License

Makefile 1.19% C 33.74% Scheme 65.07%
midi jackaudio jack-audio-connection-kit gambit-scheme

midijoystick's People

Contributors

osune avatar

Stargazers

 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

midijoystick's Issues

Add support for OSC

(this comes from reddit user 'nosepol' in this thread

"For years I've been using SuperCollider's GeneralHID class to generate midi out of various stuff, and I'd love to have something less overkill. Oh and while you're at it add possibility for OSC output :P "

Move from 'legacy' joystick api to 'new' evdev api

MidiJoystick currently uses the old joystick api, which restricts its uses to only joystick like input devices. By moving to the 'new' evdev api MidiJoystick could support Joysticks and any HID inpu device.

Can not compile (Gambit 4.2.x)

$ make all
gsc-script -debug -warnings -verbose -cc-options "-std=c11 -Wall -g -O0"  -ld-options -ljack  -exe -o midijoystick midijack.c joystick.c midijoystick.scm
*** WARNING -- Unknown or improperly placed option: "debug"
*** WARNING -- Unknown or improperly placed option: "warnings"
*** WARNING -- Unknown or improperly placed option: "verbose"
*** WARNING -- Unknown or improperly placed option: "cc-options"
*** WARNING -- Unknown or improperly placed option: "std=c11 -Wall -g -O0"
*** WARNING -- Unknown or improperly placed option: "ld-options"
*** WARNING -- Unknown or improperly placed option: "ljack"
*** WARNING -- Unknown or improperly placed option: "exe"
*** WARNING -- Unknown or improperly placed option: "o"
*** ERROR IN "midijoystick.scm"@1.1 -- Interpreter does not support ##c-declare

Ubuntu 16.04
Gambit v4.2.8

Suggestions?

Compilation on Linux failed: unknown type name ‘sigset_t’

Compilation finished.
gcc  -O1 -g -O2 -ffile-prefix-map=/build/gambc-YYEQDb/gambc-4.9.3=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security   -Wno-unused -Wno-write-strings -Wdisabled-optimization -fwrapv -fno-strict-aliasing -fno-trapping-math -fno-math-errno -fschedule-insns2 -fomit-frame-pointer -fPIC -fno-common -mpc64   -D___SINGLE_HOST  -I"/usr/include" -c -o "midijoystick.o" -std=c11 -Wall -g -O0 midijoystick.c
In file included from midijoystick.c:452:
/usr/include/gambit.h:8493:5: error: unknown type name ‘sigset_t’
 8493 |     ___sigset_type sigset[3]; /* increase if other interrupts are added */
      |     ^~~~~~~~~~~~~~
*** ERROR IN ##main -- target compilation or link failed while compiling "/home/guru/src/MidiJoystick/midijoystick.c"
make: *** [Makefile:5: midijoystick] Error 70

Ubuntu 22.04

reproducible.

Am I missing some #defines?

On/Off CC Messages (e.g. 0x40) don't work with buttons

Hi,
I'm interesting by your projet. I'm newbie on GitHub, I cannot find how contact you but by this issue :-(

I really want to use button to activate some effects in guitarix. I never learn Scheme, so I try some test and I can detect Release button but cannot catch them in your function. In fact, button send 64 (0x40) to MIDI, no 127 (0x7F) like you said in your README.

I deleted all, and starting with a C program (Haaaaaa, so easy).
Some hours after testing, I have a little program. This program is useful for buttons and axes. He is very ugly, specially about configuration.
If you are interresting by, I can send you my C program and .scm modify to print release event.

Bye

Introduce "keywords" (read: functions) in input.conf file

Enhance the configuration syntax with 'keywords' which are scheme functions.

Here two objectives are important:

  1. Readability / Comprehensibility / Edit-ability should be improved at least preserved
  2. Code for parsing configuration should shrink / get less complex

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.