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
import Foundation | |
import AudioKit | |
/// FFT Calculation for any node | |
@objc open class CustomAKFFTTap: NSObject, EZAudioFFTDelegate { | |
internal let bufferSize: UInt32 = 512 //old: 1024 | |
internal var fft: EZAudioFFT? | |
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
import pyaudio | |
import numpy as np | |
import time | |
import wave | |
import matplotlib.pyplot as plt | |
# open stream | |
FORMAT = pyaudio.paInt16 | |
CHANNELS = 1 |
NewerOlder