[yoshimi] Web version or yoshimi

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Tue, 8 Oct 2019 21:33:23 +0100

This was sent to me just after I shut up shop last week, and think it is of
general interest :)

###############
Hi Will,
 
i re-ported web yoshimi against the current upstream codebase, and was happy to
see that it required considerably less changes than the initial port i did
about a year ago. You and other contributors have done brilliant work.

noticed couple of dependency related things though which may be of interest to
you. i'm of course not expecting that the upstream codebase should be changed
because of the web port. just something to consider if you plan to make the
dependencies even more loosely connected :) here goes:

FFTwrapper enabled easy replacement for fftw, but the codebase still includes
<fftw3.h> directly in some places. if those includes were replaced with
DSP/FFTwrapper.h, i think that wrapping different FFT libraries would become
more clean.

alsa dependency was behind a compiler directive, but jack was still required.
plugins do not require jack, perhaps there could also be HAVE_JACK to support
plugin development in other platforms ?

Config.h had a hard-coded dependency to Fl toolkit (Fl::awake). i had no
further issues making a headless version, which was very cool. usually UIs are
very much bolted in into codebases.

other than those i simply had to implant couple of #ifdefs to get around the
missing filesystem support in web browsers. for a deep synth such as yoshimi i
think that the port was really easy to make. good stuff.

ps. when you next update yoshimi web page, maybe you can change the link to the
online demo. you'd need to just remove "embed/" from the end of that url in the
main page. the embed version was aimed for, well, embedding the keyboard
directly into a hosting page, and it looks a bit silly when the keyboard just
resides at the hard top-left corner. there's more space in
https://webaudiomodules.org/demos/jariseon/yoshimi/

cheers, and sorry for a long mail
jari
#################

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts:

  • » [yoshimi] Web version or yoshimi - Will Godfrey