aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/SoundLoop.java9
-rw-r--r--src/main/resources/assets/tectech/sounds/fx_lo_freq.oggbin14802 -> 29373 bytes
-rw-r--r--src/main/resources/assets/tectech/sounds/fx_mid_freq.oggbin15252 -> 26378 bytes
3 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/SoundLoop.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/SoundLoop.java
index 338af1626e..e8e1a7eb27 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/SoundLoop.java
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/SoundLoop.java
@@ -25,7 +25,7 @@ public class SoundLoop extends MovingSound{
zPosF=base.getZCoord();
worldID=base.getWorld().provider.dimensionId;
repeat=true;
- volume=0f;
+ volume= 0.0625f;
}
@Override
@@ -34,14 +34,13 @@ public class SoundLoop extends MovingSound{
return;
}
if(fadeMe) {
- volume-=0.05f;
- if(volume<0){
+ volume-=0.0625f;
+ if(volume<=0){
volume=0;
- }else if(volume==0){
donePlaying=true;
}
}else if(volume<1) {
- volume += 0.05f;
+ volume += 0.0625f;
}
World world=Minecraft.getMinecraft().thePlayer.worldObj;
donePlaying=world.provider.dimensionId!=worldID ||
diff --git a/src/main/resources/assets/tectech/sounds/fx_lo_freq.ogg b/src/main/resources/assets/tectech/sounds/fx_lo_freq.ogg
index 8eab2d92e2..f02581ae56 100644
--- a/src/main/resources/assets/tectech/sounds/fx_lo_freq.ogg
+++ b/src/main/resources/assets/tectech/sounds/fx_lo_freq.ogg
Binary files differ
diff --git a/src/main/resources/assets/tectech/sounds/fx_mid_freq.ogg b/src/main/resources/assets/tectech/sounds/fx_mid_freq.ogg
index b16d1297f4..10ac371e19 100644
--- a/src/main/resources/assets/tectech/sounds/fx_mid_freq.ogg
+++ b/src/main/resources/assets/tectech/sounds/fx_mid_freq.ogg
Binary files differ