Saturday, December 3, 2016

How to get low latency / reduce delay from your midi keyboard


By default Frinika uses the default sound drivers that comes with Java (Javasound). When using with a MIDI keyboard you may experience a small delay from pressing a key until you hear the sound. This is called latency, and we want this to be as small as possible.

From version 0.8.1 there are some startup options to use alternative sound drivers that enables lower latency to reduce the delay to a minimum. These are still experimental, and only work for audio output at the moment - but should be useful when recording using a midi keyboard.

If you want lowest latency possible you can try the following:

Windows

java -DuseASIOAudioServer=true -jar frinika.jar 

This options requires and ASIO driver installed on your system. For many standard soundcards you may use the ASIO4ALL driver.

Mac OSX

(warning: Sometimes using this option have caused a terrible noise,
so turn the volume down before launching. If it happens, try restarting.)

java -DuseOSXAudioServer=true -jar frinika.jar 

Linux users

Simply start Jack before launching Frinika. This option has been around for a while, and is based on JNAJack.

Thursday, November 5, 2015

Jack is back!

JACK support has been out of order in Frinika for some time now - but now it's fixed using the JNAJack library by Neil C Smith.

Using JACK makes the Frinika experience on Linux much more enjoyable - and I've managed to push my 1.5 GHz Centrino laptop from 2006 down to 5 milliseconds latency.

For this to work you should run JACK in realtime mode and 128 frames. Also you must make sure that Frinika is able to go realtime.

Make sure you're member of the audio group (check /etc/groups)

and then edit /etc/security/limits.conf

and add these lines:

@realtime - rtprio 99 @realtime - memlock unlimited

(as described here)

Also remember to turn off any CPU frequency auto-scaling - as this will only cause disturbances.

Start Jack before you start Frinika - and Frinika will connect automatically to Jack.

Wednesday, April 8, 2015

Broadcast or record your session

In the top menu of Frinika you'll find a menu item called "Connected" where you can click further to "Radio Station". By enabling the radio station a simple web server will be started on your machine, and live audio from your Frinika session can be streamed directly from the URL http://localhost:15000/frinika.ogg

You can use the audio stream for broadcast, or just record the live audio from your Frinika session. Check out the video for a demonstration.


Wednesday, February 18, 2015

Exporting to WAV

After several questions on how to export to WAV from Frinika - and also since sourceforge.net has taken down the Frinika wiki (where it was explained) - I've added a simple youtube video showing you how it's done. Watch it here:



Tuesday, May 20, 2014

Workaround for Java 7 update 55

RasmusDSP will not load with Java 7 update 55 for currently unknown reasons. Frinika 0.7.3 and earlier versions are affected so that Frinika will not launch at all. As a workaround Frinika 0.7.4 was released today, ignoring that RasmusDSP is not loading. Hopefully it will work again in the next Java update, but I will also investigate this as soon as possible.

2014-06-01 UPDATE: The problems with RasmusDSP is now fixed.

Thursday, December 26, 2013

Simple demontration of working in tracker view - part 2 (drums)

Uploaded another video demontration:

Saturday, November 9, 2013

Simple video demonstration of working in the tracker view (part 1)

Check out the video. The key combinations in the video is CTRL+P for pitch bend, and hold control while typing controller number for CC events.