fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] Some simple questions of Fluidsynth about implying samplers


From: Hak Lin
Subject: [fluid-dev] Some simple questions of Fluidsynth about implying samplers
Date: Thu, 21 May 2020 10:36:57 +0800

Hi Fluidsynth developers,
I'm Hak from HcMusic, Taiwan.
We are making some optical pickups for string instruments(i.e. guitar, violins) to do the midi stuff by installing our product, which is still in the early stage.

We want to make a simple sampler to demo our product. Something like playing an A4 note that will make a dog bark sample. We found that fluidsynth is a great project that helps us to work out with prototyping demo.

We had some problems with implying fluidsynth. We had tried functions like new_fluid_sample(), readDataFromWav(), fluid_sample_set_sound_data(). After that, we thought there should be sample sound when we ran the function fluid_synth_noteon(). But not a noise came out.

Is there some simple example of how to make a simple sampler that just loads a wavefile and assign to a note, and makes a sound when notion().

Below's attachment is a simple code that we tried, there might be plenty of mistaken function calls. Hope this indicates what we had done wrong.

Thanks for your help.

Best regards,
Hak.

--
駭音科技有限公司

Founder/CEO
林季伯
+886 937626316

Attachment: simple_sample.cpp
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]