Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data C'fluid_settings_t = C'fluid_settings_t
- data C'fluid_synth_t = C'fluid_synth_t
- data C'fluid_audio_driver_t = C'fluid_audio_driver_t
- c'new_fluid_settings :: IO (Ptr C'fluid_settings_t)
- c'delete_fluid_settings :: Ptr C'fluid_settings_t -> IO ()
- p'new_fluid_settings :: FunPtr (IO (Ptr C'fluid_settings_t))
- c'fluid_settings_setstr :: Ptr C'fluid_settings_t -> CString -> CString -> IO CInt
- p'delete_fluid_settings :: FunPtr (Ptr C'fluid_settings_t -> IO ())
- c'fluid_settings_setint :: Ptr C'fluid_settings_t -> CString -> CInt -> IO CInt
- c'fluid_settings_setnum :: Ptr C'fluid_settings_t -> CString -> CDouble -> IO CInt
- p'fluid_settings_setstr :: FunPtr (Ptr C'fluid_settings_t -> CString -> CString -> IO CInt)
- p'fluid_settings_setint :: FunPtr (Ptr C'fluid_settings_t -> CString -> CInt -> IO CInt)
- c'new_fluid_synth :: Ptr C'fluid_settings_t -> IO (Ptr C'fluid_synth_t)
- p'fluid_settings_setnum :: FunPtr (Ptr C'fluid_settings_t -> CString -> CDouble -> IO CInt)
- c'delete_fluid_synth :: Ptr C'fluid_synth_t -> IO ()
- p'new_fluid_synth :: FunPtr (Ptr C'fluid_settings_t -> IO (Ptr C'fluid_synth_t))
- p'delete_fluid_synth :: FunPtr (Ptr C'fluid_synth_t -> IO ())
- c'new_fluid_audio_driver :: Ptr C'fluid_settings_t -> Ptr C'fluid_synth_t -> IO (Ptr C'fluid_audio_driver_t)
- c'delete_fluid_audio_driver :: Ptr C'fluid_audio_driver_t -> IO ()
- p'new_fluid_audio_driver :: FunPtr (Ptr C'fluid_settings_t -> Ptr C'fluid_synth_t -> IO (Ptr C'fluid_audio_driver_t))
- p'delete_fluid_audio_driver :: FunPtr (Ptr C'fluid_audio_driver_t -> IO ())
- c'fluid_synth_sfload :: Ptr C'fluid_synth_t -> CString -> CInt -> IO CInt
- c'fluid_synth_sfreload :: Ptr C'fluid_synth_t -> CUInt -> IO CInt
- c'fluid_synth_sfunload :: Ptr C'fluid_synth_t -> CInt -> CUInt -> IO CInt
- p'fluid_synth_sfload :: FunPtr (Ptr C'fluid_synth_t -> CString -> CInt -> IO CInt)
- p'fluid_synth_sfreload :: FunPtr (Ptr C'fluid_synth_t -> CUInt -> IO CInt)
- p'fluid_synth_sfunload :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CUInt -> IO CInt)
- c'fluid_synth_noteon :: Ptr C'fluid_synth_t -> CInt -> CInt -> CInt -> IO CInt
- c'fluid_synth_noteoff :: Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt
- c'fluid_synth_pitch_bend :: Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt
- p'fluid_synth_noteon :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CInt -> CInt -> IO CInt)
- p'fluid_synth_noteoff :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt)
- p'fluid_synth_pitch_bend :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt)
- c'FLUID_PANIC :: Num a => a
- c'FLUID_ERR :: Num a => a
- c'FLUID_WARN :: Num a => a
- c'FLUID_DBG :: Num a => a
- type FluidLogFn = CInt -> CString -> Ptr () -> IO ()
- c'fluid_set_log_function :: CInt -> FunPtr FluidLogFn -> Ptr () -> IO (FunPtr FluidLogFn)
- c'fluid_default_log_function :: FluidLogFn
- p'fluid_set_log_function :: FunPtr (CInt -> FunPtr FluidLogFn -> Ptr () -> IO (FunPtr FluidLogFn))
- p'fluid_default_log_function :: FunPtr FluidLogFn
- c'FLUID_FAILED :: Num a => a
- c'FLUID_OK :: Num a => a
Documentation
Settings
c'delete_fluid_settings :: Ptr C'fluid_settings_t -> IO () Source #
c'fluid_settings_setstr :: Ptr C'fluid_settings_t -> CString -> CString -> IO CInt Source #
p'delete_fluid_settings :: FunPtr (Ptr C'fluid_settings_t -> IO ()) Source #
c'fluid_settings_setint :: Ptr C'fluid_settings_t -> CString -> CInt -> IO CInt Source #
c'fluid_settings_setnum :: Ptr C'fluid_settings_t -> CString -> CDouble -> IO CInt Source #
p'fluid_settings_setstr :: FunPtr (Ptr C'fluid_settings_t -> CString -> CString -> IO CInt) Source #
p'fluid_settings_setint :: FunPtr (Ptr C'fluid_settings_t -> CString -> CInt -> IO CInt) Source #
p'fluid_settings_setnum :: FunPtr (Ptr C'fluid_settings_t -> CString -> CDouble -> IO CInt) Source #
c'delete_fluid_synth :: Ptr C'fluid_synth_t -> IO () Source #
p'new_fluid_synth :: FunPtr (Ptr C'fluid_settings_t -> IO (Ptr C'fluid_synth_t)) Source #
p'delete_fluid_synth :: FunPtr (Ptr C'fluid_synth_t -> IO ()) Source #
c'new_fluid_audio_driver :: Ptr C'fluid_settings_t -> Ptr C'fluid_synth_t -> IO (Ptr C'fluid_audio_driver_t) Source #
p'new_fluid_audio_driver :: FunPtr (Ptr C'fluid_settings_t -> Ptr C'fluid_synth_t -> IO (Ptr C'fluid_audio_driver_t)) Source #
SoundFont loading
p'delete_fluid_audio_driver :: FunPtr (Ptr C'fluid_audio_driver_t -> IO ()) Source #
c'fluid_synth_sfload :: Ptr C'fluid_synth_t -> CString -> CInt -> IO CInt Source #
c'fluid_synth_sfreload :: Ptr C'fluid_synth_t -> CUInt -> IO CInt Source #
c'fluid_synth_sfunload :: Ptr C'fluid_synth_t -> CInt -> CUInt -> IO CInt Source #
p'fluid_synth_sfload :: FunPtr (Ptr C'fluid_synth_t -> CString -> CInt -> IO CInt) Source #
p'fluid_synth_sfreload :: FunPtr (Ptr C'fluid_synth_t -> CUInt -> IO CInt) Source #
Playing notes
p'fluid_synth_sfunload :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CUInt -> IO CInt) Source #
c'fluid_synth_noteon :: Ptr C'fluid_synth_t -> CInt -> CInt -> CInt -> IO CInt Source #
c'fluid_synth_noteoff :: Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt Source #
c'fluid_synth_pitch_bend :: Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt Source #
p'fluid_synth_noteoff :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt) Source #
Logging
p'fluid_synth_pitch_bend :: FunPtr (Ptr C'fluid_synth_t -> CInt -> CInt -> IO CInt) Source #
c'FLUID_PANIC :: Num a => a Source #
c'FLUID_ERR :: Num a => a Source #
c'FLUID_WARN :: Num a => a Source #
c'FLUID_DBG :: Num a => a Source #
c'fluid_set_log_function :: CInt -> FunPtr FluidLogFn -> Ptr () -> IO (FunPtr FluidLogFn) Source #
p'fluid_set_log_function :: FunPtr (CInt -> FunPtr FluidLogFn -> Ptr () -> IO (FunPtr FluidLogFn)) Source #
Error codes
c'FLUID_FAILED :: Num a => a Source #
c'FLUID_OK :: Num a => a Source #