Loading...
Searching...
No Matches
seqmid.h File Reference

Application interface library for the ALSA driver. More...

Include dependency graph for seqmid.h:

Go to the source code of this file.

## Macros

#define | snd_seq_ev_set_tag(ev, t) ((ev)->tag = (t))
| set the tag for given event
#define | snd_seq_ev_set_dest(ev, c, p) ((ev)->dest.client = (c), (ev)->dest.port = (p))
| set the explicit destination
#define | snd_seq_ev_set_subs(ev)
| set broadcasting to subscribers
#define | snd_seq_ev_set_broadcast(ev)
| set broadcasting to all clients/ports
#define | snd_seq_ev_set_source(ev, p) ((ev)->source.port = (p))
| set the source port
#define | snd_seq_ev_set_direct(ev) ((ev)->queue = SND_SEQ_QUEUE_DIRECT)
| set direct passing mode (without queued)
#define | snd_seq_ev_schedule_tick(ev, q, relative, ttick)
| set tick-scheduling mode on queue
#define | snd_seq_ev_schedule_real(ev, q, relative, rtime)
| set real-time-scheduling mode on queue
#define | snd_seq_ev_set_priority(ev, high_prior)
| set event priority
#define | snd_seq_ev_set_fixed(ev)
| set fixed data
#define | snd_seq_ev_set_variable(ev, datalen, dataptr)
| set variable data
#define | snd_seq_ev_set_varusr(ev, datalen, dataptr)
| set varusr data
#define | snd_seq_ev_set_queue_control(ev, typ, q, val)
| set queue controls
#define | snd_seq_ev_set_queue_start(ev, q) snd_seq_ev_set_queue_control(ev, SND_SEQ_EVENT_START, q, 0)
| set the start queue event
#define | snd_seq_ev_set_queue_stop(ev, q) snd_seq_ev_set_queue_control(ev, SND_SEQ_EVENT_STOP, q, 0)
| set the stop queue event
#define | snd_seq_ev_set_queue_continue(ev, q) snd_seq_ev_set_queue_control(ev, SND_SEQ_EVENT_CONTINUE, q, 0)
| set the stop queue event
#define | snd_seq_ev_set_queue_tempo(ev, q, val) snd_seq_ev_set_queue_control(ev, SND_SEQ_EVENT_TEMPO, q, val)
| set the stop queue event
#define | snd_seq_ev_set_queue_pos_real(ev, q, rtime)
| set the real-time position of a queue
#define | snd_seq_ev_set_queue_pos_tick(ev, q, ttime)
| set the tick-time position of a queue
#define | snd_seq_start_queue(seq, q, ev) snd_seq_control_queue(seq, q, SND_SEQ_EVENT_START, 0, ev)
| start the specified queue
#define | snd_seq_stop_queue(seq, q, ev) snd_seq_control_queue(seq, q, SND_SEQ_EVENT_STOP, 0, ev)
| stop the specified queue
#define | snd_seq_continue_queue(seq, q, ev) snd_seq_control_queue(seq, q, SND_SEQ_EVENT_CONTINUE, 0, ev)
| continue the specified queue
#define | snd_seq_change_queue_tempo(seq, q, tempo, ev) snd_seq_control_queue(seq, q, SND_SEQ_EVENT_TEMPO, tempo, ev)
| change the tempo of the specified queue
#define | snd_seq_ev_set_note(ev, ch, key, vel, dur)
| set note event
#define | snd_seq_ev_set_noteon(ev, ch, key, vel)
| set note-on event
#define | snd_seq_ev_set_noteoff(ev, ch, key, vel)
| set note-off event
#define | snd_seq_ev_set_keypress(ev, ch, key, vel)
| set key-pressure event
#define | snd_seq_ev_set_controller(ev, ch, cc, val)
| set MIDI controller event
#define | snd_seq_ev_set_pgmchange(ev, ch, val)
| set program change event
#define | snd_seq_ev_set_pitchbend(ev, ch, val)
| set pitch-bend event
#define | snd_seq_ev_set_chanpress(ev, ch, val)
| set channel pressure event
#define | snd_seq_ev_set_sysex(ev, datalen, dataptr)
| set sysex event

## Functions

int | snd_seq_control_queue (snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev)
| queue controls - start/stop/continue
int | snd_seq_create_simple_port (snd_seq_t *seq, const char *name, unsigned int caps, unsigned int type)
| create a port - simple version
int | snd_seq_delete_simple_port (snd_seq_t *seq, int port)
| delete the port
int | snd_seq_connect_from (snd_seq_t *seq, int my_port, int src_client, int src_port)
| simple subscription (w/o exclusive & time conversion)
int | snd_seq_connect_to (snd_seq_t *seq, int my_port, int dest_client, int dest_port)
| simple subscription (w/o exclusive & time conversion)
int | snd_seq_disconnect_from (snd_seq_t *seq, int my_port, int src_client, int src_port)
| simple disconnection
int | snd_seq_disconnect_to (snd_seq_t *seq, int my_port, int dest_client, int dest_port)
| simple disconnection
int | snd_seq_set_client_name (snd_seq_t *seq, const char *name)
| set client name
int | snd_seq_set_client_event_filter (snd_seq_t *seq, int event_type)
| add client event filter
int | snd_seq_set_client_midi_version (snd_seq_t *seq, int midi_version)
| set client MIDI protocol version
int | snd_seq_set_client_ump_conversion (snd_seq_t *seq, int enable)
| enable/disable client's automatic conversion of UMP/legacy events
int | snd_seq_set_client_pool_output (snd_seq_t *seq, size_t size)
| change the output pool size of the given client
int | snd_seq_set_client_pool_output_room (snd_seq_t *seq, size_t size)
| change the output room size of the given client
int | snd_seq_set_client_pool_input (snd_seq_t *seq, size_t size)
| change the input pool size of the given client
int | snd_seq_sync_output_queue (snd_seq_t *seq)
| wait until all events are processed
int | snd_seq_parse_address (snd_seq_t *seq, snd_seq_addr_t *addr, const char *str)
| parse the given string and get the sequencer address
int | snd_seq_reset_pool_output (snd_seq_t *seq)
| reset client output pool
int | snd_seq_reset_pool_input (snd_seq_t *seq)
| reset client input pool
int | snd_seq_create_ump_endpoint (snd_seq_t *seq, const snd_ump_endpoint_info_t *info, unsigned int num_groups)
| create a UMP Endpoint for the given sequencer client
int | snd_seq_create_ump_block (snd_seq_t *seq, int blkid, const snd_ump_block_info_t *info)
| create a UMP block for the given sequencer client

## Detailed Description

Application interface library for the ALSA driver.

Author
  Jaroslav Kysela perex.nosp@m.@per.nosp@m.ex.cz
  Abramo Bagnara abram.nosp@m.o@al.nosp@m.sa-pr.nosp@m.ojec.nosp@m.t.org
  Takashi Iwai tiwai.nosp@m.@sus.nosp@m.e.de

Date
  1998-2001

Application interface library for the ALSA driver