Skip to content

Instantly share code, notes, and snippets.

View GregaMohorko's full-sized avatar

Gregor Mohorko GregaMohorko

View GitHub Profile
@GregaMohorko
GregaMohorko / SignalAnalysis.cs
Last active April 13, 2017 16:35
Audio signal analysis to get information about frequencies.
using System;
using NAudio.Dsp;
using NAudio.Wave;
using NAudio.Wave.SampleProviders;
namespace GM.SP.Audio
{
public static class SignalAnalysis
{
public class Frequency
@GregaMohorko
GregaMohorko / AudioEffect.cs
Last active April 13, 2017 16:35
Audio impulse response in time domain.
using System;
using System.Threading;
using NAudio.Wave;
using NAudio.Wave.SampleProviders;
namespace GM.SP.Audio
{
public static class AudioEffect
{
/// <summary>
@GregaMohorko
GregaMohorko / LanguageDetection.cs
Last active April 13, 2017 15:21
N-Gram-Based text categorization algorithm that can be used for language detection.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GM.NLP.TextCategorization
{
public struct Profile
{
public string Name;