EasyManua.ls Logo

Commodore 128 - Page 273

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FILTER
Define sound (SID chip) filter parameters
FILTER [freq] [,lp] [,bp] [,hp] [.res]
where:
freq Filter cut-off frequency (0-2047)
Ip
Low-pass filter on (1), off (0)
bp
Bank-pass filter on (1), off (0)
hp
High-pass filter on (1), off (0)
res Resonance (0-15)
Unspecified parameters result in no change to the current value.
You can use more than one type of filter at a time. For example,
both low-pass and high-pass filters can be used together to
produce a notch-(or band-reject) filter response. For the filter to
have an audible effect, at least one type of filter must be selected
and at least one voice must be routed through the filter.
EXAMPLE:
FILTER 1024,0,1,0,2
Set the cutoff frequency at 1024, select the band pass filter and a
resonance level of 2.
FILTER 2000,1,0,1,10
Set the cutoff frequency at 2000, select both the low pass and
high pass filters (to form a notch-reject) and set the resonance
level at 10.
FOR/TO/STEP/NEXT
Define a repetitive program loop structure.
FOR variable = start value TO end value [STEP increment]
This statement works with the NEXT statement to set up a
section of the program that repeats for a set number of times (i.e.,
a loop). This is useful when something needs to be counted or
something must be done a certain number of times (such as
printing).
17-31

Table of Contents

Other manuals for Commodore 128

Related product manuals