# alsamidisrc

The alsamidisrc element is an element that fetches ALSA MIDI sequencer events and makes them available to elements understanding audio/x-midi-events in their sink pads.

It can be used to generate notes from a MIDI input device.

## Example launch line

     gst-launch -v alsamidisrc ports=129:0 ! fluiddec ! audioconvert ! autoaudiosink

This pipeline will listen for events from the sequencer device at port 129:0, and generate notes using the fluiddec element.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──GstPushSrc
                            ╰──alsamidisrc

## Factory details

Authors: – Antonio Ospite

Classification: – `Source`

Rank – primary

Plugin – alsa

Package – GStreamer Base Plug-ins

## Pad Templates

### `src`

    audio/x-midi-event:

Presence – always

Direction – src

Object type – GstPad

## Properties

### ports

    “ports” gchararray

Comma separated list of sequencer ports (e.g. client:port,...)

Flags : Read / Write

Default value : NULL

The results of the search are