USB Device - HIDAPI or ?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: USB Device - HIDAPI or ?

Post by PaulDaMacMan » Wed May 12, 2021 3:50 am

capellan wrote:
Tue May 11, 2021 8:21 pm
Great! Thanks a lot again.
Your MIDI Player works great too.
Now, I have to find a way to use
the Analog Sticks to send MIDI
messages.
Look at the demo stack, it already sends "MIDI" style messages to the FluidSynth LCB extension! Currently the sticks send a FluidSynth pitch changing message, but you could change it to send anything you want. If you're on macOS you could use my CoreMIDI LCB (or the LCB AVAppleSampler or LCB_AudioUnitMusicInstrument ) lib instead. I was planning to map a stick to a WaWa Pedal Effect.

The thing I'm working on now is an LCB version of a "MIDI DataGrid" I made a few years back. It's an X/Y time-line grid, think horizontal "Piano-roll" style grid, like in GarageBand or Cubase. It's actually already working somewhat, saving MIDI (and Wave Files with FluidSynth). I'm trying to iron-out some line-selecting issues, but I plan to make an introduction video soon. The biggest thing slowing me down now (besides Life and a Day Job) is that I'm having too much fun making drum beats!
Screen Shot 2021-05-11 at 10.57.37 PM.png
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: USB Device - HIDAPI or ?

Post by capellan » Wed May 12, 2021 9:28 pm

Wonderfull! :D
Keep up this great work.

Post Reply

Return to “Talking LiveCode”