Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rodrigomoya:pulseaudio
alsa
all_notes_off
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File all_notes_off of Package alsa
#!/bin/bash # # Send an "all notes off" event to all channels of all # MIDI-Devices configured in the System # # Written by Matthias Nagorni, (c) 2001 SuSE GmbH Nuremberg # for d in /dev/snd/midiC?D?; do echo Sending "all notes off" to MIDI device $d cat /usr/lib/all_notes_off.bin > $d done if [ -x /usr/bin/pmidi ]; then echo Can execute pmidi. Fine. plist=$(pmidi -l) for p in $plist; do p1=${p%:0} if [ "$p1" != "$p" ] && [ $p1 -gt 16 ]; then echo Sending "all notes off" to MIDI port $p pmidi -p $p -d 0 /usr/lib/all_notes_off.mid fi done fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor