diff options
| author | LLLL Colonq <llll@colonq> | 2024-11-05 02:58:33 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2024-11-05 02:58:33 -0500 |
| commit | cf0070ac5a78d8042fa74d407fb9cb65352e2066 (patch) | |
| tree | 85fb5cee6c7533b7ae6de846ed447772d7b67296 /src/Audio.purs | |
Initial commit
Diffstat (limited to 'src/Audio.purs')
| -rw-r--r-- | src/Audio.purs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Audio.purs b/src/Audio.purs new file mode 100644 index 0000000..8f1f319 --- /dev/null +++ b/src/Audio.purs @@ -0,0 +1,10 @@ +module Audio where + +import Prelude + +import Effect (Effect) +import Effect.Class (class MonadEffect, liftEffect) + +foreign import _playVoice :: Boolean -> Int -> Effect Unit +playVoice :: forall m. MonadEffect m => Boolean -> Int -> m Unit +playVoice b i = liftEffect $ _playVoice b i |
