Home
last modified time | relevance | path

Searched full:midi (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dserial-midi.yaml5 $id: http://devicetree.org/schemas/sound/serial-midi.yaml#
8 title: Generic Serial MIDI Interface
14 Generic MIDI interface using a serial device. This denotes that a serial device is
15 dedicated to MIDI communication, either to an external MIDI device through a DIN5
16 or other connector, or to a known hardwired MIDI controller. This device must be a
20 parent serial device. If the standard MIDI baud of 31.25 kBaud is needed
21 (as would be the case if interfacing with arbitrary external MIDI devices),
23 results in the standard MIDI baud rate, and set the 'current-speed' property to 38400 (default)
30 const: serial-midi
33 description: Baudrate to set the serial port to when this MIDI device is opened.
[all …]
/freebsd/usr.bin/mididump/
H A Dmididump.135 .Nd dump MIDI events
43 utility is used to dump MIDI 1.0 events in real-time.
54 argument corresponds to the MIDI device (e.g.
58 .%T Summary of MIDI 1.0 Messages
59 .%U https://midi.org/summary-of-midi-1-0-messages
62 .%T Expanded MIDI 1.0 Messages List (Status Bytes)
63 .%U https://midi.org/expanded-midi-1-0-messages-list
66 .%T Standard MIDI-File Format Spec. 1.1, updated
70 .%T MIDI CC List for Continuous Controllers
71 .%U https://anotherproducer.com/online-tools-for-musicians/midi-cc-list/
/freebsd/sys/dev/sound/pci/
H A Demu10kx-midi.c48 #include <dev/sound/midi/midi.h>
49 #include <dev/sound/midi/mpu401.h>
122 /* We should read MIDI event to unlock card after in emu_midi_card_intr()
125 device_printf(sc->dev, "midi interrupt %08x without interrupt handler, force mread!\n", intr_status); in emu_midi_card_intr()
152 device_set_desc(dev, "EMU10Kx MIDI Interface"); in emu_midi_probe()
172 mtx_init(&scp->mtx, device_get_nameunit(dev), "midi softc", MTX_DEF); in emu_midi_attach()
175 /* SB Live! - only one MIDI device here */ in emu_midi_attach()
183 /* EXTERNAL MIDI (AudigyDrive) */ in emu_midi_attach()
190 /* MIDI h in emu_midi_attach()
[all...]
H A Dcsamidi.c48 #include <dev/sound/midi/midi.h>
49 #include <dev/sound/midi/mpu401.h>
77 int mflags; /* MIDI flags */
147 /* reset the MIDI port */ in csamidi_mwrite()
161 /* put the MIDI databyte in the write port */ in csamidi_mwrite()
193 device_set_desc(dev, "CS461x MIDI"); in midicsa_probe()
226 /* reset the MIDI port */ in midicsa_attach()
228 /* MIDI transmit enable, no interrupt */ in midicsa_attach()
277 "midi",
[all...]
H A Denvy24.h107 #define ENVY24_CCS_IMASK_PMIDI 0x80 /* Primary MIDI */
109 #define ENVY24_CCS_IMASK_SMIDI 0x20 /* Secondary MIDI */
111 #define ENVY24_CCS_IMASK_FM 0x08 /* FM/MIDI trapping */
117 #define ENVY24_CCS_ISTAT_PMIDI 0x80 /* Primary MIDI */
119 #define ENVY24_CCS_ISTAT_SMIDI 0x20 /* Secondary MIDI */
121 #define ENVY24_CCS_ISTAT_FM 0x08 /* FM/MIDI trapping */
134 #define ENVY24_CCS_NMI1_MIDI 0x04 /* MIDI 330h or [PCI_10]h+Ch write */
151 #define ENVY24_CCS_PMIDIDAT 0x0c /* Primary MIDI UART Data Register */
152 #define ENVY24_CCS_PMIDICMD 0x0d /* Primary MIDI UART Command/Status Register */
186 #define ENVY24_CCS_SMIDIDAT 0x1c /* Secondary MIDI UART Data Register */
[all …]
H A Dcsa.c69 device_t midi; /* midi device */ member
70 driver_intr_t* midiintr; /* midi intr */
71 void *midiintr_arg; /* midi intr arg */
282 /* Midi Interface */ in csa_attach()
286 scp->midi = device_add_child(dev, "midi", DEVICE_UNIT_ANY); in csa_attach()
287 device_set_ivars(scp->midi, func); in csa_attach()
H A Demu10kx.c315 device_t midi[2]; member
771 * Enabling IR MIDI messages is another kind of black magic. It just
788 device_printf(sc->dev, "Audigy IR MIDI events enabled.\n"); in emu_enable_ir()
798 device_printf(sc->dev, "SB Live! IR MIDI events enabled.\n"); in emu_enable_ir()
2287 if (sc->midi[0] != NULL) in emu10kx_prepare()
2288 if (device_is_attached(sc->midi[0])) { in emu10kx_prepare()
2289 sbuf_printf(s, "EMU10Kx MIDI Interface\n"); in emu10kx_prepare()
2290 sbuf_printf(s, "\tOn-card connector on %s\n", device_get_nameunit(sc->midi[0])); in emu10kx_prepare()
2292 if (sc->midi[1] != NULL) in emu10kx_prepare()
2293 if (device_is_attached(sc->midi[1])) { in emu10kx_prepare()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dmidi.sh33 cat > /tmp/midi.c <<EOF
86 cc -o /tmp/midi -Wall -Wextra -O2 /tmp/midi.c -lpthread
90 timeout 10 /tmp/midi | strings | head -20
93 rm -f /tmp/midi /tmp/midi.c /tmp/midi.core
/freebsd/contrib/file/magic/Magdir/
H A Dsysex4 # sysex: file(1) magic for MIDI sysex files
8 # https://en.wikipedia.org/wiki/MIDI
11 # MIDI System Exclusive (SysEx) messages (strength=50) after Microsoft Visual C library (strength=7…
16 >>0 use midi-sysex
17 # display information about MIDI System Exclusive (SysEx) messages
18 0 name midi-sysex
20 >1 ubyte x MIDI audio System Exclusive (SysEx) message -
26 # https://www.midi.org/specifications-old/item/manufacturer-id-numbers
27 # https://raw.githubusercontent.com/insolace/MIDI-Sysex-MFG-IDs/master/Sysex%20ID%20Tables/MIDI%20S…
250 # https://www.midi.org/techspecs/manid.php
[all …]
H A Driff282 # RIFF MIDI format
284 >8 string RMID \b, MIDI
386 # Note: called "MIDI Instrument Definition File" by TrID
387 >8 string IDF\ LIST \b, MIDI Instrument Definition File
395 # probably MIDI instrument name like: "Universal-MIDI-Instrument" "instrument name" "General MIDI"
698 >8 string MIDS \b, MIDI Stream
859 # RIFF MIDI format
860 >8 string RMID \b, MIDI
H A Dsharc6 # SHARC DSP, MIDI SysEx and RiscOS filetype definitions added by
/freebsd/share/man/man4/
H A Dsnd_emu10kx.460 for details), and MPU401-compatible MIDI I/O controller, which is accessible
61 through the midi device.
71 Both PCM and MIDI interfaces are available.
74 PCM and two MIDI interfaces available.
84 There is no MIDI support for this card.
277 The MIDI interface is based on the
279 MIDI interface code by
293 The MIDI driver cannot detect the presence of Live!Drive or AudigyDrive
H A Dsnd_uaudio.435 .Nd USB audio and MIDI device driver
54 driver provides support for USB audio class devices and USB MIDI class devices.
/freebsd/sys/dev/sound/midi/
H A Dmidi.c34 * Parts of this file started out as NetBSD: midi.c 1.31
65 #include <dev/sound/midi/midi.h>
68 #include <dev/sound/midi/midiq.h>
70 MALLOC_DEFINE(M_MIDI, "midi buffers", "Midi data allocation area");
237 SYSCTL_NODE(_hw, OID_AUTO, midi, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
238 "Midi driver");
243 /* XXX: should this be moved into debug.midi? */
340 mtx_init(&m->lock, "raw midi", NULL, 0); in midi_init()
341 mtx_init(&m->qlock, "q raw midi", NULL, 0); in midi_init()
382 "midi%d.%d", unit, channel); in midi_init()
[all …]
H A Dmpu_if.m28 #include <dev/sound/midi/midi.h>
H A Dmpu401.c46 #include <dev/sound/midi/mpu401.h>
47 #include <dev/sound/midi/midi.h>
H A Dsequencer.c73 #include <dev/sound/midi/midi.h>
74 #include <dev/sound/midi/midiq.h>
77 #include <dev/sound/midi/sequencer.h>
82 * synthesizer and MIDI output) */
157 "Midi sequencer");
160 /* XXX: should this be moved into debug.midi? */
493 SEQ_DEBUG(2, printf("seq_processevent midi unit not found %d\n", in seq_processevent()
765 * Enumerate the available midi devices in mseq_open()
771 SEQ_DEBUG(2, printf("seq_open: no midi device in mseq_open()
[all...]
H A Dmpufoi_if.m29 #include <dev/sound/midi/mpu401.h>
/freebsd/sys/modules/sound/driver/emu10kx/
H A DMakefile8 # Master, PCM and MIDI devices
11 SRCS+= emu10kx-midi.c
/freebsd/sys/sys/
H A Dsoundcard.h379 short instr_no; /* Midi pgm# */
506 #define PM_GET_NRPGM 2 /* Returns max # of midi programs in parm1 */
507 #define PM_GET_PGMMAP 3 /* Returns map of loaded midi programs in data8 */
583 * Midi controller numbers
587 * In the MIDI 1.0 these controllers are sent using two messages.
590 * are used in MIDI bytes.
652 /* Pseudo controllers (not midi compatible) */
724 #define SYNTH_TYPE_MIDI 2 /* Midi interface */
742 #define SYNTH_CAP_INPUT 0x00000004 /* Input (MIDI) device */
760 * ioctl commands for the /dev/midi##
[all …]
/freebsd/sys/modules/sound/sound/
H A DMakefile5 .PATH: ${SYSDIR}/dev/sound/midi
20 SRCS+= midi.c mpu401.c sequencer.c
/freebsd/sys/dev/sound/pcm/
H A Dsound.c523 * current OSS version, number of audio, MIDI, and mixer drivers, etc.
591 * Need access to sound/midi/midi.c::midistat_lock in order in sound_oss_sysinfo()
593 * MIDI devices. midistat_lock is a global static (i.e., local to in sound_oss_sysinfo()
594 * midi.c), but midi_devices is a regular global; should the mutex in sound_oss_sysinfo()
597 * NB: MIDI/sequencer stuff is currently on hold. in sound_oss_sysinfo()
616 * si->openedmidi = " MIDI devices in sound_oss_sysinfo()
/freebsd/sys/dev/usb/template/
H A Dusb_template_midi.c34 * This file contains the USB template for an USB MIDI Device.
79 #define MIDI_DEFAULT_INTERFACE "MIDI interface"
81 #define MIDI_DEFAULT_PRODUCT "MIDI Test Device"
278 0, "USB MIDI device side template"); in midi_init()
/freebsd/sys/dev/usb/
H A Dusbdevs2938 product LOGILINK U2M 0x0101 LogiLink USB MIDI Cable
4160 product REDOCTANE GHMIDI 0x474b GH MIDI INTERFACE
4178 product ROLAND UM4 0x0002 UM-4 MIDI I/F
4179 product ROLAND SC8850 0x0003 SC-8850 MIDI Synth
4181 product ROLAND UM2 0x0005 UM-2 MIDI I/F
4182 product ROLAND SC8820 0x0007 SC-8820 MIDI Synth
4183 product ROLAND PC300 0x0008 PC-300 MIDI Keyboard
4184 product ROLAND UM1 0x0009 UM-1 MIDI I/F
4185 product ROLAND SK500 0x000b SK-500 MIDI Keyboard
4186 product ROLAND SCD70 0x000c SC-D70 MIDI Synth
[all …]
/freebsd/sys/dev/sound/isa/
H A Dsb.h160 #define BD_F_DUP_MIDI 0x0008 /* duplex midi */
170 #define BD_F_MIDIBUSY 0x0400 /* midi busy */

123