Lo-Fi Crusher

Type : Quantizer / Decimator with smooth control
References : Posted by David Lowenfels
Notes :
Yet another bitcrusher algorithm. But this one has smooth parameter control.

Normfreq goes from 0 to 1.0; (freq/samplerate)
Input is assumed to be between 0 and 1.
Output gain is greater than unity when bits < 1.0;
Code :
function output = crusher( input, normfreq, bits );
    step = 1/2^(bits);
    phasor = 0;
    last = 0;

    for i = 1:length(input)
       phasor = phasor + normfreq;
       if (phasor >= 1.0)
          phasor = phasor - 1.0;
          last = step * floor( input(i)/step + 0.5 ); %quantize
       output(i) = last; %sample and hold

from : kk791231[AT]hotmail[DOT]com
comment : what's the "bits" here? I tried to run the code, it seems it's a dead loop here, can not figure out why

from : dfl
comment : bits goes from 1 to 16

from : 2SenseEntertainment[AT]gmail[DOT]com
comment : I'm having trouble with the code as well. Is there something I'm missing?

from : pearl95204674590[AT]mail[DOT]ru
comment : And it can cost you big money , both in higher energy bills and possible repairs. So i think like you said the problem is either with the attic, or the dampers. <a href="http://henrydearborn.soup.io/post/630472401/Best-Heating-and-Cooling-Companies-in-Lake">Air Conditioner Service And Repair </a> You can now request a quote from this business directly from Yelp. This has heating and cooling both options. Also choose lighter colors for roofs and walls to reflect sunlight and reduce conductive heat gain. [url=http://miltonschwartz2.madpath.com/index/__xtblog_entry/11412415-standards-ac-specifications-standards-ac-quantum-voltmeter-ac-specifications?__xtblog_block_id=1]Heat And Air Conditioner Repair [/url] You have no items in your shopping cart. The list includes conventional central air systems, heat pumps, and ductless mini-split system. It may be that the fan motor in the heating unit is not turning, which can be caused a bad motor or an electrical fault in the unit, but it is likely if the breaker has tripped that the AC system would shut down entirely so you would not have cool air in the vent. It matches my room. <a href="http://twylasmithson.xtgem.com/index/__xtblog_entry/11411743-bali-hai-mobile-village-topo-map-orange-county-fl-pine-castle-area?__xtblog_block_id=1">http://joesphqni275478.wikidot.com/blog:28 </a> Be certain that the filters are properly cleaned.