Page 1 of 2

Synthfont 2 and ASIO crash

Posted: Tue Oct 02, 2018 8:08 pm
by Alan.Dodd
Hello, I just donated and registered SynthFont2.
I will use it to play live with a midi keyboard. My audio interface is a Focusrite Scarlett 6|6 (usb).
With SynthFont 1 all works all right, latency is very good with Focusrite ASIO driver.
With S.f 2 if I enable Focusrite ASIO driver, the program crashes. If I enable Asio4all, it works, but latency is too high (half a second or more).
When S.f 2 crashes, this is the error:
crash.PNG
crash.PNG (16.14 KiB) Viewed 12005 times
Could you help please? I tried sf2 64bit and sf2 32 bit, same issue.
My pc runs windows 7 pro.
Kind regards

Re: Synthfont 2 and ASIO crash

Posted: Thu Oct 04, 2018 5:08 pm
by Admin
Because of changes required in order to support the 64 bit version, ASIO has become unstable. I have myself tested it only with the free ASIO4ALL driver. I recommend using it. Se here: http://www.asio4all.org/

Latency does not seem to be a problem in my case. You can set it in the driver's configuration window. even as low as 128 samples seems to work.

Re: Synthfont 2 and ASIO crash

Posted: Thu Oct 04, 2018 9:23 pm
by Alan.Dodd
Asio4all, as I stated, is no good in this case. Latency is roughly 300 msec, far too much to play live on a keyboard for me.
In fact I bought the scarlett board to have low latency, and using it with its proprietary asio driver latency IS very low.
Do you plan to correct the problem?
For now I am using vstsynthfont64.dll inside VSTHost, and it works with the scarlett driver, latency is very very low indeed.
Regards

Re: Synthfont 2 and ASIO crash

Posted: Fri Oct 05, 2018 7:16 am
by Admin
For the 64 bit version of SynthFont2 I will probably not be able to fix this issue without a copy of the ASIO driver installed - if even then. Could you do me a favor? Tell me how well the previous version (2.0.7.0) of SynthFont2 works with your driver. You can grab a copy of the executable here:
https://www.dropbox.com/s/8p6ythnhdysv4 ... 0.rar?dl=0
If it works, I might consider making use of the old ASIO code in the new 32 bit SynthFont2 and leave the 64 bit on its own for the moment.
If it works, do me a second favor: give this my little piece of software a try:
http://www.synthfont.com/About_SyFonOne.html
SyFonOne takes input from any MIDI source and creates audio data using a SoundFont and pushes it out to a suitable output, for example, your ASIO.
Download: http://www.synthfont.com/SyFonOneSetup.exe

Finally, just tested ASIO4ALL at the lowest level - 64 samples = 1.5 ms. Works well for me. So I can't see how 300 ms (= 13230 samples at 44100 Hz) is the best you can get. Very, very strange - especially when 2048 samples is the largest value ASIO4ALL offers. I don't get it.

Re: Synthfont 2 and ASIO crash

Posted: Sat Oct 06, 2018 9:03 am
by Alan.Dodd
Certainly I will gladly try the options, just give me some time, and i'll pop up when i'm done.
I also ca'nt get it as to why all this latency with asio4all.
I'll try it on another computer, and let you know.
I'll see also if I can send you the asio driver and see if it can be installed without the scarlett card for your testing.
Have a good day

Re: Synthfont 2 and ASIO crash

Posted: Sun Oct 07, 2018 1:19 pm
by Admin
Take your time.

Re: Synthfont 2 and ASIO crash

Posted: Sun Oct 07, 2018 8:29 pm
by Alan.Dodd
1) Synthfont2 2.0.7.0 works perfectly with my driver. And latency is very good.
asio.PNG
asio.PNG (12.18 KiB) Viewed 11973 times
Using Asio4all with SF2 2.0.7.0 latency is as bad as it is with latest version of sf2, but having focusrite driver working, that is not a problem for me.
asio1.PNG
asio1.PNG (30.61 KiB) Viewed 11973 times
If I use asio4all to drive my internal sound card (motherboard high definition audio) latency is much better than asio4all + focusrite scarlett board, but not as good as focusrite asio driver with scarlett board.
2) SynfonOne works perfectly with focusrite asio and scarlett board.
3) Here is the link to download Focusrite control, which installs asio driver:
https://customer.focusrite.com/sites/de ... -2.3.4.exe
I installed it on another pc without the scarlett board connected, but i don't know what could be done to test it without the card. Anyhow, there it is...
Cheers, Alan

Re: Synthfont 2 and ASIO crash

Posted: Mon Oct 08, 2018 4:39 pm
by Admin
I could install the driver, but not use it. Too bad.
SO I will have to ask you Alan to help me.
Here is a test version of the 32 bit SynthFont2:
https://www.dropbox.com/s/vzvk44qa3njsf ... O.rar?dl=0
Basically it is a new test version, yes, but making use of the old ASIO interface - the one that obviously has functioned before.
Does this version work?

Re: Synthfont 2 and ASIO crash

Posted: Mon Oct 08, 2018 8:12 pm
by Alan.Dodd
Yes it does!!
Press F8 to step over... ;-)

Re: Synthfont 2 and ASIO crash

Posted: Tue Oct 09, 2018 10:59 am
by Admin
Good.
Here's the next iteration:
https://www.dropbox.com/s/sygxmlv56vhbo ... P.rar?dl=0
It involved slightly more than just pressing F8...
There is a certain piece of code I need to get converted from pure 32 bit support to also supporting 64 bit architecture in the ASIO library and it requires some real thinking...