image thumbnail

updated 2 years ago

cache_results by Dan Ellis

CACHE_RESULTS - caching function results to disk with transparent tracking of arguments (disk, cache, utility)

cache_results(cmd, args, cachename, cachedir, VERBOSE)

image thumbnail

updated 2 years ago

audioread - unified audio file input function by Dan Ellis

audioread provides a single, unified function for reading audio files in wav, mp3, aac, flac... (data import, audio, sound)

audioread(FN, TARGETSR, FORCEMONO, START, DUR)

audiowrite(D,SR,FN)

flacread(FILE,N,MONO,DOWNSAMP,DELAY)

image thumbnail

updated 3 years ago

m4aread - read MPEG4 (AAC or M4A) compressed audio files by Dan Ellis

m4aread reads m4a or aac compressed audio files just like wavread reads uncompressed audio files (sound, audio, data import)

m4aread(FILE,N,MONO,DOWNSAMP,DELAY)

wavread_downsamp(F,N,M,DS)

demo_m4aread.m

image thumbnail

updated almost 4 years ago

m4awrite - write m4a format audio file by Dan Ellis

m4awrite writes an m4a (MPEG4 audio) format file using an external faac binary (audio, mpeg4, data export)

m4awrite(D,SR,NBITS,FILE,OPTIONS)

image thumbnail

updated almost 4 years ago

flacwrite - write out a FLAC-encoded audio file using flac by Dan Ellis

flacwrite writes FLAC-encoded audio files by piping data to the external flac binary (audio, lossless, flac)

flacwrite(D,SR,NBITS,FILE,OPTIONS)

image thumbnail

updated 4 years ago

Time-domain scrambling of audio signals by Dan Ellis

Scramble audio signals by shuffling short-time windows (signal processing, audio, speech)

ERBFilterBank(x, fcoefs)

ERBSpace(lowFreq, highFreq, N)

fcoefs=MakeERBFilters(fs,numChannels,lowFreq,width)

image thumbnail

updated 4 years ago

Time-frequency Automatic Gain Control (AGC) by Dan Ellis

Automatic Gain Control (AGC) attempts to maintain a constant energy level for an audio signal. (sound, audio, automatic gain contro...)

fft2melmx(nfft, sr, nfilts, width, minfrq, maxfrq, htkmel...

istft(d, ftsize, w, h)

stft(x, f, w, h, sr)

image thumbnail

updated 4 years ago

mp3read and mp3write by Dan Ellis

Improved reading and writing of mp3 files (sound, audio file, mpeg audio)

MP3 reading and writing

mp3read(FILE,N,MONO,DOWNSAMP,DELAY)

mp3write(D,SR,NBITS,FILE,OPTIONS)

image thumbnail

updated 4 years ago

urlreadpost - url POST method with binary file uploading by Dan Ellis

A replacement for urlread(url,'post',...) that allows POST to upload binary (file) data. (http, url, post)

urlreadpost(urlChar,params)

urlreadwrite(fcn,urlChar)

image thumbnail

updated 5 years ago

Robust Landmark-Based Audio Fingerprinting by Dan Ellis

A landmark-based Shazam-like audio fingerprinting system. (signal processing, audio, sound)

add_tracks(D,SR,ID)

clear_hashtable()

find_landmarks(D,SR)

image thumbnail

updated 5 years ago

Jenkin's "One at a time" hash by Dan Ellis

Simple, high-performance hash to map char strings into 32 bit ints (string, hash)

image thumbnail

updated almost 6 years ago

Gammatone-based (auditory) spectrograms by Dan Ellis

Calculates a spectrogram-like time-frequency intensity matrix based on Gammatone filters. (spectrogram, gammatone, auditory)

ERBFilterBank(x, fcoefs)

ERBSpace(lowFreq, highFreq, N)

fcoefs=MakeERBFilters(fs,numChannels,lowFreq)

image thumbnail

updated 7 years ago

SUBMREDUCE - submatrix reduce by Dan Ellis

Apply a function to all values in submatrices to return a smaller matrix. (matrices, submatrix reduce min ...)

submreduce(A,r,c,fp)

image thumbnail

updated almost 8 years ago

popen read and write by Dan Ellis

MEX source to acccess popen r/w (data import, data export, popen)

Popen access from Matlab

image thumbnail

updated 8 years ago

Lagrange Interpolator Polynomial by Dan Ellis

Find the polynomial (defined by its coefficients) passing through a set of points. (approximation, interpolation, lagrange interpolator...)

Lagrange Interpolation Polynomial

lagrangepoly(X,Y,XX)

Contact us