hpfmn's blog

Weekly status update May 23rd to May 29th

8 years ago • 3 comments

Hi,
I'm already doing quite some blogging but I think having a short week summary is actually a good idea to see if I'm on track and have a short overview what is going on without too much detail.

The week started with a very technical blog post about volume in Fluidsynth. There was some good conversation with lasconic and churchorganist. I think I'm quite sure which road I'll take to have good (de)crescendo. I'll focus on CC11 over velocity

Read more

Volume in Fluidsynth

8 years ago • 11 comments

Hello,
in this blog post I want to write about how the volume is calculated in Fluidsynth and describe why I think this solution is problematic.

Lets start at Fluidsynth's heart - the write method of a voice. That is the essential part that generates the actual audio. It generates n samples and adds them to the output. This method gets called in a real time context by the main synth process. Lets have a look at the part that

Read more

Status and GSoC Planning!

8 years ago • 7 comments

Hi,
some things happened since the last post. So here is a update on what I'm up to. If you don't have so much time please scroll down to the second part (starting with feedback wanted) and leave a comment. I'm very interested in what users thing about my plans for GSoC!

What happened since the last post?

Metric modulation

After Jojo-Schmitz had a look into my very first PR to MuseScore - which is about fixing problems with parts

Read more

First simple approach to CC11

8 years ago • 11 comments

Hello everyone,
first of all thank you for your helpful comments and thanks for all the help and patience from MuseScore people on IRC! You guys rock!

I got a little update on the CC11 (de)crescendo. I thought writing some code would help and will bring me to the actual problems - and so it did. First things first - here is my branch in which I'm working on CC11.

What does CC11 do in SF?

The main "problem"

Read more

Investigate in MuseScore's Fluidsynth

8 years ago • 4 comments

Finding out about the CC11 capability of Fluidsynth in MuseScore is nice. But what would be interesting is - when was it integrated and what happened since then to upstream?

By browsing the musescore-old repository I found that Fluidsynth got integrated with this commit on Feb-13th in 2007. At this time the last commit on fluidsynth side was this one from January 2007.

By looking at the synth.cpp file here and comparing it to this addition in fluidsynth we see

Read more

Progress on fluidsynth - first questions to consider regarding note crescendo

8 years ago • 4 comments

Good news everyone,
today I discovered that MuseScore's internal variant of fluidsynth supports midi CC11 (aka expression pedal). I did this by adding this line to mscore/musescore.cpp:

 void MuseScore::midiCtrlReceived(int controller, int value)
       {
       seq->setController(0, controller, value);
       if (!midiinEnabled())
             return;
       ...

Now every midi CC gets send to the synth (on channel one - have a look at the implementation).

Read more