#include #include module Sound.Fluidsynth.Internal where #strict_import #opaque_t fluid_settings_t #ccall new_fluid_settings , IO (Ptr ) #ccall delete_fluid_settings , Ptr -> IO () #ccall fluid_settings_get_type , Ptr -> CString -> IO CInt #ccall fluid_settings_setstr , Ptr -> CString \ -> CString -> IO CInt #ccall fluid_settings_getstr , Ptr -> CString \ -> Ptr CString -> IO CInt #ccall fluid_settings_setnum , Ptr -> CString \ -> CDouble -> IO CInt #ccall fluid_settings_getnum , Ptr -> CString \ -> Ptr CDouble -> IO CInt #ccall fluid_settings_setint , Ptr -> CString \ -> CInt -> IO CInt #ccall fluid_settings_getint , Ptr -> CString \ -> Ptr CInt -> IO CInt #num FLUID_NO_TYPE #num FLUID_NUM_TYPE #num FLUID_INT_TYPE #num FLUID_STR_TYPE #num FLUID_SET_TYPE #opaque_t fluid_synth_t #ccall new_fluid_synth , Ptr -> IO (Ptr ) #ccall delete_fluid_synth , Ptr -> IO () #ccall fluid_synth_noteon , Ptr -> CInt -> CInt -> CInt \ -> IO CInt #ccall fluid_synth_noteoff , Ptr -> CInt -> CInt -> IO CInt #ccall fluid_synth_cc , Ptr -> CInt -> CInt -> CInt -> IO CInt #ccall fluid_synth_pitch_bend , Ptr -> CInt -> CInt -> IO CInt #ccall fluid_synth_pitch_wheel_sens , Ptr -> CInt -> CInt \ -> IO CInt #ccall fluid_synth_program_change , Ptr -> CInt -> CInt \ -> IO CInt #ccall fluid_synth_bank_select , Ptr -> CInt -> CInt \ -> IO CInt #ccall fluid_synth_sfload , Ptr -> CString -> CInt -> IO CInt #ccall fluid_synth_sfreload , Ptr -> CUInt -> IO CInt #ccall fluid_synth_sfunload , Ptr -> CUInt -> CInt -> IO CInt #opaque_t fluid_audio_driver_t #ccall new_fluid_audio_driver , Ptr \ -> Ptr \ -> IO (Ptr ) #ccall delete_fluid_audio_driver , Ptr -> IO () #opaque_t fluid_player_t #ccall new_fluid_player , Ptr -> IO (Ptr ) #ccall delete_fluid_player , Ptr -> IO () #ccall fluid_player_add , Ptr -> CString -> IO CInt #ccall fluid_player_play , Ptr -> IO CInt #ccall fluid_player_stop , Ptr -> IO CInt #ccall fluid_player_join , Ptr -> IO CInt #opaque_t fluid_event_t #ccall new_fluid_event , IO (Ptr ) #ccall delete_fluid_event , Ptr -> IO () #ccall fluid_event_set_source , Ptr -> CShort -> IO () #ccall fluid_event_set_dest , Ptr -> CShort -> IO () #ccall fluid_event_timer , Ptr -> Ptr () -> IO () #ccall fluid_event_note , Ptr -> CInt -> CShort -> CShort \ -> CUInt -> IO () #ccall fluid_event_noteon , Ptr -> CInt -> CShort -> CShort \ -> IO () #ccall fluid_event_noteoff , Ptr -> CInt -> CShort -> IO () #ccall fluid_event_program_change , Ptr -> CInt -> CShort \ -> IO () #ccall fluid_event_pitch_bend , Ptr -> CInt -> CInt -> IO () #ccall fluid_event_pitch_wheelsens , Ptr -> CInt -> CShort \ -> IO () #ccall fluid_event_volume , Ptr -> CInt -> CShort -> IO () #ccall fluid_event_get_source , Ptr -> CShort #ccall fluid_event_get_dest , Ptr -> CShort #opaque_t fluid_sequencer_t #callback fluid_event_callback_t , \ FunPtr (CUInt -> Ptr -> Ptr \ -> Ptr () -> IO ()) #ccall new_fluid_sequencer , IO (Ptr ) #ccall delete_fluid_sequencer , Ptr -> IO () #ccall fluid_sequencer_register_client , Ptr -> CString \ -> Ptr \ -> Ptr () -> IO CShort #ccall fluid_sequencer_unregister_client , Ptr -> CShort \ -> IO () #ccall fluid_sequencer_count_clients , Ptr -> IO CInt #ccall fluid_sequencer_get_client_id , Ptr -> CInt \ -> IO CShort #ccall fluid_sequencer_get_client_name , Ptr -> CInt \ -> IO CString #ccall fluid_sequencer_client_is_dest , Ptr -> CInt \ -> IO CInt #ccall fluid_sequencer_send_now , Ptr \ -> Ptr -> IO () #ccall fluid_sequencer_send_at , Ptr \ -> Ptr -> CUInt -> Int -> IO () #ccall fluid_sequencer_get_tick , Ptr -> IO CUInt #ccall fluid_sequencer_set_time_scale , Ptr -> CDouble \ -> IO () #ccall fluid_sequencer_get_time_scale , Ptr -> IO CDouble #ccall fluid_sequencer_register_fluidsynth , Ptr \ -> Ptr -> IO CShort