Having Tidal MIDI configuration problems
I have a working Tidal Cycles install on Mac OSX 10.11.6. I wanted to add MIDI support
So first I install midi support:
cabal update cabal install tidal-midi
I run this in
ghci to find my device:
import Sound.Tidal.MIDI.Context displayOutputDevices >>= putStrLn
and get this output
id: name 0: SimpleSynth virtual input
so then I do:
devices <- midiDevices m1 <- midiStream devices "SimpleSynth virtual input" 0 synthController
then I run this with a
m1 $ midinote "40 52"
and then I get this error message (which would be much easier if I could cut/paste this from the screen in Atom):
:82:6: error: Couldn't match type `Pattern ParamMap" with Tidal-0.8:Sound.Tidal.Pattern.Pattern tidal-0.8:Sound.Tidal.Stream.ParamMap' Nb : `tidal-0.8:Sound.Tidal.Pattern.Pattern' is defined in `Sound.Tidal.Pattern' in package `tidal-0.8.2' Expected tye : tidal-0.8:Sound.Tidal.Stream.ParamPattern Actual type : ParamPattern
The error continues by deconstructing the command
midinote "40 52" In the second argument of `($)', namely 'midinote "40 52"' In the expression: m1 $ midinote "40 52" In an equation for 'it" : it = m1 $ midinote "40 52"
I looked at the instruction on the GitHub page, and it wants me to do this:
brew install portmidi
I don't have brew installed, so this fails, so I stop here.
The initial error looks like it is getting a fully qualified path to
ParamPattern, but wants to see just
Any guidance on fixing this would be appreciated.