Hi Tommi, > The test case and the soundfont file it uses are attached. I’ve also > included the |.wav| file used to generate the |.sf2| file.
Thanks, but this is unnecessarily (far too) complicated, as it somehow
reproduces tests that are part of libfluidsynth and nyacc themselves.
Also, I use (unit-test) from guile-lib, as you know, which imnsho is
quite superior to sfrfi-64, as it uses goops and therefore is entirely
customizable.
Last, I somehow (very much) doubt you wrote these tests by yourself:
for info, I wont' accept any AI generated code in any of my projects.
Just be a little patient here, I'll write a test suite, a simple test
suite - because there is no need for a complicated one - that covers
what needs to be covered in Guile-Fluisynth, but not 'more'.
All that needs to be tested is the higher level api that
guile-fluidsynth provides - in short, what the example in the manual
proposes - if that works, everything thing works fine, in particular
(but none exhaustive list):
1- can it import the init module
- then it found libfluisynth
- it found the default soundfont file
2- can it make a synthesizer
- then all settings related lower level functions are
running fine, as well as the guilie-fluisynth goops
higher level api
3- can it play a note
dito, the guilie-fluisynth goops higher level api to
play a soiund work fine
I'll ping you as soon as I will have written the test suite.
Thanks,
David
pgpKGcdpxWHhr.pgp
Description: OpenPGP digital signature

