This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IE6 Only | |
================== | |
_selector {...} | |
IE6 & IE7 | |
================== | |
*html or { _property: } | |
IE7 Only | |
================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruby-audio' | |
# Open the original audio file | |
song = RubyAudio::Sound.open("/Users/username/Desktop/filename.wav") | |
chunk_length_ms = 1000 # chunk length in milliseconds | |
chunk_length_samples = chunk_length_ms * song.info.samplerate / 1000 # convert chunk length to number of samples | |
# Make chunks of one second | |
chunks = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let rndHex = Math.floor(Math.random() * 0xffffff).toString(16).padEnd(6, '0'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute VB_Name = "Kai32" | |
'-=====================================================- | |
' -= +------------------------------------------------+ =- | |
' -= | |\ =- | |
' -= | |¯¯|\ |¯¯|\ |¯¯|\ |¯¯¯¯¯¯|\ |¯¯¯¯¯¯|\ |\\ =- | |
' -= | | |\/ /\| |__|\||__|| |\||___ |\| |\\| =- | |
' -= | | |/ /\/ |¯¯¯¯¯|\ \\\\| \\|¯ |\| /¯¯___/\| |\\| =- | |
' -= | | /\/ | |\||¯¯|\ |¯¯|| |\|| ¯¯¯|\ |\\| =- | |
' -= | | \/ | | |\|| |\||______|\||______|\| |\\| =- | |
' -= | | |\ \ | |\|| |\| \\\\\\\\| \\\\\\\\| |\\| =- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function, division | |
########### | |
# Imports # | |
########### | |
import sys | |
import math |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Simple CSS for a better hacker news | |
* Removes comments and voting | |
*/ | |
#hnmain { | |
min-width: 640px; | |
width: 90vw; | |
max-width: 100%; | |
} | |
.rank { margin: 0 12px; } | |
.votearrow { display: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- --------------------------- -- | |
-- Final Fantasy IV LUA script -- | |
-- -- | |
-- By: Pasky13 -- | |
-- --------------------------- -- | |
-- Globals | |
char_atbm = {0, 0, 0, 0, 0} | |
enemy_atbm = {0, 0, 0, 0, 0, 0, 0, 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All modules are in good to excellent condition. | |
Most of these have original boxes. | |
----------------------------------------------- | |
ornament and crime (uO_C) --- $180 | |
mutable instruments peaks (oscillosaurus plate + original) --- $130 | |
mutable instruments streams (oscillosaurus plate + original) --- $140 | |
acid rain chainsaw --- $225 | |
make noise morphagene --- $480 | |
hexinverter mutant brain (silver) --- $200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy.io import wavfile | |
import scipy.io | |
from scipy.fft import fft, ifft | |
import numpy as np | |
""" | |
chord.wav should be a short sound, equivalent to carrier in vocoder | |
impulse.wav should be a quite sparse transient heavy sound, equivalent to modulator in vocoder | |
play with tsmear and asmear to tweak between vocoder and convolution like sound | |
""" | |
Tsmear = 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mario Mushroom Power-Up | |
GRUB_INIT_TUNE="1750 523 1 392 1 523 1 659 1 784 1 1047 1 784 1 415 1 523 1 622 1 831 1 622 1 831 1 1046 1 1244 1 1661 1 1244 1 466 1 587 1 698 1 932 1 1195 1 1397 1 1865 1 1397 1" | |
# Legend of Zelda Overworld | |
#GRUB_INIT_TUNE="12000 440 100 0 1 329 150 440 50 0 1 440 25 493 25 523 25 587 25 659 200" | |
# Close Encounters/5 Tone | |
#GRUB_INIT_TUNE="480 900 2 1000 2 800 2 400 2 600 3" |
NewerOlder