tomwalters@0
|
1 docs/aimStrobeCriterion (text)
|
tomwalters@0
|
2 scripts/aimStrobeCriterion (figures)
|
tomwalters@0
|
3
|
tomwalters@0
|
4
|
tomwalters@0
|
5 STROBED TEMPORAL INTEGRATION AND THE STABILISED AUDITORY IMAGE
|
tomwalters@0
|
6
|
tomwalters@0
|
7 Roy D. Patterson, Jay Datta and Mike Allerhand
|
tomwalters@0
|
8 MRC Applied Psychology Unit
|
tomwalters@0
|
9 15 Chaucer Road, Cambridge, CB2 2EF UK
|
tomwalters@0
|
10
|
tomwalters@0
|
11 email: roy.patterson, jay.datta or mike.allerhand @mrc-apu.cam.ac.uk
|
tomwalters@0
|
12
|
tomwalters@0
|
13 2 August 1995
|
tomwalters@0
|
14
|
tomwalters@0
|
15
|
tomwalters@0
|
16 ABSTRACT
|
tomwalters@0
|
17
|
tomwalters@0
|
18 This document describes the Strobed Temporal Integration
|
tomwalters@0
|
19 mechanism used to convert neural activity patterns into stabilised
|
tomwalters@0
|
20 auditory images. The specific version of the Auditory Image Model is
|
tomwalters@0
|
21 AIM R7, as described in Patterson, Allerhand, and Giguere (1995)
|
tomwalters@0
|
22
|
tomwalters@0
|
23
|
tomwalters@0
|
24
|
tomwalters@0
|
25 INTRODUCTION
|
tomwalters@0
|
26
|
tomwalters@0
|
27 When a periodic sound occurs with a pitch in the musical
|
tomwalters@0
|
28 range, the cochlea produces a detailed, multi-channel, time-interval
|
tomwalters@0
|
29 pattern that repeats once per cycle of the wave. The auditory images
|
tomwalters@0
|
30 that we hear in response to periodic sounds are perfectly stable.
|
tomwalters@0
|
31 That is, despite the fact that the level of activity in the neural
|
tomwalters@0
|
32 activity pattern is fluctuating over a large range within the course
|
tomwalters@0
|
33 of each cycle, the loudness of the sound is fixed. This indicates
|
tomwalters@0
|
34 that some form of temporal integration is applied to the NAP prior to
|
tomwalters@0
|
35 our initial perception of the sound. The auditory images of periodic
|
tomwalters@0
|
36 sounds can have a very rich timbre, or sound quality, that can reveal
|
tomwalters@0
|
37 a great deal about the sound source such as the quality of the musical
|
tomwalters@0
|
38 instrument or the finesse of the musician. This suggests that much of
|
tomwalters@0
|
39 the detailed time-interval information produced by the cochlea is
|
tomwalters@0
|
40 preserved in the stabilised auditory image.
|
tomwalters@0
|
41
|
tomwalters@0
|
42 The fact that we hear stable auditory images with rich sound
|
tomwalters@0
|
43 quality presents auditory theorists with a problem. The temporal
|
tomwalters@0
|
44 integration mechanism in traditional auditory models is a low-pass
|
tomwalters@0
|
45 filter that removes the fine-grain time-interval information from the
|
tomwalters@0
|
46 internal representation of the sound -- time interval information that
|
tomwalters@0
|
47 appears to be required for timbre perception. Strobed temporal
|
tomwalters@0
|
48 integration was introduced to solve this problem. At one and the same
|
tomwalters@0
|
49 time, it performs the temporal integration necessary to produce stable
|
tomwalters@0
|
50 auditory images and it preserved the majority of the time-interval
|
tomwalters@0
|
51 information observed in the neural activity pattern (NAP) produced by
|
tomwalters@0
|
52 the cochlea.
|
tomwalters@0
|
53
|
tomwalters@0
|
54 It is not a difficult problem to produce a high-resolution,
|
tomwalters@0
|
55 stabilised version of the NAP provided you know the moment in time at
|
tomwalters@0
|
56 which the pattern in the NAP will repeat. For example, consider the
|
tomwalters@0
|
57 NAP of the first note of the wave CEGC in Figure 0.1 from Patterson et
|
tomwalters@0
|
58 al. (1992). The wave is a train of clicks separated by 8-ms gaps; the
|
tomwalters@0
|
59 upper channels of the NAP show that the response is a sequence of
|
tomwalters@0
|
60 filter impulse responses spaced at 8 ms intervals. A stabilised
|
tomwalters@0
|
61 representation of the NAP can be produced by setting up an image
|
tomwalters@0
|
62 buffer that has the same number of channels as the NAP, and simply
|
tomwalters@0
|
63 transferring a copy of the pattern in each channel of the NAP to the
|
tomwalters@0
|
64 corresponding channel of the image buffer once every 8 ms. In the
|
tomwalters@0
|
65 NAP, the pattern flows from right to left as time progresses, and
|
tomwalters@0
|
66 since the cycles are continually entering the NAP from the right hand
|
tomwalters@0
|
67 side and exiting the NAP from the left hand side, the pattern after
|
tomwalters@0
|
68 every 8 ms is identical to the pattern 8 ms ago. So if the transfer
|
tomwalters@0
|
69 from the NAP to the auditory image is performed every 8 ms exactly,
|
tomwalters@0
|
70 successive contributions from the NAP to the image are all identical.
|
tomwalters@0
|
71
|
tomwalters@0
|
72 In the image buffer, activity does not move from right to
|
tomwalters@0
|
73 left, it simply decays into the floor exponentially over time with a
|
tomwalters@0
|
74 half life of about 30 ms. When a new contribution arrives from the
|
tomwalters@0
|
75 NAP, it is added point for point with whatever is currently in the
|
tomwalters@0
|
76 corresponding channel of the image buffer. In the current example,
|
tomwalters@0
|
77 after a copy of the NAP arrives in the auditory image, and during the
|
tomwalters@0
|
78 30 ms over which it would decay to half its original value, three more
|
tomwalters@0
|
79 copies of the NAP pattern arrive and are added into the auditory
|
tomwalters@0
|
80 image. Thus, for typical musical notes and typical vowels, the rate
|
tomwalters@0
|
81 of temporal integration from the NAP into the auditory image is high
|
tomwalters@0
|
82 and there is little time between successive integration events for the
|
tomwalters@0
|
83 image itself to decay. This is the source of the stability of the
|
tomwalters@0
|
84 auditory image.
|
tomwalters@0
|
85
|
tomwalters@0
|
86 Provided the integration is performed once per cycle of the
|
tomwalters@0
|
87 sound, the majority of the time-interval information in the NAP will
|
tomwalters@0
|
88 be preserved in the auditory image, thereby providing a solution to
|
tomwalters@0
|
89 the problem of how to produce stable images without removing the
|
tomwalters@0
|
90 fine-grain time-interval information associated with sound quality.
|
tomwalters@0
|
91 The auditory image produced by this process is shown in Figure 0.2
|
tomwalters@0
|
92 from Patterson et al. (1992). The transfer is performed on each
|
tomwalters@0
|
93 channel of the NAP separately and it is performed at the point in the
|
tomwalters@0
|
94 cycle where the activity in the NAP is a maximum. The maximum of the
|
tomwalters@0
|
95 most recent cycle to arrive in the NAP is added into the auditory
|
tomwalters@0
|
96 image at the 0-ms point, and as a result, the NAP peaks are aligned
|
tomwalters@0
|
97 vertically in the auditory image. This passive alignment process
|
tomwalters@0
|
98 explains the loss of global phase information observed empirically
|
tomwalters@0
|
99 (see Patterson, 1987, for a review).
|
tomwalters@0
|
100
|
tomwalters@0
|
101 Thus it would appear that the problem of converting the
|
tomwalters@0
|
102 oscillating NAP into a stabilised, high-resolution image reduces to
|
tomwalters@0
|
103 the problem of finding the pitch of the sound and performing temporal
|
tomwalters@0
|
104 integration at multiples of the pitch period. There are now a number
|
tomwalters@0
|
105 of computational auditory models with a proven ability to extract the
|
tomwalters@0
|
106 pitch of complex sounds (see Brown and Cook, 1994, for a review) and
|
tomwalters@0
|
107 they could be used to direct strobed temporal integration. However,
|
tomwalters@0
|
108 experiments with vowels (McKeown and Patterson, 1995; Robinson and
|
tomwalters@0
|
109 Patterson, 1995a) and musical notes (Robinson and Patterson, 1995b)
|
tomwalters@0
|
110 indicate that 4 to 8 cycles of the sound are required to produce an
|
tomwalters@0
|
111 accurate estimate of the pitch, whereas the sound quality information
|
tomwalters@0
|
112 necessary to identify a vowel or a musical instrument can be extracted
|
tomwalters@0
|
113 from one cycle of the wave. This suggests, that if the auditory
|
tomwalters@0
|
114 system does use strobed temporal integration to produce a stable, high
|
tomwalters@0
|
115 resolution auditory image, it does it with a mechanism that operates
|
tomwalters@0
|
116 more locally in time than pitch extraction mechanisms. This is the
|
tomwalters@0
|
117 background that led to the development of the strobed temporal
|
tomwalters@0
|
118 integration mechanism in the auditory image model.
|
tomwalters@0
|
119
|
tomwalters@0
|
120 In Sections 1 and 2 of this document, following Allerhand and
|
tomwalters@0
|
121 Patterson (1992), we describe two simple criteria for selecting strobe
|
tomwalters@0
|
122 points in the NAP and show that they produce auditory images that are
|
tomwalters@0
|
123 very similar to the correlograms produced by Assman and Summerfield
|
tomwalters@0
|
124 (1990), Slaney and Lyon (1990), or Meddis and Hewitt (1991a, 1991b).
|
tomwalters@0
|
125 The structures that arise in this form of auditory image are much more
|
tomwalters@0
|
126 symmetric than the corresponding structures in the NAP (Allerhand and
|
tomwalters@0
|
127 Patterson, 1992). There is mounting evidence, however, that the
|
tomwalters@0
|
128 auditory system is highly sensitive to temporal asymmetry (Patterson,
|
tomwalters@0
|
129 1994a, 1994b; Akeroyd and Patterson, 1995; Irino and Patterson, 1996),
|
tomwalters@0
|
130 and so the loss of asymmetry associated with the simple strobe
|
tomwalters@0
|
131 criterion seems likely to limit the value of this representation of
|
tomwalters@0
|
132 our perceptions. In the remaining Sections, an ordered sequence of
|
tomwalters@0
|
133 restrictions is added to the simple criteria for initiating temporal
|
tomwalters@0
|
134 integration, to restore asymmetry to the structures that arise in the
|
tomwalters@0
|
135 auditory image.
|
tomwalters@0
|
136
|
tomwalters@0
|
137
|
tomwalters@0
|
138 1. Strobe on Every Non-Zero Point in the NAP.
|
tomwalters@0
|
139
|
tomwalters@0
|
140 The initial criterion is very simple; temporal integration is
|
tomwalters@0
|
141 initiated on each and every non-zero point in the NAP. In AIM
|
tomwalters@0
|
142 software, the option that determines which strobe criterion will be
|
tomwalters@0
|
143 used is 'stcrit_ai' and it is set equal to one for this simplest
|
tomwalters@0
|
144 strobe criterion. Allerhand and Patterson (1992) showed that when
|
tomwalters@0
|
145 temporal integration from the NAP to the auditory image is initiated
|
tomwalters@0
|
146 on each and every non-zero point in the NAP function, the result is
|
tomwalters@0
|
147 very similar to a correlogram -- a representation that is commonly
|
tomwalters@0
|
148 used in time-domain models of hearing to extract the pitch of complex
|
tomwalters@0
|
149 periodic sounds (see Brown and Cook, 1994, for a review). For
|
tomwalters@0
|
150 example, compare the auditory image with stcrit_ai=1 (Figure 1.1) and
|
tomwalters@0
|
151 the correlogram (Figure 1.2) of the first note of the sound cegc.
|
tomwalters@0
|
152 Both figures show stabilised representations of the time-interval
|
tomwalters@0
|
153 pattern that the sound produces in the NAP, and in both cases, the
|
tomwalters@0
|
154 individual channels have been aligned vertically on the largest peak
|
tomwalters@0
|
155 in the NAP function. The patterns in the auditory image and the
|
tomwalters@0
|
156 correlogram both differ from the pattern in the NAP in one important
|
tomwalters@0
|
157 way; there is a reflection of the NAP pulses associated with the
|
tomwalters@0
|
158 ringing of the auditory filters, on the side opposite to where they
|
tomwalters@0
|
159 originally appear. That is, autocorrelation and STI with stcrit_ai=1
|
tomwalters@0
|
160 reduce the temporal asymmetry observed in the NAP. The asymmetry
|
tomwalters@0
|
161 information is not entirely removed but it is largely removed.
|
tomwalters@0
|
162 Experiments with sounds that have asymmetric temporal modulation show
|
tomwalters@0
|
163 that listeners are sensitive to temporal asymmetry (Patterson, 1994a,
|
tomwalters@0
|
164 1994b; Akeroyd and Patterson, 1995; Irino and Patterson, 1996), and so
|
tomwalters@0
|
165 the removal of asymmetry information seems likely to prove a
|
tomwalters@0
|
166 disadvantage when attempting to explain auditory perception.
|
tomwalters@0
|
167
|
tomwalters@0
|
168 The autocorrelation process is symmetric in time by its very
|
tomwalters@0
|
169 nature. Mechanical processes that produce sound in the world are
|
tomwalters@0
|
170 typically asymmetric in time because they usually have some inertia.
|
tomwalters@0
|
171 Resonators struck impulsively ring after the pulse and not before.
|
tomwalters@0
|
172 This principle also applies to the processes that analyse the sound in
|
tomwalters@0
|
173 the auditory system. The impulse response of the auditory filter
|
tomwalters@0
|
174 rises faster than it falls; the adaptation process in the inner
|
tomwalters@0
|
175 haircell adapts up faster at the onset of a sound than it adapts down
|
tomwalters@0
|
176 after the sound passes. So asymmetry is the norm in the world and it
|
tomwalters@0
|
177 is not surprising that the auditory system is sensitive to it.
|
tomwalters@0
|
178
|
tomwalters@0
|
179
|
tomwalters@0
|
180 2. Strobe on the Peak of Each NAP pulse.
|
tomwalters@0
|
181
|
tomwalters@0
|
182 When temporal integration is initiated on every non-zero NAP
|
tomwalters@0
|
183 point, the successive NAP functions that are transferred to the
|
tomwalters@0
|
184 auditory image are highly correlated. This suggests that we could
|
tomwalters@0
|
185 attain essentially the same auditory image for vastly less computation
|
tomwalters@0
|
186 by restricting temporal integration to the larger points on the
|
tomwalters@0
|
187 individual NAP pulses. This leads, in turn, to the suggestion that
|
tomwalters@0
|
188 temporal integration be limited to the peak of the individual NAP
|
tomwalters@0
|
189 pulses. The result of this restriction is illustrated in Figure 2.1
|
tomwalters@0
|
190 which shows the auditory image of the first note of CEGC with this
|
tomwalters@0
|
191 more restricted strobe criterion. Since the peak restriction greatly
|
tomwalters@0
|
192 reduces the rate of temporal integration, the absolute levels of
|
tomwalters@0
|
193 structures in this form of auditory image are considerably lower than
|
tomwalters@0
|
194 those in the previous form of image. The pattern of time intervals,
|
tomwalters@0
|
195 however, is very similar in the two forms of auditory image. They
|
tomwalters@0
|
196 both preserve a detailed representation of the time-interval pattern
|
tomwalters@0
|
197 in the NAP, and, they both loose much of the asymmetry in the NAP.
|
tomwalters@0
|
198
|
tomwalters@0
|
199
|
tomwalters@0
|
200 3. Avoid Strobing in the Temporal Shadow after a large NAP Pulse.
|
tomwalters@0
|
201
|
tomwalters@0
|
202 The loss of asymmetry in the click-train structure of the
|
tomwalters@0
|
203 auditory image, arises when temporal integration is initiated on the
|
tomwalters@0
|
204 smaller NAP pulses associated with the ringing of the auditory filters
|
tomwalters@0
|
205 after each click in the train. This can be demonstrated by
|
tomwalters@0
|
206 introducing a fixed strobe threshold below which NAP peaks do not
|
tomwalters@0
|
207 initiate temporal integration, and progressively raising this strobe
|
tomwalters@0
|
208 threshold to exclude more and more of the lower level NAP pulses. (In
|
tomwalters@0
|
209 AIM, a fixed threshold is set with option stthresh_ai and
|
tomwalters@0
|
210 stcrit_ai=1.) The auditory image becomes less and less symmetric and
|
tomwalters@0
|
211 more and more like the original NAP pattern for the click train as the
|
tomwalters@0
|
212 strobe threshold is increased. Fixed thresholds of this sort are not
|
tomwalters@0
|
213 realistic for simulating the operation of auditory system, firstly
|
tomwalters@0
|
214 because the strobe threshold eventually exceeds the largest NAP pulse
|
tomwalters@0
|
215 and temporal integration ceases entirely, and secondly because, in the
|
tomwalters@0
|
216 natural environment, the levels of sounds are constantly changing.
|
tomwalters@0
|
217 Nevertheless, the example illustrates how NAP asymmetry is lost with
|
tomwalters@0
|
218 simple strobe criteria. The problem with autocorrelation is similar;
|
tomwalters@0
|
219 the correlation values at lags associated with the smaller NAP pulses
|
tomwalters@0
|
220 introduce symmetric reflections into structure that appear in the
|
tomwalters@0
|
221 correlogram.
|
tomwalters@0
|
222
|
tomwalters@0
|
223 An alternative means of restricting temporal integration to
|
tomwalters@0
|
224 the larger pulses in the NAP of the click train is to use an adaptive
|
tomwalters@0
|
225 strobe threshold which is temporally asymmetric. In the simplest
|
tomwalters@0
|
226 case, when the strobe unit monitoring a NAP channel encounters a
|
tomwalters@0
|
227 pulse, strobe threshold is set to the full height of the NAP pulse.
|
tomwalters@0
|
228 But following the peak threshold does not fall as fast as the NAP
|
tomwalters@0
|
229 function, rather it is restricted to decaying at a fixed percentage of
|
tomwalters@0
|
230 the peak height per ms. In AIM, the rate of decay is set to 5% per
|
tomwalters@0
|
231 ms, so the threshold decays faster after larger peaks, and in the
|
tomwalters@0
|
232 absence of further NAP peaks, returns to 0 in 20 ms. The NAP function
|
tomwalters@0
|
233 for the 1.0-kHz channel of the NAP is presented in Figure 3.1 along
|
tomwalters@0
|
234 with the adaptive threshold function. Together they illustrate what is
|
tomwalters@0
|
235 referred to as the "temporal shadow criterion" for strobed temporal
|
tomwalters@0
|
236 integration.
|
tomwalters@0
|
237
|
tomwalters@0
|
238 In the figure, the vertical lines below the abscissa of the
|
tomwalters@0
|
239 NAP function mark the NAP pulses that initiate temporal integration.
|
tomwalters@0
|
240 They show that the first NAP pulse strobes temporal integration and
|
tomwalters@0
|
241 strobe threshold is set to the peak height. It immediately begins to
|
tomwalters@0
|
242 decay, but then it encounters another NAP pulse that exceeds strobe
|
tomwalters@0
|
243 threshold and so the process of strobing temporal integration and
|
tomwalters@0
|
244 raising strobe threshold is promptly repeated. At this point,
|
tomwalters@0
|
245 however, strobe threshold is high relative to the NAP pulses and,
|
tomwalters@0
|
246 strobe threshold is falling more slowly than the NAP pulses, so the
|
tomwalters@0
|
247 algorithm proceeds through the rest of the cycle without encountering
|
tomwalters@0
|
248 another NAP pulse from the ringing part of the NAP function. In this
|
tomwalters@0
|
249 way, the strobe mechanism is synchronised to the period of the sound
|
tomwalters@0
|
250 even though no explicit information about the pitch of the sound is
|
tomwalters@0
|
251 provided to the strobe mechanism. It is the auditory image with the
|
tomwalters@0
|
252 temporal shaddow criterion that was presented originally in Figure
|
tomwalters@0
|
253 0.2. (stcrit_ai=3).
|
tomwalters@0
|
254
|
tomwalters@0
|
255 The 'temporal shadow criterion' produces stable auditory
|
tomwalters@0
|
256 images with accurate, asymmetry for a wide variety of naturally
|
tomwalters@0
|
257 occurring sounds like vowels and musical notes. The reason is that
|
tomwalters@0
|
258 the NAPs of these sounds have a restricted range of periods and within
|
tomwalters@0
|
259 those periods the asymmetry is typically characterised by the
|
tomwalters@0
|
260 rapid-rise/slow-fall form. There are, however, periodic sounds with
|
tomwalters@0
|
261 very low pitch and NAP functions that rise slowly over the course of
|
tomwalters@0
|
262 the period and fall rapidly at the end of the period, and the
|
tomwalters@0
|
263 perceptions produced by these sounds indicate that the auditory strobe
|
tomwalters@0
|
264 mechanism is somewhat more sophisticated than the temporal shadow
|
tomwalters@0
|
265 strobe mechanism. These "ramped" sounds are the subject of the next
|
tomwalters@0
|
266 section.
|
tomwalters@0
|
267
|
tomwalters@0
|
268
|
tomwalters@0
|
269 4. Avoid Temporal Integration on NAP Peaks Followed by Larger NAP Peaks.
|
tomwalters@0
|
270
|
tomwalters@0
|
271 A pair of the sounds that illustrate the limitations of the
|
tomwalters@0
|
272 temporal shadow criterion are presented in Figures 4.1a and 4.2a; the
|
tomwalters@0
|
273 former is an exponentially damped sinusoid that repeats every 25-ms,
|
tomwalters@0
|
274 the latter is an exponentially ramped sinusoid with the same envelope
|
tomwalters@0
|
275 period. The carrier frequency in this case is 800 Hz and the half
|
tomwalters@0
|
276 life of the exponential is 4-ms. The half life is on the same order
|
tomwalters@0
|
277 as the exponential decay of the impulse response of a gammatone
|
tomwalters@0
|
278 auditory filter with a centre frequency in the region of 800 Hz. The
|
tomwalters@0
|
279 example is taken from Patterson (1994a).
|
tomwalters@0
|
280
|
tomwalters@0
|
281 The neural activity patterns produced by the damped and ramped
|
tomwalters@0
|
282 sinusoids are shown in Figures 4.1b and 4.2b, respectively. The
|
tomwalters@0
|
283 frequency range of the filterbank is from an octave below the carrier
|
tomwalters@0
|
284 frequency to an octave above the carrier frequency. The highest and
|
tomwalters@0
|
285 lowest channels in Figure 4.1b show the transient response of the
|
tomwalters@0
|
286 filterbank to the onset of the damped sinusoid, and similarly the
|
tomwalters@0
|
287 high- and low-frequency channels in Figure 4.2b show the transient
|
tomwalters@0
|
288 response of the filterbank to the offset of the ramped sinusoid. In
|
tomwalters@0
|
289 the high-frequency channels, the onset response of the damped sinusoid
|
tomwalters@0
|
290 and the offset response of the ramped sinusoid are composed of impulse
|
tomwalters@0
|
291 responses from the individual auditory filters. The centre section of
|
tomwalters@0
|
292 each figure shows the response to the carrier. Here we see that the
|
tomwalters@0
|
293 asymmetry in the waveform is preserved in the NAP: in Figure 4.1b, the
|
tomwalters@0
|
294 carrier component is at its highest level just as the transient
|
tomwalters@0
|
295 response ends and the carrier component decays away over the course of
|
tomwalters@0
|
296 the period; in Figure 4.2b, the carrier activity rises over the course
|
tomwalters@0
|
297 of the ramped cycle and ends at its peak level in the transient
|
tomwalters@0
|
298 response.
|
tomwalters@0
|
299
|
tomwalters@0
|
300 Auditory images of these damped and ramped sinusoids are
|
tomwalters@0
|
301 presented in Figures 4.3 and 4.4, respectively. The upper rows show
|
tomwalters@0
|
302 the images obtained when the strobe initiates temporal integration on
|
tomwalters@0
|
303 every peak in the NAP; the middle rows show the images obtained with
|
tomwalters@0
|
304 the temporal shadow criterion. The images in the upper row illustrate
|
tomwalters@0
|
305 the problem of preserving NAP asymmetry during temporal integration.
|
tomwalters@0
|
306 When the mechanism strobes on every peak, the temporal asymmetry
|
tomwalters@0
|
307 observed in the NAP of the damped sinusoid is actually reversed in the
|
tomwalters@0
|
308 auditory image of the damped sinusoid (Figure 4.3a). In the case of
|
tomwalters@0
|
309 the ramped sinusoid, the asymmetry observed in the NAP is largely lost
|
tomwalters@0
|
310 in the image of the ramped sinusoid (Figure 4.4a); there is activity
|
tomwalters@0
|
311 at all time intervals in the central channels, whereas there is a gap
|
tomwalters@0
|
312 in activity in the NAP of the ramped sinusoid, once per cycle, just
|
tomwalters@0
|
313 after the abrupt reduction in amplitude. It is also the case that
|
tomwalters@0
|
314 there are irregular fringes along the edges of the main structure in
|
tomwalters@0
|
315 the auditory image of the ramped sinusoid (Figure 4.4a). This
|
tomwalters@0
|
316 provides further evidence that the time interval pattern in the NAP is
|
tomwalters@0
|
317 being disrupted by the temporal integration process in the
|
tomwalters@0
|
318 construction of the auditory image.
|
tomwalters@0
|
319
|
tomwalters@0
|
320 The introduction of the temporal shadow criterion for
|
tomwalters@0
|
321 initiating temporal integration produces a dramatic improvement in the
|
tomwalters@0
|
322 auditory image of the damped sinusoid (Figure 4.3b). The structure in
|
tomwalters@0
|
323 the image is highly asymmetric and, once the alignment process is
|
tomwalters@0
|
324 taken into account, the structure in the image is seen to be a very
|
tomwalters@0
|
325 faithful reproduction of that in the NAP. The imposition of the
|
tomwalters@0
|
326 temporal shadow criterion improves the auditory image of the ramped
|
tomwalters@0
|
327 sound (Figure 4.4b). in as much as it eliminates the fringes seen in
|
tomwalters@0
|
328 Figure 4.4a. But it does not solve the asymmetry problem. The
|
tomwalters@0
|
329 structure in the auditory image of Figure 4.4a is still more symmetric
|
tomwalters@0
|
330 than it is asymmetric, whereas the structure in the corresponding NAP
|
tomwalters@0
|
331 is highly asymmetric.
|
tomwalters@0
|
332
|
tomwalters@0
|
333 The source of the problem is illustrated in Figures 4.5a and
|
tomwalters@0
|
334 4.6a which show the NAPs and adaptive thresholds for 80-ms segments of
|
tomwalters@0
|
335 the damped and ramped sinusoids, respectively. The vertical markers
|
tomwalters@0
|
336 below the abscissa in Figure 4.5a show that after the first cycle, the
|
tomwalters@0
|
337 strobe mechanism is synchronised to the period of the wave and
|
tomwalters@0
|
338 initiates temporal integration once per cycle on the largest NAP peak.
|
tomwalters@0
|
339 So this criterion preserves the asymmetry of the damped sound in its
|
tomwalters@0
|
340 auditory image. In contrast, Figure 4.6a shows that on the way up the
|
tomwalters@0
|
341 ramped portion of each cycle, the rising NAP pulses repeatedly exceed
|
tomwalters@0
|
342 the adaptive threshold resulting in repeated initiation of temporal
|
tomwalters@0
|
343 integration. Since, in this region of the cycle, the mechanism
|
tomwalters@0
|
344 initiates temporal integration on every cycle, the auditory image does
|
tomwalters@0
|
345 not preserve the asymmetry observed in the corresponding NAP. The
|
tomwalters@0
|
346 irregular fringe is reduced because the mechanism reliably skips the
|
tomwalters@0
|
347 portion of the cycle where the level of activity in the NAP is
|
tomwalters@0
|
348 changing most rapidly.
|
tomwalters@0
|
349
|
tomwalters@0
|
350 The high rate of strobing revealed in Figure 4.6a means that
|
tomwalters@0
|
351 the level of activity in the ramped auditory image of Figure 4.4b is
|
tomwalters@0
|
352 considerably greater than that in the damped image (Figure 4.3b). It
|
tomwalters@0
|
353 does not show in those Figures because they have been normalised for
|
tomwalters@0
|
354 display purposes. In terms of the auditory model, however, the
|
tomwalters@0
|
355 greater overall level in the image of the ramped sound would lead to
|
tomwalters@0
|
356 the prediction that ramped sounds are considerably louder than damped
|
tomwalters@0
|
357 sounds, and this is not the case; they have roughly equal loudness.
|
tomwalters@0
|
358 All of these observations taken together suggest that the strobe rate
|
tomwalters@0
|
359 should be limited and that the limitation should favour larger NAP
|
tomwalters@0
|
360 peaks, closer to the local maximum.
|
tomwalters@0
|
361
|
tomwalters@0
|
362 The solution in this case is to delay temporal integration a
|
tomwalters@0
|
363 few milliseconds after each suprathreshold NAP pulse, to determine
|
tomwalters@0
|
364 whether another, larger, NAP pulse is about to occur. Specifically,
|
tomwalters@0
|
365 when a NAP peak is identified, it is labeled as a potential strobe
|
tomwalters@0
|
366 point, but the initiation of temporal integration is delayed for
|
tomwalters@0
|
367 several milliseconds. In AIM, the value is set with option
|
tomwalters@0
|
368 'stlag_ai'. If, during this time, no new larger NAP pulses are
|
tomwalters@0
|
369 encountered, the candidate strobe point is used to initiate temporal
|
tomwalters@0
|
370 integration. If a larger NAP pulse is encountered, it becomes the new
|
tomwalters@0
|
371 strobe candidate and replaces the previous strobe candidate, the
|
tomwalters@0
|
372 strobe lag is reset to stlag_ai ms and the process begins again. The
|
tomwalters@0
|
373 auditory images of damped and ramped sinusoids produced with this
|
tomwalters@0
|
374 'local-max' strobe criterion are shown in Figures 4.3c and 4.4c,
|
tomwalters@0
|
375 respectively. The strobe lag restriction has virtually no effect on
|
tomwalters@0
|
376 the auditory image of the damped sinusoid, but it improves the image
|
tomwalters@0
|
377 of the ramped sinusoid markedly. The asymmetry observed in the NAP of
|
tomwalters@0
|
378 the ramped sinusoid is now preserved in its auditory image.
|
tomwalters@0
|
379
|
tomwalters@0
|
380 The NAP functions and the adaptive thresholds for the damped
|
tomwalters@0
|
381 and ramped sinusoids are shown in Figures 4.5b and 4.6b, respectively.
|
tomwalters@0
|
382 A comparison of the strobe points for the damped sinusoid under the
|
tomwalters@0
|
383 temporal shadow criterion (Figure 4.5a) and the local max criterion
|
tomwalters@0
|
384 (Figure 4.5b) shows that there is one small difference; the very first
|
tomwalters@0
|
385 strobe point under the temporal shadow criterion is omitted under the
|
tomwalters@0
|
386 local max criterion because a larger NAP pulse follows it within
|
tomwalters@0
|
387 stlag_ai ms. So the second NAP pulse replaces the first as the strobe
|
tomwalters@0
|
388 candidate. In the case of the ramped sinusoid, shifting to the local
|
tomwalters@0
|
389 max criterion has a dramatic effect. The NAP functions and adaptive
|
tomwalters@0
|
390 thresholds in Figures 4.6a and 7.6b are identical, but most of the
|
tomwalters@0
|
391 strobe points identified under the temporal shadow criterion (Figure
|
tomwalters@0
|
392 4.6a) are immediately followed by larger NAP pulses as we proceed up
|
tomwalters@0
|
393 the ramp. As a result the majority of the candidate pulses are
|
tomwalters@0
|
394 repressed in favour of the one that occurs at the offset of the ramp.
|
tomwalters@0
|
395 So, with the exception of the onset of the sound, the mechanism
|
tomwalters@0
|
396 synchronises to the period of the sound and there is one strobe per
|
tomwalters@0
|
397 cycle of the sound. The local max criterion also leads to damped and
|
tomwalters@0
|
398 ramped auditory images with roughly the same level of activity in the
|
tomwalters@0
|
399 auditory image, and so it is also a better predictor of the loudness
|
tomwalters@0
|
400 of these sounds. Finally, note that the strobe lag restricts the
|
tomwalters@0
|
401 maximum strobe rate of the mechanism. This is important because,
|
tomwalters@0
|
402 without it, the level of a sinusoid would increase with its frequency
|
tomwalters@0
|
403 in the auditory image.
|
tomwalters@0
|
404
|
tomwalters@0
|
405
|
tomwalters@0
|
406 5. Limiting the Lag of the Local Max Criterion.
|
tomwalters@0
|
407
|
tomwalters@0
|
408 In the second experiment with damped and ramped sinusoids
|
tomwalters@0
|
409 (Patterson, 1994b), the longest envelope period was 100-ms, and in
|
tomwalters@0
|
410 that condition, the distinction between damped and ramped sinusoids is
|
tomwalters@0
|
411 audible for half lives as long as 64 ms. In channels near the carrier
|
tomwalters@0
|
412 frequency, the NAP function produced by the ramped sinusoid is a long,
|
tomwalters@0
|
413 slowly rising, sequence of peaks. The local-max strobe criterion
|
tomwalters@0
|
414 delays temporal integration to the end of the ramp and initiates
|
tomwalters@0
|
415 temporal integration once per cycle, as previously, with the 25-ms
|
tomwalters@0
|
416 envelope stimuli. The example, however, raises the question of what
|
tomwalters@0
|
417 would happen in the case of a very long duration slowly rising tone,
|
tomwalters@0
|
418 say a tone that rises from absolute threshold to 80 dB SPL over the
|
tomwalters@0
|
419 course of 5 seconds. A listener would undoubtedly hear the sound
|
tomwalters@0
|
420 shortly after it comes on, and hear its loudness increase
|
tomwalters@0
|
421 progressively over the course of the 5-second rise. The local-max
|
tomwalters@0
|
422 strobe mechanism would initiate temporal integration once, shortly
|
tomwalters@0
|
423 after the onset of the sound, because of overshoot in the neural
|
tomwalters@0
|
424 encoding stage of AIM. But thereafter, it would suppress temporal
|
tomwalters@0
|
425 integration throughout the rise of the NAP function and strobe once at
|
tomwalters@0
|
426 the end of the rise. Thus the auditory image would be empty at a time
|
tomwalters@0
|
427 when we know the listener would hear the tone. To solve this problem,
|
tomwalters@0
|
428 the strobe lag of the local max mechanism is limited to twice the
|
tomwalters@0
|
429 stlag_ai value; that is, after a NAP pulse becomes a strobe candidate,
|
tomwalters@0
|
430 either that NAP pulse or a larger one must initiate temporal
|
tomwalters@0
|
431 integration within the next 2*stlag_ai ms. So the strobe lag restricts
|
tomwalters@0
|
432 not only the maximum strobe rate for static sinusoids, but also the
|
tomwalters@0
|
433 minimum strobe rate for slowly increasing sinusoids.
|
tomwalters@0
|
434
|
tomwalters@0
|
435
|
tomwalters@0
|
436 6. Aperiodic Strobing and Irregularity in the Auditory Image.
|
tomwalters@0
|
437
|
tomwalters@0
|
438 To this point, the discussion of strobe criteria has focussed
|
tomwalters@0
|
439 on activity in the carrier channel of the NAP and auditory image, and
|
tomwalters@0
|
440 the relationship between strobe criteria and the preservation of NAP
|
tomwalters@0
|
441 asymmetry through temporal integration. It was noted in passing,
|
tomwalters@0
|
442 that, away from the carrier channel, auditory images of ramped sounds
|
tomwalters@0
|
443 have fringes of irregular activity, for all strobe criteria prior to
|
tomwalters@0
|
444 the local max criterion. We might expect such fringes to impart a
|
tomwalters@0
|
445 roughness or noisy quality to the perception of ramped sounds, but
|
tomwalters@0
|
446 typically they are static and clear. In this final Section, the
|
tomwalters@0
|
447 activity produced by a ramped sinusoid in the 640 Hz channel of the
|
tomwalters@0
|
448 NAP and auditory image is examined, to illustrate the relationship
|
tomwalters@0
|
449 between strobe restrictions and the fringe of irregularity in the
|
tomwalters@0
|
450 auditory image.
|
tomwalters@0
|
451
|
tomwalters@0
|
452 The NAP produced in the 640 Hz channel of the filterbank by a
|
tomwalters@0
|
453 ramped sinusoid with an 800-Hz carrier, a 25-ms envelope period, and a
|
tomwalters@0
|
454 4-ms half life is shown in Figure 6.1. The level of the ramped
|
tomwalters@0
|
455 sinusoid rises rapidly, relative to the decay rate of the impulse
|
tomwalters@0
|
456 response of the auditory filter and, as a result, the activity in the
|
tomwalters@0
|
457 rising part of the NAP is dominated by carrier-period time intervals
|
tomwalters@0
|
458 (Patterson, 1994a). When the amplitude of the ramped sinusoid drops
|
tomwalters@0
|
459 abruptly, the energy stored in the filter decays away in a wave with
|
tomwalters@0
|
460 periods appropriate to the centre frequency of the channel. Now
|
tomwalters@0
|
461 consider the activity produced by this NAP in the 640-Hz channel of
|
tomwalters@0
|
462 the auditory image for strobe criteria 2, 3 and 4, the 'every peak',
|
tomwalters@0
|
463 'temporal shaddow,' and 'local max' criteria, respectively.
|
tomwalters@0
|
464
|
tomwalters@0
|
465 Figure 6.2a shows the case where there is no adaptive
|
tomwalters@0
|
466 threshold and the mechanism strobes on the peak of every NAP pulse.
|
tomwalters@0
|
467 This is the version of STI most similar to autocorrelation. Strobing
|
tomwalters@0
|
468 on every peak causes carrier periods from the ramp to be mixed with
|
tomwalters@0
|
469 centre-frequency periods after the offset of the ramp. This is the
|
tomwalters@0
|
470 source of the irregularity in Fig. 6.2a, and the source of the
|
tomwalters@0
|
471 irregular fringe in the full auditory image (Fig. 4.5a) (Allerhand and
|
tomwalters@0
|
472 Patterson, 1992).
|
tomwalters@0
|
473
|
tomwalters@0
|
474 The activity produced with the temporal shadow criterion is
|
tomwalters@0
|
475 shown in the Figure 6.2b. The adaptive threshold function and the
|
tomwalters@0
|
476 strobe points shown with the NAP in Fig. 6.1 were generated with the
|
tomwalters@0
|
477 temporal shaddow criterion. In this case, the mechanism initiates
|
tomwalters@0
|
478 temporal integration on each peak in the ramped portion of the NAP,
|
tomwalters@0
|
479 but it skips the peaks associated with the ringing of the filter after
|
tomwalters@0
|
480 the ramp terminates. Strobing occurs in synchrony with the carrier
|
tomwalters@0
|
481 periods in the ramped portion of the NAP and this removes the
|
tomwalters@0
|
482 irregularity from the ramped portion of the auditory image between 0
|
tomwalters@0
|
483 ms and about 10 ms. There is still irregularity in the region from 0
|
tomwalters@0
|
484 to -10 ms, and in the region from 25 to 15 ms, because strobing in
|
tomwalters@0
|
485 synchrony with the carrier period mixes carrier periods and centre
|
tomwalters@0
|
486 frequency periods in this region of the image.
|
tomwalters@0
|
487
|
tomwalters@0
|
488 A further improvement occurs when the local max criterion is
|
tomwalters@0
|
489 introduced and strobing on successive carrier periods of the ramped
|
tomwalters@0
|
490 section of the NAP is suppressed. The activity in the 640-Hz channel
|
tomwalters@0
|
491 of the image is shown in Figure 6.2c. The irregular activity has been
|
tomwalters@0
|
492 removed; the image shows carrier periods to the left of the 0-ms point
|
tomwalters@0
|
493 and centre frequency periods to the right of the 0-ms point. Thus,
|
tomwalters@0
|
494 strobing on local maxima synchronises temporal integration to the
|
tomwalters@0
|
495 period of the wave and preserves not only the basic asymmetry of the
|
tomwalters@0
|
496 NAP, but also the contrasting time interval patterns associated with
|
tomwalters@0
|
497 different sections of the NAP cycle.
|
tomwalters@0
|
498
|
tomwalters@0
|
499
|
tomwalters@0
|
500
|
tomwalters@0
|
501 REFERENCES
|
tomwalters@0
|
502
|
tomwalters@0
|
503 Akeroyd, M.A. and Patterson, R.D. (1995). "Discrimination of wideband
|
tomwalters@0
|
504 noises modulated by a temporally asymmetric function,"
|
tomwalters@0
|
505 J. Acoust. Soc. Am. (in press).
|
tomwalters@0
|
506
|
tomwalters@0
|
507 Assman, P. F. and Q. Summerfield (1990). "Modelling the perception of
|
tomwalters@0
|
508 concurrent vowels: Vowels with different fundamental frequencies,"
|
tomwalters@0
|
509 J. Acoust. Soc. Am. 88, 680-697.
|
tomwalters@0
|
510
|
tomwalters@0
|
511 Brown, G.J. and Cooke, M. (1994). "Computational auditory scene
|
tomwalters@0
|
512 analysis," Computer Speech and Language 8, 297-336.
|
tomwalters@0
|
513
|
tomwalters@0
|
514 Irino, T. and Patterson, R.D. (1996). "Temporal asymmetry in the
|
tomwalters@0
|
515 auditory system," J. Acoust. Soc. Am. (revision submitted
|
tomwalters@0
|
516 August 95).
|
tomwalters@0
|
517
|
tomwalters@0
|
518 McKeown, D. and Patterson, R.D. (1995). "The time course of auditory
|
tomwalters@0
|
519 segregation: concurrant vowels that vary in duration,"
|
tomwalters@0
|
520 J. Acoust. Soc. Am. (in press).
|
tomwalters@0
|
521
|
tomwalters@0
|
522 Meddis, R. and M. J. Hewitt (1991a). "Virtual pitch and phase
|
tomwalters@0
|
523 sensitivity of a computer model of the auditory periphery: I
|
tomwalters@0
|
524 pitch identification," J. Acoust. Soc. Am. 89, 2866-82.
|
tomwalters@0
|
525
|
tomwalters@0
|
526 Meddis, R. and M. J. Hewitt (1991b). "Virtual pitch and phase
|
tomwalters@0
|
527 sensitivity of a computer model of the auditory periphery: II
|
tomwalters@0
|
528 phase sensitivity," J. Acoust. Soc. Am. 89, 2883-94.
|
tomwalters@0
|
529
|
tomwalters@0
|
530 Patterson, R.D. (1987b). "A pulse ribbon model of monaural
|
tomwalters@0
|
531 phase perception," J. Acoust. Soc. Am. 82, 1560-1586.
|
tomwalters@0
|
532
|
tomwalters@0
|
533 Patterson, R.D., Robinson, K., Holdsworth, J., McKeown, D., Zhang,
|
tomwalters@0
|
534 C. and Allerhand M. (1992) "Complex sounds and auditory images,"
|
tomwalters@0
|
535 In: Auditory physiology and perception, Y Cazals, L. Demany,
|
tomwalters@0
|
536 K. Horner (eds), Pergamon, Oxford, 429-446.
|
tomwalters@0
|
537
|
tomwalters@0
|
538 Patterson, R.D. (1994a). "The sound of a sinusoid: Spectral models,"
|
tomwalters@0
|
539 J. Acoust. Soc. Am. 96, 1409-1418.
|
tomwalters@0
|
540
|
tomwalters@0
|
541 Patterson, R.D. (1994b). "The sound of a sinusoid: Time-interval
|
tomwalters@0
|
542 models." J. Acoust. Soc. Am. 96, 1419-1428.
|
tomwalters@0
|
543
|
tomwalters@0
|
544 Patterson, R.D. and Akeroyd, M. A. (1995). "Time-interval patterns and
|
tomwalters@0
|
545 sound quality," in: Advances in Hearing Research: Proceedings of
|
tomwalters@0
|
546 the 10th International Symposium on Hearing, G. Manley, G. Klump,
|
tomwalters@0
|
547 C. Koppl, H. Fastl, & H. Oeckinghaus, (Eds). World Scientific,
|
tomwalters@0
|
548 Singapore, (in press).
|
tomwalters@0
|
549
|
tomwalters@0
|
550 Patterson, R.D., Allerhand, M., and Giguere, C., (1995). "Time-domain
|
tomwalters@0
|
551 modelling of peripheral auditory processing: A modular architecture
|
tomwalters@0
|
552 and a software platform," J. Acoust. Soc. Am. 98, (in press).
|
tomwalters@0
|
553
|
tomwalters@0
|
554 Robinson, K.L. & Patterson, R.D. (1995a) "The duration required to
|
tomwalters@0
|
555 identify the instrument, the octave, or the pitch-chroma of a
|
tomwalters@0
|
556 musical note," Music Perception (in press).
|
tomwalters@0
|
557
|
tomwalters@0
|
558 Robinson, K.L. & Patterson, R.D. (1995b) "The stimulus duration required to
|
tomwalters@0
|
559 identify vowels, their octave, and their pitch-chroma," J. Acoust. Soc.
|
tomwalters@0
|
560 Am 98, (in press).
|
tomwalters@0
|
561
|
tomwalters@0
|
562 Slaney, M. and Lyon, R.F. (1990). "A perceptual pitch detector," in
|
tomwalters@0
|
563 Proc. IEEE Int. Conf. Acoust. Speech Signal Processing,
|
tomwalters@0
|
564 Albuquerque, New Mexico.
|
tomwalters@0
|
565
|
tomwalters@0
|
566
|
tomwalters@0
|
567
|
tomwalters@0
|
568
|
tomwalters@0
|
569 ===========================================================================
|
tomwalters@0
|
570 #!/bin/sh
|
tomwalters@0
|
571
|
tomwalters@0
|
572 # script/aimStrobeCriterion
|
tomwalters@0
|
573 # Annotated script for generating the figures in docs/aimStrobeCriterion
|
tomwalters@0
|
574
|
tomwalters@0
|
575 echo "FIGURES FOR SECTION 0"
|
tomwalters@0
|
576
|
tomwalters@0
|
577 mv .gennaprc .oldgennaprc # a safety precaution
|
tomwalters@0
|
578 mv .gensairc .oldgensairc # a safety precaution
|
tomwalters@0
|
579 echo | gennap powc=off -update # make sure that powc is off
|
tomwalters@0
|
580 echo | gensai powc=off -update # make sure that powc is off
|
tomwalters@0
|
581
|
tomwalters@0
|
582 echo
|
tomwalters@0
|
583 echo "FIGURES FOR SECTION 0"
|
tomwalters@0
|
584 echo "Figure 0.1: Neural Activity Pattern (NAP) of cegc"
|
tomwalters@0
|
585 gennap input=cegc_br top=3000 swap=off bits=12 gain_gtf=4 # all default values
|
tomwalters@0
|
586
|
tomwalters@0
|
587 echo "Figure 0.2: Stabilised Auditory Image (SAI) of cegc"
|
tomwalters@0
|
588 gensai stcrit=3 input=cegc_br length=100ms frstep_aid=96ms top=2500
|
tomwalters@0
|
589
|
tomwalters@0
|
590 echo
|
tomwalters@0
|
591 echo "FIGURES FOR SECTION 1"
|
tomwalters@0
|
592
|
tomwalters@0
|
593 echo "Figure 1.1 SAI of cegc strobing on every non-zero point in the NAP"
|
tomwalters@0
|
594 echo " (stcrit_ai=1). This one is slow to calculate."
|
tomwalters@0
|
595 gensai stcrit_ai=1 top=17000 input=cegc_br length=100ms frstep_aid=96ms
|
tomwalters@0
|
596
|
tomwalters@0
|
597 # Top has to be raised because this strobe criterion causes constant
|
tomwalters@0
|
598 # temporal integration.
|
tomwalters@0
|
599
|
tomwalters@0
|
600
|
tomwalters@0
|
601 echo "Figure 1.2: SAI via autocorrelation -- a correlogram"
|
tomwalters@0
|
602 echo | gennap input=cegc_br display=off length=125ms top=3000 output=stdout > cegc_br_gtf.nap
|
tomwalters@0
|
603 #gennap -use start=48 display=on cegc_br_gtf # optional display of the NAP
|
tomwalters@0
|
604 # After making a NAP with display=off, gennap -use requires you to set display=on.
|
tomwalters@0
|
605
|
tomwalters@0
|
606 acgram start=50 wid=70ms lag=35ms frames=1 scale=.02 cegc_br_gtf.nap > cegc_gtf.sai
|
tomwalters@0
|
607 gensai -use top=5000 input=cegc_gtf
|
tomwalters@0
|
608
|
tomwalters@0
|
609 rm cegc_br_gtf.nap cegc_gtf.sai
|
tomwalters@0
|
610
|
tomwalters@0
|
611 echo
|
tomwalters@0
|
612 echo "FIGURES FOR SECTION 2"
|
tomwalters@0
|
613
|
tomwalters@0
|
614 echo "Figure 2.1: SAI of cegc strobing on the peak of every NAP pulse"
|
tomwalters@0
|
615 echo " (stcrit_ai=2)"
|
tomwalters@0
|
616 gensai stcrit_ai=2 top=10000 input=cegc_br length=100ms frstep_aid=96ms
|
tomwalters@0
|
617
|
tomwalters@0
|
618 echo
|
tomwalters@0
|
619 echo "FIGURES FOR SECTION 3"
|
tomwalters@0
|
620
|
tomwalters@0
|
621 echo "Demonstration of preservation of asymmetry when stthresh is elevated"
|
tomwalters@0
|
622 # Note stthresh only operates when stcrit_ai=1.
|
tomwalters@0
|
623 gensai stcrit_ai=1 top=5000 input=cegc_br length=68ms frstep_aid=66ms stthresh_ai=5000
|
tomwalters@0
|
624
|
tomwalters@0
|
625 echo "Figure 3.1: NAP of cegc with temporal shaddow criterion (stcrit_ai=3)"
|
tomwalters@0
|
626 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
627 StrobeCriterionDisplay cegc_br 1000 100 3 2.5 17000 2000
|
tomwalters@0
|
628
|
tomwalters@0
|
629 # Type 'StrobeCriterionDisplay -help' for a listing of the options and
|
tomwalters@0
|
630 # their order.
|
tomwalters@0
|
631 # Control of Xplots:
|
tomwalters@0
|
632 # Click mouse button 1 to display coordinates of points.
|
tomwalters@0
|
633 # Click mouse button 2 to redraw.
|
tomwalters@0
|
634 # Click mouse button 3 to remove the display (i.e. quit).
|
tomwalters@0
|
635
|
tomwalters@0
|
636 echo
|
tomwalters@0
|
637 echo "FIGURES FOR SECTION 4"
|
tomwalters@0
|
638
|
tomwalters@0
|
639 echo "Figure 4.1a: Waveform of Damped Sinusoid (4 cycles)"
|
tomwalters@0
|
640 genwav top=14000 bottom=-14000 length=100ms input=dr_f8_t4_d swap=on
|
tomwalters@0
|
641
|
tomwalters@0
|
642 echo "Figure 4.2a: Waveform of Ramped Sinusoid (4 cycles)"
|
tomwalters@0
|
643 genwav top=14000 bottom=-14000 length=100ms input=dr_f8_t4_r swap=on
|
tomwalters@0
|
644
|
tomwalters@0
|
645 echo "Figure 4.1b: NAP of the Damped Sinusoid (2 cycles)"
|
tomwalters@0
|
646 gennap input=dr_f8_t4_d gain_gtf=0.0626 bits=16 top=2000 mincf=400 maxcf=1600 swap=on length=110ms output=stdout display=off > damped.nap
|
tomwalters@0
|
647 gennap -use start=50 leng=50 display=on damped
|
tomwalters@0
|
648
|
tomwalters@0
|
649 echo "Figure 4.2b: NAP of the Ramped Sinusoid (2 cycles)"
|
tomwalters@0
|
650 gennap input=dr_f8_t4_r gain_gtf=0.0626 bits=16 top=2000 mincf=400 maxcf=1600 swap=on length=110ms output=stdout display=off > ramped.nap
|
tomwalters@0
|
651 gennap -use start=60 leng=50 display=on ramped
|
tomwalters@0
|
652
|
tomwalters@0
|
653 rm damped.nap ramped.nap
|
tomwalters@0
|
654
|
tomwalters@0
|
655 echo "Figure 4.3a: SAI of the Damped Sinusoid strobing on every NAP peak"
|
tomwalters@0
|
656 echo " (stcrit_ai=2)"
|
tomwalters@0
|
657 gensai input=dr_f8_t4_d gain_gtf=0.0625 bits=16 top=7000 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=2 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
658
|
tomwalters@0
|
659 echo "Figure 4.4a: SAI of the Ramped Sinusoid strobing on every NAP peak"
|
tomwalters@0
|
660 echo " (stcrit_ai=2)"
|
tomwalters@0
|
661 gensai input=dr_f8_t4_r gain_gtf=0.0625 bits=16 top=7000 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=2 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
662
|
tomwalters@0
|
663 echo "Figure 4.3b: SAI of the Damped Sinusoid with temporal shaddow criterion"
|
tomwalters@0
|
664 echo " (stcrit_ai=3)"
|
tomwalters@0
|
665 gensai input=dr_f8_t4_d gain_gtf=0.0625 bits=16 top=1000 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=3 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
666
|
tomwalters@0
|
667 echo "Figure 4.4b: SAI of the Ramped Sinusoid with temporal shaddow criterion"
|
tomwalters@0
|
668 echo " (stcrit_ai=3)"
|
tomwalters@0
|
669 gensai input=dr_f8_t4_r gain_gtf=0.0625 bits=16 top=2000 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=3 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
670
|
tomwalters@0
|
671 echo "Figure 4.3c: SAI of the Damped Sinusoid with the local max criterion"
|
tomwalters@0
|
672 echo " (stcrit_ai=4)"
|
tomwalters@0
|
673 gensai input=dr_f8_t4_d gain_gtf=0.0625 bits=16 top=800 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=4 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
674
|
tomwalters@0
|
675 echo "Figure 4.4c: SAI of the Ramped Sinusoid with the local max criterion"
|
tomwalters@0
|
676 echo " (stcrit_ai=4)"
|
tomwalters@0
|
677 gensai input=dr_f8_t4_r gain_gtf=0.0625 bits=16 top=800 mincf=400 maxcf=1600 swap=on length=140ms frstep_aid=135ms stcrit=4 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
678
|
tomwalters@0
|
679 echo | gennap swap=on bits=16 gain_gtf=0.0625 -update
|
tomwalters@0
|
680 echo | gensai swap=on bits=16 gain_gtf=0.0625 -update
|
tomwalters@0
|
681
|
tomwalters@0
|
682
|
tomwalters@0
|
683 echo "Figure 4.5a: NAP of Damped Sinusoid, temporal shaddow criterion (stcrit_ai=3)"
|
tomwalters@0
|
684 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
685 StrobeCriterionDisplay dr_f8_t4_d 800 120 3 2.5 14000 2400
|
tomwalters@0
|
686
|
tomwalters@0
|
687 echo "Figure 4.5b: NAP of Damped Sinusoid, local max criterion (stcrit_ai=4)"
|
tomwalters@0
|
688 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
689 StrobeCriterionDisplay dr_f8_t4_d 800 120 4 2.5 14000 2400
|
tomwalters@0
|
690
|
tomwalters@0
|
691 echo "Figure 4.6a: NAP of Ramped Sinusoid, temporal shaddow criterion (stcrit_ai=3)"
|
tomwalters@0
|
692 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
693 StrobeCriterionDisplay dr_f8_t4_r 800 120 3 2.5 7500 2400
|
tomwalters@0
|
694
|
tomwalters@0
|
695 echo "Figure 4.6b: NAP of Damped Sinusoid, local max criterion (stcrit_ai=4)"
|
tomwalters@0
|
696 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
697 StrobeCriterionDisplay dr_f8_t4_r 800 120 4 2.5 7500 2400
|
tomwalters@0
|
698
|
tomwalters@0
|
699 echo
|
tomwalters@0
|
700 echo "FIGURES FOR SECTION 5"
|
tomwalters@0
|
701
|
tomwalters@0
|
702 echo
|
tomwalters@0
|
703 echo "FIGURES FOR SECTION 6"
|
tomwalters@0
|
704
|
tomwalters@0
|
705 echo "Figure 6.1: NAP of Ramped Sinusoid, temporal shaddow criterion (stcrit_ai=3)"
|
tomwalters@0
|
706 echo " Single Channel NAP with Strobe Threshold and Strobe Points below NAP"
|
tomwalters@0
|
707 StrobeCriterionDisplay dr_f8_t4_r 640 120 3 2.5 7000 2000
|
tomwalters@0
|
708
|
tomwalters@0
|
709 echo "Figure 6.2a: SAI of Ramped Sinusoid in channel centred on 640Hz (stcrit_ai=2)"
|
tomwalters@0
|
710 gensai input=dr_f8_t4_r swap=on gain_gtf=0.0625 bits=16 top=32000 mincf=640Hz chan=1 start=10ms length=110ms frstep_aid=100ms stcrit=2 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
711
|
tomwalters@0
|
712 echo "Figure 6.2b: SAI of Ramped Sinusoid in channel centred on 640Hz (stcrit_ai=3)"
|
tomwalters@0
|
713 gensai input=dr_f8_t4_r swap=on gain_gtf=0.0625 bits=16 top=10000 mincf=640Hz chan=1 start=10ms length=110ms frstep_aid=100ms stcrit=3 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
714 echo "Figure 6.2c: SAI of Ramped Sinusoid in channel centred on 640Hz (stcrit_ai=4)"
|
tomwalters@0
|
715 gensai input=dr_f8_t4_r swap=on gain_gtf=0.0625 bits=16 top=1200 mincf=640Hz chan=1 start=10ms length=110ms frstep_aid=100ms stcrit=4 pwid=30ms nwid=-10ms stlag=10ms stdecay=2.5
|
tomwalters@0
|
716
|
tomwalters@0
|
717
|