No BSD License  

Highlights from
DAFX Toolbox

image thumbnail
from DAFX Toolbox by Dominik Wegmann
Advanced visualization and basic effect processing of recorded, generated or loaded audio data

initPeakClip(stAlgo)
function stAlgo = initPeakClip(stAlgo)

% ******************************************************
% * Peak Clipper
% * ----------------------------------------------------
% * Author  :   Joeorg Bitzer
% * Date    :   Dec 2004
% * Version 1
% *
% * Fachhochschule OOW Standort Oldenburg
% * Studiengang Hrtechnik und Audiologie
% ******************************************************
 
global ParaEingabe;

disp('******* Peak Clipper *******');
if (ParaEingabe == 0)
    stAlgo.InputGain_db = 6; %default
    szOut = sprintf('Using default values, Gain = %1.2f dB',stAlgo.InputGain_db);
    disp(szOut);
else    
   disp('Enter input gain [dB]:');
   stAlgo.InputGain_db = input('');
     
 end




Contact us at files@mathworks.com