tidalcycles / tidal-midi

This package and method of using MIDI in Tidal is obsolete. Please use SuperDirt MIDI instead.
GNU General Public License v3.0
74 stars 36 forks source link

Couldn't match expected type IO a0?? #62

Open kfrncs opened 5 years ago

kfrncs commented 5 years ago

I'm following the "Usage" section of the readme.

I run:

m1 <- midiStream devices "AudioFuse MIDI 1"

and get this:

tidal> Prelude Sound.Tidal.Context Sound.Tidal.MIDI.Context| Prelude Sound.Tidal.Context Sound.Tidal.MIDI.Context| Prelude Sound.Tidal.Context Sound.Tidal.MIDI.Context| :75:7: error: • Couldn't match expected type ‘IO a0’ with actual type ‘Int -> ControllerShape -> IO (ParamPattern -> IO ())’ • Probable cause: ‘midiStream’ is applied to too few arguments In the first argument of ‘GHC.GHCi.ghciStepIO :: forall a. IO a -> IO a’, namely ‘(midiStream devices "AudioFuse MIDI 1")’ In a stmt of an interactive GHCi command: m1 <- GHC.GHCi.ghciStepIO :: forall a. IO a -> IO a (midiStream devices "AudioFuse MIDI 1")

Can't get this working.. Any ideas what's going on?

This is what happens when I display the out devices as per the readme:

0: Midi Through Port-0 2: AudioFuse MIDI 1 4: in0 5: in1 6: in2 7: in3 8: in4 9: in5

Trying to use the AudioFuse. I'm running Linux (Manjaro). Trying other avenues to make sure that it's not just some issue with my MIDI output.