.TH POKESF 1csound CARL
.SH NAME
pokesf 
\- modify samples in an existing soundfile
.SH SYNOPSIS
.B pokesf 
[flags] patch_file sound_file
.SH DESCRIPTION
.B pokesf
takes pairs of numbers from \fIpatch_file\fP as the absolute
sample index and value to be poked into the \fIsound_file\fP.
.B pokesf
modifies the file in place.
It can be used to fix up minor clicks and glitches in soundfiles.
.LP
Note, because this program modifies the soundfile in place, it
is dangerous.  You should experiment on a copy of the file first.
.SH Example
.nf
# locate click in file through a combination of play and glitch
% sndin -c1 -b".5+(33S)" -d100S myfile | glitch
# get a text copy of the samples to edit
% sndin -t -c1 -b".5+(33S)" -d100S myfile > myfile.c1
# edit myfile.c1 to correct the problem
# try using spline, for example
% pokesf myfile.c1 myfile
