View AudioEffect.cs
using System; | |
using System.Threading; | |
using NAudio.Wave; | |
using NAudio.Wave.SampleProviders; | |
namespace GM.SP.Audio | |
{ | |
public static class AudioEffect | |
{ | |
/// <summary> |
View LanguageDetection.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace GM.NLP.TextCategorization | |
{ | |
public struct Profile | |
{ | |
public string Name; |
View AudioGenerate.cs
using System; | |
using NAudio.Wave; | |
namespace GM.SP.Audio | |
{ | |
public static class AudioGenerate | |
{ | |
/// <summary> | |
/// Generates a mono frequency audio file. | |
/// </summary> |
View SignalAnalysis.cs
using System; | |
using NAudio.Dsp; | |
using NAudio.Wave; | |
using NAudio.Wave.SampleProviders; | |
namespace GM.SP.Audio | |
{ | |
public static class SignalAnalysis | |
{ | |
public class Frequency |
View DTMFDecoder.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using NAudio.Wave; | |
using Frequency = GM.SP.Audio.SignalAnalysis.Frequency; | |
namespace GM.SP.Audio | |
{ | |
/// <summary> | |
/// https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling |
View TelephoneKeypadDecoder.cs
using System; | |
using System.Threading.Tasks; | |
namespace GM.SP | |
{ | |
/// <summary> | |
/// https://en.wikipedia.org/wiki/Telephone_keypad | |
/// </summary> | |
public class TelephoneKeypadDecoder : IDisposable | |
{ |
View Equalizer.cs
using System; | |
using System.ComponentModel; | |
using System.Linq; | |
using GalaSoft.MvvmLight; | |
using NAudio.Dsp; | |
using NAudio.Wave; | |
namespace GM.SP.Audio | |
{ | |
public class EqualizerBand : ObservableObject |
View KneserNey.cs
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace GM.NLP.Smoothing | |
{ | |
/// <summary> | |
/// Implementation of Kneser-Ney language model. | |
/// |
View StackAndQueue.cpp
// Stack is LIFO (Last In First Out) | |
// Circular Queue is FIFO (First In First Out) | |
#include <iostream> | |
#include <sstream> | |
using namespace std; | |
#define LENGTH_MAX 10 |
View DoublyLinkedList.cpp
#include <sstream> | |
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
// Represents an element of the doubly linked list. | |
struct element | |
{ | |
// The key of the element. |
OlderNewer