Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,32 @@ see https://github.com/turion/essence-of-live-coding-tutorial/issues/3.
If you know how to fix such an issue, please comment,
and we'll resolve it so you can use graphics on macOS.

A resolution is to use GLFW instead of GLUT:

Execute `cabal configure --constraint 'essence-of-live-coding-tutorial GLFW'` or add the following line to your `cabal.project.local`:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's probably wrong, see #3 (comment)


```
constraints: essence-of-live-coding-tutorial +glfw
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

```

### Sound support

Currently, I only have audio support ready for Linux, PulseAudio, since this is the platform on which I develop.
If you have a different system, we will still be able to get sound working if you know of good Haskell bindings to your sound system.
If that is the case, please open an issue on https://github.com/turion/essence-of-live-coding/issues so we can prepare a sound backend before the tutorial.

Either way, the tutorial will focus mainly on video, and only add further backends as time permits.

You will want to switch off the PulseAudio backend,
which you can do with this command:

```cabal configure --constraint 'essence-of-live-coding-tutorial -pulse'```

Else, you can add the following line to your `cabal.project.local`:

```
constraints: essence-of-live-coding-tutorial -pulse
```

The parts of the code in `Main.hs` referring to PulseAudio won't compile anymore,
and you will need to comment them.