RtMidi-0.7.0.0: Haskell wrapper for RtMidi, the lightweight, cross-platform MIDI I/O library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.RtMidi.Report

Description

Utility code to gather MIDI system information.

Synopsis

Documentation

data ApiReport Source #

MIDI system information specific to a particular API.

Constructors

ApiReport 

Instances

Instances details
Generic ApiReport Source # 
Instance details

Defined in Sound.RtMidi.Report

Associated Types

type Rep ApiReport :: Type -> Type #

Show ApiReport Source # 
Instance details

Defined in Sound.RtMidi.Report

NFData ApiReport Source # 
Instance details

Defined in Sound.RtMidi.Report

Methods

rnf :: ApiReport -> () #

Eq ApiReport Source # 
Instance details

Defined in Sound.RtMidi.Report

type Rep ApiReport Source # 
Instance details

Defined in Sound.RtMidi.Report

type Rep ApiReport = D1 ('MetaData "ApiReport" "Sound.RtMidi.Report" "RtMidi-0.7.0.0-1VlS6aMo6PA8QAyCx7TdNZ" 'False) (C1 ('MetaCons "ApiReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiRepApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: S1 ('MetaSel ('Just "apiRepName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :*: (S1 ('MetaSel ('Just "apiRepDisplayName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String) :*: (S1 ('MetaSel ('Just "apiInPorts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Int, String)]) :*: S1 ('MetaSel ('Just "apiOutPorts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Int, String)])))))

data Report Source #

MIDI system information for any number of APIs.

Constructors

Report 

Instances

Instances details
Generic Report Source # 
Instance details

Defined in Sound.RtMidi.Report

Associated Types

type Rep Report :: Type -> Type #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

Show Report Source # 
Instance details

Defined in Sound.RtMidi.Report

NFData Report Source # 
Instance details

Defined in Sound.RtMidi.Report

Methods

rnf :: Report -> () #

Eq Report Source # 
Instance details

Defined in Sound.RtMidi.Report

Methods

(==) :: Report -> Report -> Bool #

(/=) :: Report -> Report -> Bool #

type Rep Report Source # 
Instance details

Defined in Sound.RtMidi.Report

type Rep Report = D1 ('MetaData "Report" "Sound.RtMidi.Report" "RtMidi-0.7.0.0-1VlS6aMo6PA8QAyCx7TdNZ" 'False) (C1 ('MetaCons "Report" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultInApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: (S1 ('MetaSel ('Just "defaultOutApi") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Api) :*: S1 ('MetaSel ('Just "apiReports") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [ApiReport]))))

buildApiReport :: Api -> IO ApiReport Source #

Gather information about the given Api, including port information.

buildCustomReport Source #

Arguments

:: Bool

True to report on default APIs, False to report on all compiled APIs.

-> IO Report 

Variant of buildReport that allows you to restrict it to the default APIs.

buildReport :: IO Report Source #

Gather information about all compiled APIs.