How to get Haskell script to load when a web page loads

85 views Asked by At

I am super new to Haskell and I am trying to learn it by build a web music project.

I successfully installed Euterpea and got the MIDI set up. I wrote a super basic script that imports Euterpea and plays a note.

I now want to put my script onto my hosted site and have it -- for starters -- automatically run when the page is loaded.

How would I start doing this? Do I need to have a Javascript that calls the Haskell script?

And how do I configure a web-based MIDI to interact with my script?

0

There are 0 answers