view audio/oggfile.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 62e31e7980e6
children
line wrap: on
line source
% oggfile - audio signal from OGG file using ogg123
% oggfile :: bash_file, options(sndpipe) -> signal(C,R).
function s=oggdec(file)
	s=sndpipe(sprintf('ogg123 -d au -f - %s',bash_arg(file)),'stringfn',@()sprintf('oggfile(''%s'')',file));