Skip to content

Commit

Permalink
Bump version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakifrucht committed Oct 6, 2017
1 parent c3c4feb commit fb25516
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.lightbeat</groupId>
<artifactId>LightBeat</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.3.0</version>

<build>
<finalName>${project.artifactId}</finalName>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/lightbeat/audio/CaptureInterpreter.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ BeatEvent interpretValue(double amplitude) {

// reduce beat threshold
if (average < beatThreshold) {
//TODO think about a way that is better compatible with variable timeBetweenBeatsMillis
double difference = beatThreshold - average;
beatThreshold -= difference * beatThresholdReductionMultiplier;
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/lightbeat/gui/frame/MainFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@
</constraints>
<properties>
<background color="-1"/>
<toolTipText value="&lt;html&gt;&#10;Select the audio device that will be read from.&lt;br&gt;You can always use your systems microphone, however for&lt;br&gt;best results it is recommended to select Stereo Mix (if available),&lt;br&gt;or alternatively install a virtual audio cable to directly read your systems audio.&lt;br&gt;This is necessary if you don't have a microphone or want to use headphones.&lt;br&gt;Click on the &quot;Help&quot; button for more setup information.&#10;&lt;/html&gt;"/>
<toolTipText value="&lt;html&gt;&#10;Select the audio device that will be read from.&lt;br&gt;You can always use your systems microphone, however for&lt;br&gt;best results it is recommended to select &quot;Stereo Mix&quot; (if available, sometimes called &quot;Wave&quot;),&lt;br&gt;or alternatively install a virtual audio cable, to directly read your systems audio.&lt;br&gt;This is necessary if you don't have a microphone or want to use headphones.&lt;br&gt;Click on the &quot;Help&quot; button for more setup information.&#10;&lt;/html&gt;"/>
</properties>
</component>
<component id="f5f3" class="javax.swing.JLabel">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="10" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Select Stereo Mix or a Virtual Audio Cable for best results."/>
<text value="Select &quot;Stereo Mix&quot; or a virtual audio cable for best results."/>
</properties>
</component>
<component id="43ab3" class="javax.swing.JButton" binding="deviceHelpButton" default-binding="true">
Expand Down Expand Up @@ -328,7 +328,7 @@
<properties>
<background color="-1"/>
<maximum value="254"/>
<toolTipText value="Define the maximum brightness level, reached when the music is currently more intense than on average.&lt;br&gt;This setting is not always taken into account as long as the Glow effect is enabled."/>
<toolTipText value="Define the maximum brightness level, reached when the music is currently more intense than on average.&lt;br&gt;This setting occasionally gets overriden while the &quot;Glow&quot; effect is enabled."/>
</properties>
</component>
<component id="6963d" class="javax.swing.JButton" binding="restoreBrightnessButton">
Expand Down Expand Up @@ -477,7 +477,7 @@
<background color="-1"/>
<maximum value="10"/>
<minimum value="1"/>
<toolTipText value="Colors are generally a little randomized to allow for color small color sets without effect loss.&lt;br&gt;The higher you set this value the more difference will be in the actual colors from the ones you selected."/>
<toolTipText value="Colors are generally a little randomized to allow for small color sets without breaking color effects.&lt;br&gt;The higher you set this value the more difference will be in the actual colors from the ones you selected."/>
</properties>
</component>
<component id="7da7f" class="javax.swing.JLabel">
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/io/lightbeat/hue/HueBeatObserver.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public HueBeatObserver(HueManager hueManager, Config config) {
effectPipe.add(new AlertEffect(colorSet,0.8f, 0.4f, 0.05f));
}

effectPipe.add(new ColorFadeEffect(colorSet,0.5f, 0.15f));
effectPipe.add(new ColorFlipEffect(colorSet,0.4f, 0.125f));
effectPipe.add(new ColorChainEffect(colorSet,0.5f, 0.1f));
effectPipe.add(new ColorFlipEffect(colorSet,0.7f, 0.1f));
effectPipe.add(new ColorFadeEffect(colorSet,0.6f, 0.125f));
effectPipe.add(new ColorChainEffect(colorSet,0.5f, 0.15f));

if (config.getBoolean(ConfigNode.BRIGHTNESS_STROBE)) {
effectPipe.add(new StrobeEffect(colorSet,0.95f, 0.5f, 0.02f));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lightbeat/hue/LightUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void doLightUpdates() {
light.doLightUpdate();
}

// queue fade after initial updates (less latency)
// queue fade after initial updates (reduces latency in separate loop)
for (Light light : lights) {
light.doLightUpdateFade();
}
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/io/lightbeat/hue/light/LBLight.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ public boolean isOff() {
public void doLightUpdate() {

strobeController.applyUpdates();
if (isOn) {
colorController.applyUpdates();
}
colorController.applyUpdates();

// only set brightness if it was updated or other state stuff was updated
boolean brightnessAlreadySet = false;
Expand Down

0 comments on commit fb25516

Please sign in to comment.