Skip to content

Instantly share code, notes, and snippets.

View apu_adv.py
import numpy as np;
import matplotlib.pyplot as plt;
import sounddevice as sd;
from math import *;
def note_to_freq(n):
return 27.5 * 2 ** ((n - 21.0) / 12.0);
def build_sin(size):
@Kailang
Kailang / SincTest.cs
Created Oct 19, 2017
Windowed Sinc Low Pass
View SincTest.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SincTrial : MonoBehaviour {
public int Phase, Period = 100;
public float Fc = 0.14f;
public int M = 100;
public float[] H, T;
View server.properties
#Minecraft server properties
#Sat Mar 25 17:52:53 UTC 2017
spawn-protection=16
max-tick-time=12000
generator-settings={"coordinateScale"\:684.412,"heightScale"\:3211.7324,"lowerLimitScale"\:282.6338,"upperLimitScale"\:36.204224,"depthNoiseScaleX"\:200.0,"depthNoiseScaleZ"\:200.0,"depthNoiseScaleExponent"\:0.99542254,"mainNoiseScaleX"\:247.42958,"mainNoiseScaleY"\:71.40845,"mainNoiseScaleZ"\:177.02113,"baseSize"\:8.5,"stretchY"\:27.821339,"biomeDepthWeight"\:1.0,"biomeDepthOffset"\:0.0,"biomeScaleWeight"\:1.0,"biomeScaleOffset"\:0.0,"seaLevel"\:64,"useCaves"\:true,"useDungeons"\:true,"dungeonChance"\:15,"useStrongholds"\:true,"useVillages"\:true,"useMineShafts"\:true,"useTemples"\:true,"useMonuments"\:true,"useRavines"\:true,"useWaterLakes"\:true,"waterLakeChance"\:50,"useLavaLakes"\:true,"lavaLakeChance"\:80,"useLavaOceans"\:false,"fixedBiome"\:-1,"biomeSize"\:4,"riverSize"\:5,"dirtSize"\:33,"dirtCount"\:10,"dirtMinHeight"\:0,"dirtMaxHeight"\:256,"gravelSize"\:33,"gravelCount"\:8,"gravelMinHeight"\:0,"gravelM
View gist:44a8cc285cc4d8b01d39bd5aea3097fe
---- Minecraft Crash Report ----
WARNING: coremods are present:
SpongeCoremod (spongeforge-1.10.2-2254-5.2.0-BETA-2241.jar)
IC2core (industrialcraft-2-2.6.180-ex110.jar)
Contact their authors BEFORE contacting forge
// I blame Dinnerbone.
Time: 3/24/17 4:24 AM