Alas there is no CsdSco typeclass anymore.
The original idea was to implement score type with
the most basic type and give the user a chance to write converters
and use score playing functionality by the class CsdSco.
But I've noticed that this approach was preventing me from using
advanced score structures (they are implemented in the separate package).
And type signatures become scary for the novice.
So I've settled down the type. It's like choosing between Prelude.List
ListLike.List. I've decided to pick the simplest one.
You can write your own converter to the `Sco` type.
````
```
The `Track` comes from temporal-media package.
It's very easy to construct it from list of events.
One possible solution:
```
type Note = (Double, Double, a)
fromEvents :: [Note] -> Sco a
fromEvents = har . fmap f
where f (start, duration, a) = del (double start) $ str (double duration) $ temp a
```
Notice the need for converting to csound doubles (`D`s). The `har` is parallel composition.
`del` is for delaying nd `str` is for stretching in time domain. `temp` creates an event
that lasts for one seconds and starts right away.
I don't know your type, but I think it can be rendered to a list of notes.
Then you can plug the converter to the functions: `sco` or `atSco` (used for patches).
Cheers,
Anton