NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Macros with a Behringer FCB1010 MIDI Pedalboard in macOS (github.com)
rahulmax 21 minutes ago [-]
Love this! In the photography community, we had MIDI2LR (MIDI to Lightroom) (https://rsjaffe.github.io/MIDI2LR/)

I used Behringer Xtouch Mini mapped to Lightroom. This allows tactile controls, and also lets you keep your eyes on the photo being edited, instead of the constant back and forth between the controls and the photo.

_kb 3 hours ago [-]
This is like vim pedal (https://github.com/foxweb/vim-pedal) on steroids. I love it.
aguynamedben 3 hours ago [-]
Sir, Emacs pedals came way earlier, we needed to avoid "Emacs pinky"!
ashtuchkin 3 hours ago [-]
Love it! Trying to use it with my nanoPAD2 and it only outputs `note_on` and `note_off` events. Can we bind on these? Example output:

22:56:38.740 note_on channel=1 note=36 velocity=89 [nanoPAD2 PAD]

tristanMatthias 3 hours ago [-]
I have one of these! And I almost made this exact thing myself! Love this thank you. PS would love a little UI for this if there isn't one already
_def 5 hours ago [-]
I always thought using something like this for debugger shortcuts could be fun
aguynamedben 3 hours ago [-]
This would be sick for video game keybinds!
NewJazz 5 hours ago [-]
This is dope. Would love to bring it to linux
tetraodonpuffer 4 hours ago [-]
I have something like this in linux using a novation launchcontrol, it's quite straightforward using aseqdump, say I use the buttons to switch desktops, I have this launched as part of my session and always in background. While developing this I just printed $line to see what aseqdump sent to figure out the regexes

    while IFS=' ' read -r line; do
      if [[ "$line" == *"client"*"Launch Control"\* ]]; then
        device=$(echo "$line" | cut -d' ' -f2)
      fi
    done < <(aconnect -i)

    aseqdump -p ${device::-1} | while IFS=' ' read -r line; do
        if [[ "$line" == *"Note on"* ]]; then
            note=$(echo "$line" | grep -o "note [0-9]*" | cut -d' ' -f2)
            if [ "$note" == "9" ]; then
                wmctrl -s 8
            fi
        elif [[ "$line" == *"Control change"*"127" ]]; then
            note=$(echo "$line" | grep -o "controller [0-9]*" | cut -d' ' -f2)
            if [ "$note" == "114" ]; then
                # some macro
            fi
        fi
    done
wyre 5 hours ago [-]
Repo is 2,500loc, all-in, according to SCC. Should be really easy to point your favorite coding agent at the repo and have it one or two shot something similiar in the language of your choice.
6 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 06:08:25 GMT+0000 (Coordinated Universal Time) with Vercel.