@database SFX (C) Copyright 1993-1996 Stefan Kost All Rights Reserved @Remark $VER: Amplify.guide (26.11.95) @Remark AmigaGuide-OnLine-Help for SoundFX @master /guides/sfx.guide @index /guides/sfx-index.guide/index @node main "Operators : Amplify" Amplify ------- Function : Volume change of sample Parameters: Amplifyfactor Volume in % MaxVol Will calculate the maximum "Amplify" without exceeding the maximum Amplitude. Results are put into Par0 and Par1. Wrap Lets you pick the way "overdrive" (exceeding max Amplitude levels) is handled if it occurs. There are three ways : Normal: the overdriven data is set to max amplitude or minumum. Wrap1 : the overdriven part is put into the surrounding sides of where the Over- drive happened until it is completely in the normal area. Wrap2 : the overdriven part is overturned until it is completely in the normal area. Go ahead and try these modes. Get a long sine wave and slowly overdrive it (peaks hit the ceiling:). Sound will become sharper. ARexx : RampS/E 0..1000 % P1ModBuf,P1ModShape,P1ModMode Wrap 0->Normal/1->Wrap1/2->Wrap2 Notes : Percussions (bassdrums,snare,drums,...) can be lifted a bit (ca. 120 %). This'll produce the typical overdrive effect, by clipping sample data (vertically). Amplification without hitting the ceiling hard, can be estimated taking a look at the min-and maxlines in the @{" Samplewindow " link Charpter1.2 } This operator can also be used for Amplitudemodulation, cre- ating possiblities for Soundsynthesis. For example, make one sine wave with normal period and another with double. Let the normal period sine be the source and the double period sine be the modulation waveform with User0 set. Set Par0 to 0 and Par1 to 100. Generate this and take a close look (with zoom maybe?:) at the result. @endnode