Synthfont 2 and ASIO crash

All about the development and use of SynthFont2
Alan.Dodd
Posts: 9
Joined: Tue Oct 02, 2018 7:48 pm

Synthfont 2 and ASIO crash

Post by Alan.Dodd » Tue Oct 02, 2018 8:08 pm

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 137 times
Could you help please? I tried sf2 64bit and sf2 32 bit, same issue.
My pc runs windows 7 pro.
Kind regards

Admin
Site Admin
Posts: 339
Joined: Tue Mar 17, 2015 9:22 am

Re: Synthfont 2 and ASIO crash

Post by Admin » Thu Oct 04, 2018 5:08 pm

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.

Alan.Dodd
Posts: 9
Joined: Tue Oct 02, 2018 7:48 pm

Re: Synthfont 2 and ASIO crash

Post by Alan.Dodd » Thu Oct 04, 2018 9:23 pm

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

Admin
Site Admin
Posts: 339
Joined: Tue Mar 17, 2015 9:22 am

Re: Synthfont 2 and ASIO crash

Post by Admin » Fri Oct 05, 2018 7:16 am

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.

Alan.Dodd
Posts: 9
Joined: Tue Oct 02, 2018 7:48 pm

Re: Synthfont 2 and ASIO crash

Post by Alan.Dodd » Sat Oct 06, 2018 9:03 am

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

Admin
Site Admin
Posts: 339
Joined: Tue Mar 17, 2015 9:22 am

Re: Synthfont 2 and ASIO crash

Post by Admin » Sun Oct 07, 2018 1:19 pm

Take your time.

Alan.Dodd
Posts: 9
Joined: Tue Oct 02, 2018 7:48 pm

Re: Synthfont 2 and ASIO crash

Post by Alan.Dodd » Sun Oct 07, 2018 8:29 pm

1) Synthfont2 2.0.7.0 works perfectly with my driver. And latency is very good.
asio.PNG
asio.PNG (12.18 KiB) Viewed 105 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 105 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

Admin
Site Admin
Posts: 339
Joined: Tue Mar 17, 2015 9:22 am

Re: Synthfont 2 and ASIO crash

Post by Admin » Mon Oct 08, 2018 4:39 pm

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?

Alan.Dodd
Posts: 9
Joined: Tue Oct 02, 2018 7:48 pm

Re: Synthfont 2 and ASIO crash

Post by Alan.Dodd » Mon Oct 08, 2018 8:12 pm

Yes it does!!
Press F8 to step over... ;-)

Admin
Site Admin
Posts: 339
Joined: Tue Mar 17, 2015 9:22 am

Re: Synthfont 2 and ASIO crash

Post by Admin » Tue Oct 09, 2018 10:59 am

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...

Post Reply