Open or create a BioExplorer design that you want to use with Inner Tube
Add a server object to your current BioExplorer design.
You must send this server object 0-1 ranged numbers in order for Inner Tube to work correctly. All numbers less than 0 are considered 0 and all numbers greater than 1 are considered 1. Somatic Vision products need ranged numbers so that they can set % succeeded values. In Inner Tube the ship needs to know what % of maximum speed to travel (1 = max speed, 0 = stopped). In Particle Editor BE the size of the particles would vary between max (at 1) and min at (0).
The easiest way to get a 0-1 ranged number is by sending threshold data (which is naturally 0 when you have not reached thresholdand 1 when you have passed threshold). You can also use the "ratio" feature on the threshold object.
It is useful to then average this threshold data for smooth transitions in the Somatic Vision software.
Once you have set up your data outputs create connections into your server object then open the server object and name each channel.
Advanced custom designs (programmers only):
Creating ratio objects like the one used in SomaticVision.bxd is more complex.
The ratio output calculates the ratio by dividing the current signal / threshold. This means that 0 is when there is 0 amplituted, 1 is when amplitude equals threshold and 2 is when amplitude doulbes threshold (all values over 1.0 are equal to 1.0 in Somatic Vision products). This is fine, but your feedback application will never express the full 0 - 1 range, as the client will never reach 0 amplitude at a signal (if you are doing neurofeedback).
If you wish to change the range of the ratio you can add an equation to the ratio output. For instance, to create a range between half-threshold and full threshold apply the following equation: (In1 * 2) - 1.
Imagine In1 is 1 we get (1 * 2) - 1 = 1.
If In1 is 0.5 we get (0.5 * 2) - 1 = 0.
So we have ranged the output to vary from 1 at threshold to 0 at half threshold.
For 75% threshold to full threshold use the equation (In1 * 4) - 3.
Basically the goal is to create the 0-1 range to be as useful as possible.
If you are an advanced BioExplorer user contact bioexplorer@somaticvision.com for help creating advanced BioExplorer designs. If you need a custom BioExplorer design attach a copy of your current design and a complete description of your desired server outputs. Somatic Vision will only be able to deal with a very limited number of custom design requests. Unless you are paying Somatic Vision to help you with your custom design request, Somatic Vision reserves the right to freely publish any designs submitted for modification / include such designs in future Somatic Vision releases without royaltee to any prior author. Your submission indicates your consent to this agreement.