Skip to content

Instantly share code, notes, and snippets.

Avatar

Justus Sagemüller leftaroundabout

  • Høgskulen på Vestlandet
  • Bergen
View GitHub Profile
View SawFiltering.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leftaroundabout
leftaroundabout / PairApplyTest.c
Last active Sep 11, 2017
Comparison of two ways to fold over unordered unique pairs in a collection of elements
View PairApplyTest.c
#define N 50001
#include "stdio.h"
int main() {
int v[N];
for (int i=0; i<N; ++i) {
v[i] = i;
}
int b=0;
View NestedUnboxed.hs
-- |
-- Module : Data.Vector.Unboxed.Nested
-- Copyright : (c) Justus Sagemüller 2017
-- License : BSD-style
--
-- Maintainer : (@) jsagemue $ uni-koeln.de
-- Stability : experimental
-- Portability : portable
--
@leftaroundabout
leftaroundabout / JIT-tone-constructions.ipynb
Last active Sep 9, 2017
Comparison of the frequencies you get for various just-intonation constructions of the notes C♯ and D♭
View JIT-tone-constructions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leftaroundabout
leftaroundabout / IntermodSpectrum.hs
Last active Sep 2, 2017
Spectrum view of the effect nonlinear distortion has on various sound signals
View IntermodSpectrum.hs
import Numeric.FFT.Vector.Invertible
import Data.Vector.Unboxed (Vector)
import qualified Data.Vector.Generic as GA
import Data.Complex (magnitude)
import Data.Function ((&))
import Graphics.Dynamic.Plot.R2
main :: IO ()
main = do
View diatonicscale-degrees.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DFTvsFFT-visualisation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View String-Tension-Calc.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@leftaroundabout
leftaroundabout / ExpAlloc-bench.ipynb
Last active Apr 1, 2017
Bad (exponential!) performance of layer of MaybeT wrappers
View ExpAlloc-bench.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Lagrange-L4.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.