Skip to content

Instantly share code, notes, and snippets.

View danielwinkler's full-sized avatar

Daniel Winkler danielwinkler

View GitHub Profile
@danielwinkler
danielwinkler / sequence_matcher.ipynb
Last active October 13, 2023 08:38
NBest Sequence Matcher
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielwinkler
danielwinkler / RecordAudio.swift
Created November 9, 2020 08:30 — forked from hotpaw2/RecordAudio.swift
Swift Audio Recording class. Reads buffers of input samples from the microphone using the iOS RemoteIO Audio Unit API
//
// RecordAudio.swift
//
// This is a Swift class (updated for Swift 5)
// that uses the iOS RemoteIO Audio Unit
// to record audio input samples,
// (should be instantiated as a singleton object.)
//
// Created by Ronald Nicholson on 10/21/16.
// Copyright © 2017,2019 HotPaw Productions. All rights reserved.
#include <iostream>
#include <stdio.h>
#include "string.h" // for memcpy
#ifdef _OPENACC
#include <openacc.h>
#endif
template<class type>
#include <iostream>
#include <stdio.h>
#include "string.h" // for memcpy
#ifdef _OPENACC
#include <openacc.h>
#endif
using namespace std;