oss_midiloop(7) OSS Devices oss_midiloop(7)NAME
oss_midiloop - Loopback MIDI driver.
DESCRIPTION
The loopback midi driver makes it possible to create special purpose virtual midi devices based on user land server processes.
INTRODUCTION
MIDI loopback devices are like named pipes or pseudo terminals. They are grouped in client and server device pairs. The server side device
must be open before the client side device can be opened.
SERVER SIDE DEVICE
The server side device is used by some special application (such as a software based MIDI synthesizer) to receice MIDI events from the
applications that want to play MIDI.
CLIENT SIDE DEVICE
Client applications such as MIDI players open the client side device when they need to play some MIDI stream (file). The client side device
behaves like any "ordinary" MIDI device. However it cannot be opened when there is no program connected to the server side.
COMPATIBILITY ISSUES
MIDI loopback devices differ from "normal" MIDI devices because an application is needed at the both ends of the loop. The loop device will
return a "Connection reset by peer" error (ECONNRESET) error. Applications designed to be used as loopback based server applications
can/should use this error (returned by read or write) as an end-of-stream indication.
OPTIONS
o midiloop_instances:
Specifies how many loopback client/server MIDI device pairs to be created.
Values: 1-16
Default: 1
KNOWN PROBLEMS
None
FILES
/etc/oss4/conf/oss_midiloop.conf Device configuration file
AUTHOR
4Front Technologies
16 December 2012 oss_midiloop(7)
Check Out this Related Man Page
SMFPLAY(1) BSD General Commands Manual SMFPLAY(1)NAME
smfplay -- play a standard MIDI file
SYNOPSIS
smfplay [-mxy] [-g measure] [-d devname] [-i devname] midifile
DESCRIPTION
The smfplay utility plays a MIDI file. While playing, it can route events from one midi(4) device to another. To stop performance, send an
interrupt signal to smfplay (for instance by pressing control ^C on the terminal). The options are as follows:
-m Use metronome. The metronome will follow tempo changes and time signature changes in the midi file.
-x Synchronise to an external midi(4) device. If the -i flag is used then playback will be synchronised to the input device else it
will be synchronised to the default device.
-y Send midi timing information to the default device. Useful if the output device is a slave MIDI sequencer.
-g measure Start playback at the given measure number.
-d filename Default midi(4) device on which to play the midi file. If not specified, the content of the MIDIDEV environment variable will be
used instead.
-i filename Alternate input midi(4) device. Voice events (notes, controllers, etc) received on the input device will be sent as-is to the
default device. Without this flag, the default device will be used for input.
The smfplay utility is an interface to midish(1). If more specific features are needed, the user may consider using midish(1).
EXAMPLES
The following will play mysong.mid on device /dev/rmidi4 and will use metronome.
$ smfplay -m -d /dev/rmidi4 mysong.mid
SEE ALSO smfrec(1), midish(1), midiplay(1), midi(4)BSD August 22, 2005 BSD
Hi:
I´ve a problem in a 4.1.4.0 AIX server because is generating a loopback in its own ip address and this are consuming all the bandwidth.
I did many things trying to solve the problem but it doesn´t help.
1. Flush Routing tables
2. Get Up/Down Network interface
3. Add/remove Network... (0 Replies)
here is the server and client side code now there is a bug after which the server enters an infinite loop.the server is designed as an echo server and if it reads /q then the server closes while the client can send messages till /q now after the frst msg when another msg is send infinite loop is... (3 Replies)
here is the concept:
the client reads a pathname from the standard input and writes it to pipe1.The server reads this pathname from the pipe1 and tries to open the file for reading.If the server can open the file ,the server responds by reading the file and writting it to pipe2;otherwise the... (2 Replies)
I am developing a simple client-server (TCP) application using QT. The server side is to run on CentOS. I am developing both the server and client programs using Ubuntu.
I am now attempting to deploy an experimental version of the server application on the CentOS server, but I am not yet... (2 Replies)
Hi
My P6 server is with dual vio servers. From the below output we could see that cd devices(cd0 and cd1) has been mapped to the vio client named prdsapfi1.
When we execute "lsdev -Cc cdrom" in prdsapfi1 there are 2 cd devices named cd0 and cd1 showing up in available state.
... (1 Reply)
In MS Windows Media Player, I can open a MIDI file (.mid), and in 'Sound' sub section of control panel, I can direct an external USB device to play it.
I do not seem to be able to find any SIMPLE way to do this in Linux: the Ubuntu Midi info says it is applicable UNLESS you are using external... (2 Replies)
Dear all,
How can I print any variable or string value side by side for each line within a loop? For example I have 300 zeros and I want to get an output like below lines. Each line have to be truncated at the end of the lines ( eg. 80 characters).
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0... (4 Replies)