Deepware Brainwaves
Optimization


If you have already read the previous section, you already have the necessary concepts to optimize this app for your own device.

Samplerate

Depicted as Q in the Mixer, is the frequency of sound generation. Higher values are for greater sound quality. Default value is 11025Hz, the minimum available. CPU usage is directly proportional to this frequency.

Optimum frequencies for each machine

Take into account the next tips for obtaining a good CPU/quality ratio:

  • The Chord machine sounds great even for minimal Q values, unless you use very high pitches. Also, is the machine with higher CPU consumption.
  • The Noise machine loves high Q values, at least 16000Hz. Otherwise, it can sound quite artificial.
  • The Click machine also loves high Q values, but only when its binaural frequency is lower than 1Hz.

Buffer size

A buffer (in computer context) is a temporal memory which grabs chunks of information, releasing it gradually and ensuring a smooth flow of data. Its size in Deepware Brainwaves is selectable using the 1-32 buttons of the “hare-turtle” row of the Mixer.

During playback

If you use Deepware Brainwaves only for listening, always keep the “turtle” button ON at the screen bottom row. The “turtle” button maximizes the buffer, making the app run smoother, but lowering the update frequency of the interface.

When the app is not in “turtle” mode, turning off the screen makes it active automatically. That is the cause of the sound interruption when turning on/off the screen.

During edition

When tweaking the machines, the “turtle” mode can be an inconvenience, due to the increased response lag between the interface and the sound generation, which can be higher than a second. If you can, do not use “turtle” mode when creating or editing sounds.

Emulated Sine vs. System Sine

Many Android™ devices are optimized for heavy mathematical calculations, but it is not always the case. When a device is not optimized, the use of Emulated Sine (Bhaskara approximation) can boost performance drastically. Simply try it.

Battery or plugged

Android™ devices usually change their CPU power when they are plugged or unplugged. A plugged device often works faster.

[c] Alberto Viñuela Miranda / Cranfcom 2013-2014