SF2: Difference between revisions

From vArranger
Jump to navigation Jump to search
Line 13: Line 13:




When you press a note on your midi keyboard, the VSTi program will generate a sound, using the computer processor (CPU).
When you press a note on your midi keyboard, the software synthesizer will generate a sound, using the computer processor (CPU).
This operation need to be as fast as possible, (less than 10-15 milliseconds), so the player does not feel any latency.
This operation need to be as fast as possible, (less than 5 - 15 milliseconds), so the player does not feel any latency.
Some VSTi are doing complex calculations, in a very short time. That's why using VST  usually needs a 'faster' computer. (Intel Core (i3) or i5 or i7 series is a good choice)
We also share this CPU power with all the running programs. So, it is better to avoid  installing  unneeded programs on a music computer.


The second point is that some VSTi  load a big quantity of sampled sounds in the computer's memory (RAM). In case of using such VSTi, you need to have enough RAM installed in your computer. (4GB or 8GB is nice)
Most of the today computers are able to use the vArranger software synthesizer, with an unnoticeable latency.


Some VST  play the sounds directly from the Hard Drive. In such cases, a fast Hard drive 7200RPM or better a SSD disk is preferable
''Some slow Atom CPU are not fast enough to play in realtime. It's simple. If  the computer can't produce sound fast enough , you will hear some clics, or stuttering.
It's simple. If  the computer can't produce sound fast enough , you will hear some clics, or stuttering.
There is a trick to help in this situation, but at a cost to increase the perceived latency. You press the key, and you hear the sound a bit later.''


As we also share this CPU power with all the running programs, it is better to avoid installing and running unneeded programs on a music computer.


vArranger  (the VST host) receives the generated sound, and sends it back to the PC sound card driver, then to your PC powered speakers, or headphones.
In live show situation, it is better to set the computer in 'Performance Mode' and to set the 'Airplane mode' to turn off the background Wifi and Bluetooth communications.


There are actually 2 kinds of sound cards.  Some are integrated inside your PC motherboard, and some can be optionally installed. They are professional sound cards with sometimes a better quality sound.
 
The second important point to know, is that the vArranger Software Synthesizer loads every sounds, samples in the computer's memory (RAM).
 
So if you want to use for example 2GB of SF2 samples, you need to have at least 2GB of RAM free to be able to load them.
The more you have RAM installed on your computer, the more sound you will be able to load.
 
To be able to use more than 4GB of SF2 sounds, you need to use the 64 bit version of the vArranger Software Synthesizer.
 
 
 
The vArranger Software Synthesizer sends the generated sound to the PC sound card driver, then to your PC powered speakers, or headphones.
 
There are actually 2 kinds of sound cards.  Some are integrated inside your PC motherboard, and some can be optionally installed. They are professional sound cards with sometimes a better sound quality.


vArranger can communicate with the sound card using 3 different methods :
vArranger can communicate with the sound card using 3 different methods :
Line 39: Line 50:


''Note that sometimes, different access methods may result in a difference in term of audio sound or performances. In case of problems, it can be useful to test the different options ASIO <=> ASIO4ALL <=> WASAPI, to find the best working driver for your computer.''
''Note that sometimes, different access methods may result in a difference in term of audio sound or performances. In case of problems, it can be useful to test the different options ASIO <=> ASIO4ALL <=> WASAPI, to find the best working driver for your computer.''


== Configuring vArranger to play with the Software Synthesizer ==
== Configuring vArranger to play with the Software Synthesizer ==

Revision as of 13:39, 11 January 2016

What is the vArranger Software Synthesizer?

vArranger includes a high quality GM2 software synthesizer, with custom SF2 samples loading, 256 voice high quality sound synthesis. 16 tracks multitimbral. Effects : Reverb, Chorus. 3 auxiliary VST effects + 1 MASTER VST FX...

Thanks to the high efficiency technology developed during the last years, vArranger has realized the feat that allows anyone to play music with vArranger, even without any hardware midi module connected to the computer. The sound is generated in realtime by vArranger and sent to the computer audio card.

The vArranger software synthesizer comes with a basic, but well balanced soundset, with the first goal in mind to work on most computers, even with low capabilities.

As we always want to play with different sounds, the vArranger software synthesizer allows you to load your own sounds, or any free or commercial sounds in SF2 Soundfont format.


Requirements

When you press a note on your midi keyboard, the software synthesizer will generate a sound, using the computer processor (CPU). This operation need to be as fast as possible, (less than 5 - 15 milliseconds), so the player does not feel any latency.

Most of the today computers are able to use the vArranger software synthesizer, with an unnoticeable latency.

Some slow Atom CPU are not fast enough to play in realtime. It's simple. If the computer can't produce sound fast enough , you will hear some clics, or stuttering. There is a trick to help in this situation, but at a cost to increase the perceived latency. You press the key, and you hear the sound a bit later.

As we also share this CPU power with all the running programs, it is better to avoid installing and running unneeded programs on a music computer.

In live show situation, it is better to set the computer in 'Performance Mode' and to set the 'Airplane mode' to turn off the background Wifi and Bluetooth communications.


The second important point to know, is that the vArranger Software Synthesizer loads every sounds, samples in the computer's memory (RAM).

So if you want to use for example 2GB of SF2 samples, you need to have at least 2GB of RAM free to be able to load them. The more you have RAM installed on your computer, the more sound you will be able to load.

To be able to use more than 4GB of SF2 sounds, you need to use the 64 bit version of the vArranger Software Synthesizer.


The vArranger Software Synthesizer sends the generated sound to the PC sound card driver, then to your PC powered speakers, or headphones.

There are actually 2 kinds of sound cards. Some are integrated inside your PC motherboard, and some can be optionally installed. They are professional sound cards with sometimes a better sound quality.

vArranger can communicate with the sound card using 3 different methods :

- DirectSound Pros : Available on every computer, the sound can be used by different programs together. Cons : It has too much latency and CAN'T be used for realtime synths. Only for MP3 playback.

- WASAPI Pros : Low latency. Available on every computer since Windows Vista. Cons : Not available on windows XP

- ASIO Pros : Low latency. Cons : ASIO drivers are only developed by the manufacturer for the professional sound cards.

Note that there is a free software called ASIO4ALL [1], created by Michael Tippach, that installs a generic ASIO driver, working for every sound card. This is the only solution for low latency audio if you use Windows XP, without a dedicated pro sound card.

Note that sometimes, different access methods may result in a difference in term of audio sound or performances. In case of problems, it can be useful to test the different options ASIO <=> ASIO4ALL <=> WASAPI, to find the best working driver for your computer.

Configuring vArranger to play with the Software Synthesizer

In vArranger, go on OPTIONS / MIDI PORTS to select the vArranger Software Synthesizer and the audio outputs you want to use.

VASynthPorts.png


As you can see in this example, it is better to select the vArranger Software Synthesizer in GM mode as your MIDIOUT1 source, and VST or other hardware synth as MIDIOUT2 or MIDIOUT3.

In this example, the WASAPI output of the internal laptop sound card has been selected.

Some sound cards have many audio outputs. You will see them all, displayed in this list.

In case of an ASIO sound card with multiples audio outputs, a second sub list will appear to select the desired stereo out.

It is DONE !