rsc3/doc/rsc3-docs/doc-index.html

191 lines
No EOL
70 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=0.8"/><title>Index</title><link rel="stylesheet" type="text/css" href="scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="manual-racket.css" title="default"/><script type="text/javascript" src="scribble-common.js"></script><script type="text/javascript" src="manual-racket.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="scribble-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9660;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">rsc3:<span class="mywbr"> &nbsp;</span> racket/<span class="mywbr"> &nbsp;</span>scheme/<span class="mywbr"> &nbsp;</span>supercollider</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="rsc3__server_commands.html" class="tocviewlink" data-pltdoc="x">rsc3:<span class="mywbr"> &nbsp;</span> server commands</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="rsc3__ugens.html" class="tocviewlink" data-pltdoc="x">rsc3:<span class="mywbr"> &nbsp;</span> ugens</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="rsc3__tutorials.html" class="tocviewlink" data-pltdoc="x">rsc3:<span class="mywbr"> &nbsp;</span> tutorials</a></td></tr><tr><td align="right"></td><td><a href="" class="tocviewselflink" data-pltdoc="x">Index</a></td></tr></table></div></div></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><div class="nosearchform"></div>&nbsp;&nbsp;<span class="tocsettoggle">&nbsp;&nbsp;<a href="javascript:void(0);" title="show/hide table of contents" onclick="TocsetToggle();">contents</a></span></span><span class="navright">&nbsp;&nbsp;<a href="rsc3__tutorials.html" title="backward to &quot;3 rsc3: tutorials&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;rsc3: racket/scheme/supercollider&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<span class="nonavigation">next &rarr;</span></span>&nbsp;</div><h3><a name="(part._doc-index)"></a>Index</h3><table cellspacing="0" cellpadding="0"><tr><td><p><span class="nonavigation">A</span> <span class="nonavigation">B</span> <span class="nonavigation">C</span> <span class="nonavigation">D</span> <span class="nonavigation">E</span> <span class="nonavigation">F</span> <span class="nonavigation">G</span> <span class="nonavigation">H</span> <span class="nonavigation">I</span> <span class="nonavigation">J</span> <span class="nonavigation">K</span> <span class="nonavigation">L</span> <span class="nonavigation">M</span> <a href="#alpha:N">N</a> <span class="nonavigation">O</span> <span class="nonavigation">P</span> <span class="nonavigation">Q</span> <a href="#alpha:R">R</a> <a href="#alpha:S">S</a> <span class="nonavigation">T</span> <span class="nonavigation">U</span> <span class="nonavigation">V</span> <span class="nonavigation">W</span> <span class="nonavigation">X</span> <span class="nonavigation">Y</span> <span class="nonavigation">Z</span> </p></td></tr><tr><td><p>&nbsp;</p></td></tr><tr><td><p><a href="rsc3__ugens.html#%28part.__abs_a_%29" class="indexlink" data-pltdoc="x">(abs a)<br/></a><a href="rsc3__ugens.html#%28part.__abs-dif_a_b_%29" class="indexlink" data-pltdoc="x">(abs-dif a b)<br/></a><a href="rsc3__ugens.html#%28part.__add_a_b_%29" class="indexlink" data-pltdoc="x">(add a b)<br/></a><a href="rsc3__ugens.html#%28part.__allpass-n_in_max.Delay.Time_delay.Time_decay.Time_%29" class="indexlink" data-pltdoc="x">(allpass-n in maxDelayTime delayTime decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__am-clip_a_b_%29" class="indexlink" data-pltdoc="x">(am-clip a b)<br/></a><a href="rsc3__ugens.html#%28part.__amp-comp_freq_root_exp_%29" class="indexlink" data-pltdoc="x">(amp-comp freq root exp)<br/></a><a href="rsc3__ugens.html#%28part.__amp-comp.A_freq_root_min.Amp_root.Amp_%29" class="indexlink" data-pltdoc="x">(amp-compA freq root minAmp rootAmp)<br/></a><a href="rsc3__ugens.html#%28part.__amp-db_a_%29" class="indexlink" data-pltdoc="x">(amp-db a)<br/></a><a href="rsc3__ugens.html#%28part.__amplitude_rate_in_attack.Time_release.Time_%29" class="indexlink" data-pltdoc="x">(amplitude rate in attackTime releaseTime)<br/></a><a href="rsc3__ugens.html#%28part.__arc-cos_a_%29" class="indexlink" data-pltdoc="x">(arc-cos a)<br/></a><a href="rsc3__ugens.html#%28part.__arc-sin_a_%29" class="indexlink" data-pltdoc="x">(arc-sin a)<br/></a><a href="rsc3__ugens.html#%28part.__arc-tan_a_%29" class="indexlink" data-pltdoc="x">(arc-tan a)<br/></a><a href="rsc3__ugens.html#%28part.__.Atan2_x_y_%29" class="indexlink" data-pltdoc="x">(Atan2 x y)<br/></a><a href="rsc3__ugens.html#%28part.__ball_in_g_damp_friction_%29" class="indexlink" data-pltdoc="x">(ball in g damp friction)<br/></a><a href="rsc3__ugens.html#%28part.__bpf_in_freq_rq_%29" class="indexlink" data-pltdoc="x">(bpf in freq rq)<br/></a><a href="rsc3__ugens.html#%28part.__bpz2_in_%29" class="indexlink" data-pltdoc="x">(bpz2 in)<br/></a><a href="rsc3__ugens.html#%28part.__brf_in_freq_rq_%29" class="indexlink" data-pltdoc="x">(brf in freq rq)<br/></a><a href="rsc3__ugens.html#%28part.__brown-noise_rate_%29" class="indexlink" data-pltdoc="x">(brown-noise rate)<br/></a><a href="rsc3__ugens.html#%28part.__brz2_in_%29" class="indexlink" data-pltdoc="x">(brz2 in)<br/></a><a href="rsc3__ugens.html#%28part.__buf-allpass-c_buf_in_delaytime_decaytime_%29" class="indexlink" data-pltdoc="x">(buf-allpass-c buf in delaytime decaytime)<br/></a><a href="rsc3__ugens.html#%28part.__buf-channels_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(buf-channels rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__buf-comb-c_buf_in_delaytime_decaytime_%29" class="indexlink" data-pltdoc="x">(buf-comb-c buf in delaytime decaytime)<br/></a><a href="rsc3__ugens.html#%28part.__buf-delay-c_buf_in_delaytime_%29" class="indexlink" data-pltdoc="x">(buf-delay-c buf in delaytime)<br/></a><a href="rsc3__ugens.html#%28part.__buf-dur_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(buf-dur rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__buf-frames_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(buf-frames rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__buf-rate-scale_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(buf-rate-scale rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__buf-rd_num.Channels_rate_bufnum_phase_loop_interpolation_%29" class="indexlink" data-pltdoc="x">(buf-rd numChannels rate bufnum phase loop interpolation)<br/></a><a href="rsc3__ugens.html#%28part.__buf-sample-rate_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(buf-sample-rate rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__ceil_a_%29" class="indexlink" data-pltdoc="x">(ceil a)<br/></a><a href="rsc3__ugens.html#%28part.__clip_in_lo_hi_%29" class="indexlink" data-pltdoc="x">(clip in lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__clip-noise_rate_%29" class="indexlink" data-pltdoc="x">(clip-noise rate)<br/></a><a href="rsc3__ugens.html#%28part.__clip2_a_b_%29" class="indexlink" data-pltdoc="x">(clip2 a b)<br/></a><a href="rsc3__ugens.html#%28part.__coin-gate_prob_in_%29" class="indexlink" data-pltdoc="x">(coin-gate prob in)<br/></a><a href="rsc3__ugens.html#%28part.__comb-n_in_max.Delay.Time_delay.Time_decay.Time_%29" class="indexlink" data-pltdoc="x">(comb-n in maxDelayTime delayTime decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__compander_input_control_thresh_slope.Below_slope.Above_clamp.Time_relax.Time_%29" class="indexlink" data-pltdoc="x">(compander input control thresh slopeBelow slopeAbove clampTime relaxTime)<br/></a><a href="rsc3__ugens.html#%28part.__convolution_in_kernel_framesize_%29" class="indexlink" data-pltdoc="x">(convolution in kernel framesize)<br/></a><a href="rsc3__ugens.html#%28part.__convolution2_in_bufnum_trigger_framesize_______.Strict_convolution_with_fixed_kernel_which_can_be_updated_using_a_trigger_signal___in________-_processing_target_bufnum____-_buffer_index_for_the_fixed_kernel__may_be_modulated_in_____________combination_with_the_trigger_trigger___-_update_the_kernel_on_a_change_from__~3d0_to__0_framesize_-_size_of_fft_frame__must_be_a_power_of_two__convolution_____________uses_twice_this_number_internally__maximum_value_you_____________can_give_this_argument_is_2_16~3d65536__.Note_that_it_gets_____________progressively_more_expensive_to_run_for_higher_powers______________512__1024__2048__4096_standard________with-sc3___lambda__fd______for-each______lambda__b_________async_fd__b-alloc_b_2048_1_________list_10_11_12_______for-each______lambda__n_________send_fd__b-set1_10_______400_n__100__1_________enum-from-to_0_2_______for-each______lambda__n_________send_fd__b-set1_11_______20_n__10___random_0_1__________enum-from-to_0_49_______for-each______lambda__n_________send_fd__b-set1_12_______40_n__20__1_________enum-from-to_0_19_______send-synth_____fd__c_______letc___k_0___t_0__________let___i__impulse_ar_1_0_____________out_0__mul__convolution2_i_k_t_2048__0_5__________define_send-to____lambda__m_______with-sc3_______lambda__fd__________send_fd_m________define_async-to____lambda__m_______with-sc3_______lambda__fd__________async_fd_m________send-to__s-new1__c__1001_1_1__k__10_____send-to__n-set1_1001__k__11____send-to__n-set1_1001__t__0____send-to__n-set1_1001__t__1_____send-to__n-set1_1001__k__12____send-to__n-set1_1001__t__0____send-to__n-set1_1001__t__1_____async-to__b-zero_12_____for-each___lambda__n______send-to__b-set1_12_______20__n__10___1______enum-from-to_0_39_____send-to__n-set1_1001__t__0____send-to__n-set1_1001__t__1__%29" class="indexlink" data-pltdoc="x">(convolution2 in bufnum trigger framesize)
#|
Strict convolution with fixed kernel which can be updated using a
trigger signal.
in - processing target
bufnum - buffer index for the fixed kernel, may be modulated in
combination with the trigger
trigger - update the kernel on a change from &lt;=0 to &gt;0
framesize - size of fft frame, must be a power of two. convolution
uses twice this number internally, maximum value you
can give this argument is 2^16=65536. Note that it gets
progressively more expensive to run for higher powers!
512, 1024, 2048, 4096 standard.
|#
(with-sc3
(lambda (fd)
(for-each
(lambda (b)
(async fd (b-alloc b 2048 1)))
(list 10 11 12))
(for-each
(lambda (n)
(send fd (b-set1 10 (+ (* 400 n) 100) 1)))
(enum-from-to 0 2))
(for-each
(lambda (n)
(send fd (b-set1 11 (+ (* 20 n) 10) (random 0 1))))
(enum-from-to 0 49))
(for-each
(lambda (n)
(send fd (b-set1 12 (+ (* 40 n) 20) 1)))
(enum-from-to 0 19))
(send-synth
fd "c"
(letc ((k 0) (t 0))
(let ((i (impulse ar 1 0)))
(out 0 (mul (convolution2 i k t 2048) 0.5)))))))
(define send-to
(lambda (m)
(with-sc3
(lambda (fd)
(send fd m)))))
(define async-to
(lambda (m)
(with-sc3
(lambda (fd)
(async fd m)))))
(send-to (s-new1 "c" 1001 1 1 "k" 10))
(send-to (n-set1 1001 "k" 11))
(send-to (n-set1 1001 "t" 0))
(send-to (n-set1 1001 "t" 1))
(send-to (n-set1 1001 "k" 12))
(send-to (n-set1 1001 "t" 0))
(send-to (n-set1 1001 "t" 1))
(async-to (b-zero 12))
(for-each
(lambda (n)
(send-to (b-set1 12 (+ (* 20 n) 10) 1)))
(enum-from-to 0 39))
(send-to (n-set1 1001 "t" 0))
(send-to (n-set1 1001 "t" 1))<br/></a><a href="rsc3__ugens.html#%28part.__cos_a_%29" class="indexlink" data-pltdoc="x">(cos a)<br/></a><a href="rsc3__ugens.html#%28part.__cos-h_a_%29" class="indexlink" data-pltdoc="x">(cos-h a)<br/></a><a href="rsc3__ugens.html#%28part.__cps-midi_a_%29" class="indexlink" data-pltdoc="x">(cps-midi a)<br/></a><a href="rsc3__ugens.html#%28part.__cps-oct_a_%29" class="indexlink" data-pltdoc="x">(cps-oct a)<br/></a><a href="rsc3__ugens.html#%28part.__crackle_rate_chaos.Param_%29" class="indexlink" data-pltdoc="x">(crackle rate chaosParam)<br/></a><a href="rsc3__ugens.html#%28part.__cubed_a_%29" class="indexlink" data-pltdoc="x">(cubed a)<br/></a><a href="rsc3__ugens.html#%28part.__cusp-n_rate_freq_a_b_xi_%29" class="indexlink" data-pltdoc="x">(cusp-n rate freq a b xi)<br/></a><a href="rsc3__ugens.html#%28part.__db-amp_a_%29" class="indexlink" data-pltdoc="x">(db-amp a)<br/></a><a href="rsc3__ugens.html#%28part.__dbrown__length_lo_hi_step_%29" class="indexlink" data-pltdoc="x">(dbrown length lo hi step)<br/></a><a href="rsc3__ugens.html#%28part.__dbufrd_bufnum_phase_loop_%29" class="indexlink" data-pltdoc="x">(dbufrd bufnum phase loop)<br/></a><a href="rsc3__ugens.html#%28part.__decay_in_decay.Time_%29" class="indexlink" data-pltdoc="x">(decay in decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__decay2_in_attack.Time_decay.Time_%29" class="indexlink" data-pltdoc="x">(decay2 in attackTime decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__decode-b2_num.Channels_w_x_y_orientation_%29" class="indexlink" data-pltdoc="x">(decode-b2 numChannels w x y orientation)<br/></a><a href="rsc3__ugens.html#%28part.__degree-to-key_bufnum_in_octave_%29" class="indexlink" data-pltdoc="x">(degree-to-key bufnum in octave)<br/></a><a href="rsc3__ugens.html#%28part.__delay-n_in_max.Delay.Time_delay.Time_%29" class="indexlink" data-pltdoc="x">(delay-n in maxDelayTime delayTime)<br/></a><a href="rsc3__ugens.html#%28part.__delay1_in_%29" class="indexlink" data-pltdoc="x">(delay1 in)<br/></a><a href="rsc3__ugens.html#%28part.__delay2_in_%29" class="indexlink" data-pltdoc="x">(delay2 in)<br/></a><a href="rsc3__ugens.html#%28part.__demand_trig_reset_ugens_%29" class="indexlink" data-pltdoc="x">(demand trig reset ugens)<br/></a><a href="rsc3__ugens.html#%28part.__demand-env-gen_rate_levels_times_shapes_curves_gate_reset%29" class="indexlink" data-pltdoc="x">(demand-env-gen rate levels times shapes curves gate reset<br/></a><a href="rsc3__ugens.html#%28part.__detect-silence_in_amp_time_done.Action_%29" class="indexlink" data-pltdoc="x">(detect-silence in amp time doneAction)<br/></a><a href="rsc3__ugens.html#%28part.__dgeom_length_start_grow_%29" class="indexlink" data-pltdoc="x">(dgeom length start grow)<br/></a><a href="rsc3__ugens.html#%28part.__dif-sqr_a_b_%29" class="indexlink" data-pltdoc="x">(dif-sqr a b)<br/></a><a href="rsc3__ugens.html#%28part.__disk-in_num-channels_rate_bufnum_%29" class="indexlink" data-pltdoc="x">(disk-in num-channels rate bufnum)<br/></a><a href="rsc3__ugens.html#%28part.__disk-out_bufnum_channels_%29" class="indexlink" data-pltdoc="x">(disk-out bufnum channels)<br/></a><a href="rsc3__ugens.html#%28part.__distort_a_%29" class="indexlink" data-pltdoc="x">(distort a)<br/></a><a href="rsc3__ugens.html#%28part.__done_src_%29" class="indexlink" data-pltdoc="x">(done src)<br/></a><a href="rsc3__ugens.html#%28part.__drand__length_array_%29" class="indexlink" data-pltdoc="x">(drand length array)<br/></a><a href="rsc3__ugens.html#%28part.__dseq_length_array_%29" class="indexlink" data-pltdoc="x">(dseq length array)<br/></a><a href="rsc3__ugens.html#%28part.__dser_length_array_%29" class="indexlink" data-pltdoc="x">(dser length array)<br/></a><a href="rsc3__ugens.html#%28part.__dseries_length_start_step_%29" class="indexlink" data-pltdoc="x">(dseries length start step)<br/></a><a href="rsc3__ugens.html#%28part.__dswitch_index_array_%29" class="indexlink" data-pltdoc="x">(dswitch index array)<br/></a><a href="rsc3__ugens.html#%28part.__dswitch1_index_array_%29" class="indexlink" data-pltdoc="x">(dswitch1 index array)<br/></a><a href="rsc3__ugens.html#%28part.__dust_rate_density_%29" class="indexlink" data-pltdoc="x">(dust rate density)<br/></a><a href="rsc3__ugens.html#%28part.__dust2_rate_density_%29" class="indexlink" data-pltdoc="x">(dust2 rate density)<br/></a><a href="rsc3__ugens.html#%28part.__duty_rate_duration_reset_done.Action_level_%29" class="indexlink" data-pltdoc="x">(duty rate duration reset doneAction level)<br/></a><a href="rsc3__ugens.html#%28part.__dwhite__length_lo_hi_%29" class="indexlink" data-pltdoc="x">(dwhite length lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__dyn-klank_in_freq.Scale_freq.Offset_decay.Scale_spec_%29" class="indexlink" data-pltdoc="x">(dyn-klank in freqScale freqOffset decayScale spec)<br/></a><a href="rsc3__ugens.html#%28part.__env-gen_rate_gate_level.Scale_level.Bias_time.Scale_done.Action_envelope_%29" class="indexlink" data-pltdoc="x">(env-gen rate gate levelScale levelBias timeScale doneAction envelope)<br/></a><a href="rsc3__ugens.html#%28part.__excess_a_b_%29" class="indexlink" data-pltdoc="x">(excess a b)<br/></a><a href="rsc3__ugens.html#%28part.__exp_a_%29" class="indexlink" data-pltdoc="x">(exp a)<br/></a><a href="rsc3__ugens.html#%28part.__exp-rand_lo_hi_%29" class="indexlink" data-pltdoc="x">(exp-rand lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__fb-sine-c_rate_freq_im_fb_a_c_xi_yi_%29" class="indexlink" data-pltdoc="x">(fb-sine-c rate freq im fb a c xi yi)<br/></a><a href="rsc3__ugens.html#%28part.__fdiv_a_b_%29" class="indexlink" data-pltdoc="x">(fdiv a b)<br/></a><a href="rsc3__ugens.html#%28part.__fft_buffer_in_hop_wintype_active_%29" class="indexlink" data-pltdoc="x">(fft buffer in hop wintype active)<br/></a><a href="rsc3__ugens.html#%28part.__fold_in_lo_hi_%29" class="indexlink" data-pltdoc="x">(fold in lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__fold2_a_b_%29" class="indexlink" data-pltdoc="x">(fold2 a b)<br/></a><a href="rsc3__ugens.html#%28part.__formlet_in_freq_attack.Time_decay.Time_%29" class="indexlink" data-pltdoc="x">(formlet in freq attackTime decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__fos_in_a0_a1_b1_%29" class="indexlink" data-pltdoc="x">(fos in a0 a1 b1)<br/></a><a href="rsc3__ugens.html#%28part.__frac_a_%29" class="indexlink" data-pltdoc="x">(frac a)<br/></a><a href="rsc3__ugens.html#%28part.__free_trig_node.I.D_%29" class="indexlink" data-pltdoc="x">(free trig nodeID)<br/></a><a href="rsc3__ugens.html#%28part.__free-self_src_%29" class="indexlink" data-pltdoc="x">(free-self src)<br/></a><a href="rsc3__ugens.html#%28part.__free-self-when-done_src_%29" class="indexlink" data-pltdoc="x">(free-self-when-done src)<br/></a><a href="rsc3__ugens.html#%28part.__free-verb_in_mix_room_damp_%29" class="indexlink" data-pltdoc="x">(free-verb in mix room damp)<br/></a><a href="rsc3__ugens.html#%28part.__freq-shift_input_shift_phase_%29" class="indexlink" data-pltdoc="x">(freq-shift input shift phase)<br/></a><a href="rsc3__ugens.html#%28part.__gate_in_trig_%29" class="indexlink" data-pltdoc="x">(gate in trig)<br/></a><a href="rsc3__ugens.html#%28part.__gbman-c_rate_freq_xi_yi_%29" class="indexlink" data-pltdoc="x">(gbman-c rate freq xi yi)<br/></a><a href="rsc3__ugens.html#%28part.__ge_a_b_%29" class="indexlink" data-pltdoc="x">(ge a b)<br/></a><a href="rsc3__ugens.html#%28part.__grain-buf_nc_tr_dur_sndbuf_rate_pos_interp_pan_envbuf_%29" class="indexlink" data-pltdoc="x">(grain-buf nc tr dur sndbuf rate pos interp pan envbuf)<br/></a><a href="rsc3__ugens.html#%28part.__grain-fm_nc_tr_dur_carfreq_modfreq_index_pan_envbuf_%29" class="indexlink" data-pltdoc="x">(grain-fm nc tr dur carfreq modfreq index pan envbuf)<br/></a><a href="rsc3__ugens.html#%28part.__grain-sin_nc_tr_dur_freq_pan_envbuf_%29" class="indexlink" data-pltdoc="x">(grain-sin nc tr dur freq pan envbuf)<br/></a><a href="rsc3__ugens.html#%28part.__.Grainin_nc_tr_dur_in_pan_envbuf_%29" class="indexlink" data-pltdoc="x">(Grainin nc tr dur in pan envbuf)<br/></a><a href="rsc3__ugens.html#%28part.__gray-noise_rate_%29" class="indexlink" data-pltdoc="x">(gray-noise rate)<br/></a><a href="rsc3__ugens.html#%28part.__gt_a_b_%29" class="indexlink" data-pltdoc="x">(gt a b)<br/></a><a href="rsc3__ugens.html#%28part.__hasher_in_%29" class="indexlink" data-pltdoc="x">(hasher in)<br/></a><a href="rsc3__ugens.html#%28part.__henon-n_rate_freq_a_b_x0_x1_%29" class="indexlink" data-pltdoc="x">(henon-n rate freq a b x0 x1)<br/></a><a href="rsc3__ugens.html#%28part.__hpf_in_freq_%29" class="indexlink" data-pltdoc="x">(hpf in freq)<br/></a><a href="rsc3__ugens.html#%28part.__hpz1_in_%29" class="indexlink" data-pltdoc="x">(hpz1 in)<br/></a><a href="rsc3__ugens.html#%28part.__hpz2_in_%29" class="indexlink" data-pltdoc="x">(hpz2 in)<br/></a><a href="rsc3__ugens.html#%28part.__hypot_x_y_%29" class="indexlink" data-pltdoc="x">(hypot x y)<br/></a><a href="rsc3__ugens.html#%28part.__i-rand_lo_hi_%29" class="indexlink" data-pltdoc="x">(i-rand lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__.Ifft_buffer_wintype_%29" class="indexlink" data-pltdoc="x">(Ifft buffer wintype)<br/></a><a href="rsc3__ugens.html#%28part.__import__rsc3__%29" class="indexlink" data-pltdoc="x">(import (rsc3))<br/></a><a href="rsc3__ugens.html#%28part.__import__rsc3_____audition__out_0__mul__blip_ar_440_200__0_15___%29" class="indexlink" data-pltdoc="x">(import (rsc3))
(audition (out 0 (mul (blip ar 440 200) 0.15)))<br/></a><a href="rsc3__ugens.html#%28part.__import__rsc3_____audition__out_0__mul__impulse_ar_800_0__0_1______let___f__x-line_kr_800_10_5_remove-synth_______audition__out_0__mul__impulse_ar_f_0_0__0_5_______let___f__mouse-y__kr_4_8_0_0_1__________p__mouse-x__kr_0_1_0_0_1_______audition__out_0__mul__impulse_ar_f__mce2_0_p___0_2____%29" class="indexlink" data-pltdoc="x">(import (rsc3))
(audition (out 0 (mul (impulse ar 800 0) 0.1)))
(let ((f (x-line kr 800 10 5 remove-synth)))
(audition (out 0 (mul (impulse ar f 0.0) 0.5))))
(let ((f (mouse-y* kr 4 8 0 0.1))
(p (mouse-x* kr 0 1 0 0.1)))
(audition (out 0 (mul (impulse ar f (mce2 0 p)) 0.2))))<br/></a><a href="rsc3__ugens.html#%28part.__import__rsc3_____with-sc3___lambda__fd______async_fd__b-alloc_10_512_1_______async_fd__b-gen1_10__sine1___list____1_2_4__1_1_2_1_3_1_4_1_5_1_6_1_7_1_8_1_9_1_10________audition__out_0__mul__c-osc_ar_10_200_0_7__0_25______audition__out_0__mul__c-osc_ar_10_200__mouse-x__kr_0_4_0_0_1___0_25___%29" class="indexlink" data-pltdoc="x">(import (rsc3))
(with-sc3
(lambda (fd)
(async fd (b-alloc 10 512 1))
(async fd (b-gen1 10 "sine1" (list (+ 1 2 4) 1 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10)))))
(audition (out 0 (mul (c-osc ar 10 200 0.7) 0.25)))
(audition (out 0 (mul (c-osc ar 10 200 (mouse-x* kr 0 4 0 0.1)) 0.25)))<br/></a><a href="rsc3__ugens.html#%28part.__import__sosc___rsc3__%29" class="indexlink" data-pltdoc="x">(import (sosc) (rsc3))<br/></a><a href="rsc3__ugens.html#%28part.__import__sosc___rsc3_____let___a__letc___r_1_______________let____r___mul__buf-rate-scale_kr_0__r______________________p__phasor_ar_0_r__0__buf-frames_kr_0__0______________________f__mul-add__lf-noise1_kr_2__300_400______________________i__mul__sin-osc_ar_f_0__0_1__________________mrg2__buf-wr_0_p_1_i______________________out_0_0_0_____________b__letc___r_1_______________let____r___mul__buf-rate-scale_kr_0__r______________________p__phasor_ar_0_r__0__buf-frames_kr_0__0__________________out_0__buf-rd_1_ar_0_p_1_2__________with-sc3_____lambda__fd________async_fd__b-alloc_0____44100_2__1_________send-synth_fd__a__a________send-synth_fd__b__b________send_fd__s-new0__a__1001_1_0_________send_fd__s-new0__b__1002_1_0________define__do-send_m_____with-sc3__lambda__fd___send_fd_m_______do-send__n-set1_1002__r__5_____do-send__n-set1_1001__r___random_0_2______do-send__n-set1_1002__r__2__%29" class="indexlink" data-pltdoc="x">(import (sosc) (rsc3))
(let ((a (letc ((r 1))
(let* ((r* (mul (buf-rate-scale kr 0) r))
(p (phasor ar 0 r* 0 (buf-frames kr 0) 0))
(f (mul-add (lf-noise1 kr 2) 300 400))
(i (mul (sin-osc ar f 0) 0.1)))
(mrg2 (buf-wr 0 p 1 i)
(out 0 0.0)))))
(b (letc ((r 1))
(let* ((r* (mul (buf-rate-scale kr 0) r))
(p (phasor ar 0 r* 0 (buf-frames kr 0) 0)))
(out 0 (buf-rd 1 ar 0 p 1 2))))))
(with-sc3
(lambda (fd)
(async fd (b-alloc 0 (* 44100 2) 1))
(send-synth fd "a" a)
(send-synth fd "b" b)
(send fd (s-new0 "a" 1001 1 0))
(send fd (s-new0 "b" 1002 1 0)))))
(define (do-send m)
(with-sc3 (lambda (fd) (send fd m))))
(do-send (n-set1 1002 "r" 5))
(do-send (n-set1 1001 "r" (random 0 2)))
(do-send (n-set1 1002 "r" 2))<br/></a><a href="rsc3__ugens.html#%28part.__in_num-channels_rate_bus_%29" class="indexlink" data-pltdoc="x">(in num-channels rate bus)<br/></a><a href="rsc3__ugens.html#%28part.__in-feedback_num-channels_bus_%29" class="indexlink" data-pltdoc="x">(in-feedback num-channels bus)<br/></a><a href="rsc3__ugens.html#%28part.__in-range_in_lo_hi_%29" class="indexlink" data-pltdoc="x">(in-range in lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__in-trig_num-channels_bus_%29" class="indexlink" data-pltdoc="x">(in-trig num-channels bus)<br/></a><a href="rsc3__ugens.html#%28part.__is-negative_a_%29" class="indexlink" data-pltdoc="x">(is-negative a)<br/></a><a href="rsc3__ugens.html#%28part.__is-positive_a_%29" class="indexlink" data-pltdoc="x">(is-positive a)<br/></a><a href="rsc3__ugens.html#%28part.__is-strictly-positive_a_%29" class="indexlink" data-pltdoc="x">(is-strictly-positive a)<br/></a><a href="rsc3__ugens.html#%28part.__k2a_in_%29" class="indexlink" data-pltdoc="x">(k2a in)<br/></a><a href="rsc3__ugens.html#%28part.__key-state_rate_keynum_minval_maxval_lag_%29" class="indexlink" data-pltdoc="x">(key-state rate keynum minval maxval lag)<br/></a><a href="rsc3__ugens.html#%28part.__klang_rate_freq.Scale_freq.Offset_spec_%29" class="indexlink" data-pltdoc="x">(klang rate freqScale freqOffset spec)<br/></a><a href="rsc3__ugens.html#%28part.__klank_in_freq.Scale_freq.Offset_decay.Scale_spec_%29" class="indexlink" data-pltdoc="x">(klank in freqScale freqOffset decayScale spec)<br/></a><a href="rsc3__ugens.html#%28part.__lag_in_lag.Time_%29" class="indexlink" data-pltdoc="x">(lag in lagTime)<br/></a><a href="rsc3__ugens.html#%28part.__lag-in_num-channels_bus_lag_%29" class="indexlink" data-pltdoc="x">(lag-in num-channels bus lag)<br/></a><a href="rsc3__ugens.html#%28part.__lag2_in_lag.Time_%29" class="indexlink" data-pltdoc="x">(lag2 in lagTime)<br/></a><a href="rsc3__ugens.html#%28part.__lag3_in_lag.Time_%29" class="indexlink" data-pltdoc="x">(lag3 in lagTime)<br/></a><a href="rsc3__ugens.html#%28part.__last-value_in_diff_%29" class="indexlink" data-pltdoc="x">(last-value in diff)<br/></a><a href="rsc3__ugens.html#%28part.__latch_in_trig_%29" class="indexlink" data-pltdoc="x">(latch in trig)<br/></a><a href="rsc3__ugens.html#%28part.__latoocarfian-c_rate_freq_a_b_c_d_xi_yi_%29" class="indexlink" data-pltdoc="x">(latoocarfian-c rate freq a b c d xi yi)<br/></a><a href="rsc3__ugens.html#%28part.__le_a_b_%29" class="indexlink" data-pltdoc="x">(le a b)<br/></a><a href="rsc3__ugens.html#%28part.__leak-dc_in_coef_%29" class="indexlink" data-pltdoc="x">(leak-dc in coef)<br/></a><a href="rsc3__ugens.html#%28part.__lf-cub_rate_freq_iphase_%29" class="indexlink" data-pltdoc="x">(lf-cub rate freq iphase)<br/></a><a href="rsc3__ugens.html#%28part.__lf-noise0_rate_freq_%29" class="indexlink" data-pltdoc="x">(lf-noise0 rate freq)<br/></a><a href="rsc3__ugens.html#%28part.__lf-pulse_rate_freq_iphase_width_%29" class="indexlink" data-pltdoc="x">(lf-pulse rate freq iphase width)<br/></a><a href="rsc3__ugens.html#%28part.__lf-saw_rate_freq_iphase_%29" class="indexlink" data-pltdoc="x">(lf-saw rate freq iphase)<br/></a><a href="rsc3__ugens.html#%28part.__lf-tri_rate_freq_iphase_%29" class="indexlink" data-pltdoc="x">(lf-tri rate freq iphase)<br/></a><a href="rsc3__ugens.html#%28part.__lfclip-noise_rate_freq_%29" class="indexlink" data-pltdoc="x">(lfclip-noise rate freq)<br/></a><a href="rsc3__ugens.html#%28part.__lfd-noise0_rate_freq_%29" class="indexlink" data-pltdoc="x">(lfd-noise0 rate freq)<br/></a><a href="rsc3__ugens.html#%28part.__lfdclip-noise_rate_freq_%29" class="indexlink" data-pltdoc="x">(lfdclip-noise rate freq)<br/></a><a href="rsc3__ugens.html#%28part.__limiter_input_level_look.Ahead.Time_%29" class="indexlink" data-pltdoc="x">(limiter input level lookAheadTime)<br/></a><a href="rsc3__ugens.html#%28part.__lin-cong-c_rate_freq_a_c_m_xi_%29" class="indexlink" data-pltdoc="x">(lin-cong-c rate freq a c m xi)<br/></a><a href="rsc3__ugens.html#%28part.__lin-exp_in_srclo_srchi_dstlo_dsthi_%29" class="indexlink" data-pltdoc="x">(lin-exp in srclo srchi dstlo dsthi)<br/></a><a href="rsc3__ugens.html#%28part.__lin-lin_in_srclo_srchi_dstlo_dsthi_%29" class="indexlink" data-pltdoc="x">(lin-lin in srclo srchi dstlo dsthi)<br/></a><a href="rsc3__ugens.html#%28part.__lin-pan2_in_pos_level_%29" class="indexlink" data-pltdoc="x">(lin-pan2 in pos level)<br/></a><a href="rsc3__ugens.html#%28part.__lin-rand_lo_hi_minmax_%29" class="indexlink" data-pltdoc="x">(lin-rand lo hi minmax)<br/></a><a href="rsc3__ugens.html#%28part.__line_rate_start_end_dur_done.Action_%29" class="indexlink" data-pltdoc="x">(line rate start end dur doneAction)<br/></a><a href="rsc3__ugens.html#%28part.__linen_gate_attack.Time_sus.Level_release.Time_done.Action_%29" class="indexlink" data-pltdoc="x">(linen gate attackTime susLevel releaseTime doneAction)<br/></a><a href="rsc3__ugens.html#%28part.__local-in_num-channels_rate_%29" class="indexlink" data-pltdoc="x">(local-in num-channels rate)<br/></a><a href="rsc3__ugens.html#%28part.__log10_a_%29" class="indexlink" data-pltdoc="x">(log10 a)<br/></a><a href="rsc3__ugens.html#%28part.__log2_a_%29" class="indexlink" data-pltdoc="x">(log2 a)<br/></a><a href="rsc3__ugens.html#%28part.__logistic_rate_chaos.Param_freq_%29" class="indexlink" data-pltdoc="x">(logistic rate chaosParam freq)<br/></a><a href="rsc3__ugens.html#%28part.__lorenz-l_rate_freq_s_r_b_h_xi_yi_zi_%29" class="indexlink" data-pltdoc="x">(lorenz-l rate freq s r b h xi yi zi)<br/></a><a href="rsc3__ugens.html#%28part.__lpf_in_freq_%29" class="indexlink" data-pltdoc="x">(lpf in freq)<br/></a><a href="rsc3__ugens.html#%28part.__lpz1_ar_in_%29" class="indexlink" data-pltdoc="x">(lpz1 ar in)<br/></a><a href="rsc3__ugens.html#%28part.__lpz2_ar_in_%29" class="indexlink" data-pltdoc="x">(lpz2 ar in)<br/></a><a href="rsc3__ugens.html#%28part.__lt_a_b_%29" class="indexlink" data-pltdoc="x">(lt a b)<br/></a><a href="rsc3__ugens.html#%28part.__mantissa-mask_in_bits_%29" class="indexlink" data-pltdoc="x">(mantissa-mask in bits)<br/></a><a href="rsc3__ugens.html#%28part.__max_a_b_%29" class="indexlink" data-pltdoc="x">(max a b)<br/></a><a href="rsc3__ugens.html#%28part.__median_length_in_%29" class="indexlink" data-pltdoc="x">(median length in)<br/></a><a href="rsc3__ugens.html#%28part.__midi-cps_a_%29" class="indexlink" data-pltdoc="x">(midi-cps a)<br/></a><a href="rsc3__ugens.html#%28part.__min_a_b_%29" class="indexlink" data-pltdoc="x">(min a b)<br/></a><a href="rsc3__ugens.html#%28part.__mix_.U.Gen_%29" class="indexlink" data-pltdoc="x">(mix UGen)<br/></a><a href="rsc3__ugens.html#%28part.__mix-fill_n_f____let___n_6_________o__lambda______mul__f-sin-osc_ar__rand_200_700__0__0_1________audition__out_0__mix-fill_n_o____%29" class="indexlink" data-pltdoc="x">(mix-fill n f)
(let ((n 6)
(o (lambda (_) (mul (f-sin-osc ar (rand 200 700) 0) 0.1))))
(audition (out 0 (mix-fill n o))))<br/></a><a href="rsc3__ugens.html#%28part.__.Mod_a_b_%29" class="indexlink" data-pltdoc="x">(Mod a b)<br/></a><a href="rsc3__ugens.html#%28part.__moog-ff_in_freq_gain_reset_%29" class="indexlink" data-pltdoc="x">(moog-ff in freq gain reset)<br/></a><a href="rsc3__ugens.html#%28part.__most-change_a_b_%29" class="indexlink" data-pltdoc="x">(most-change a b)<br/></a><a href="rsc3__ugens.html#%28part.__mouse-button_rate_minval_maxval_lag_%29" class="indexlink" data-pltdoc="x">(mouse-button rate minval maxval lag)<br/></a><a href="rsc3__ugens.html#%28part.__mouse-x_rate_minval_maxval_warp_lag_%29" class="indexlink" data-pltdoc="x">(mouse-x rate minval maxval warp lag)<br/></a><a href="rsc3__ugens.html#%28part.__mouse-y_rate_minval_maxval_warp_lag_%29" class="indexlink" data-pltdoc="x">(mouse-y rate minval maxval warp lag)<br/></a><a href="rsc3__ugens.html#%28part.__mrg2_left_right_%29" class="indexlink" data-pltdoc="x">(mrg2 left right)<br/></a><a href="rsc3__ugens.html#%28part.__mul_a_b_%29" class="indexlink" data-pltdoc="x">(mul a b)<br/></a><a href="rsc3__ugens.html#%28part.__mul-add_a_b_c_%29" class="indexlink" data-pltdoc="x">(mul-add a b c)<br/></a><a href="rsc3__ugens.html#%28part.__n-rand_lo_hi_n_%29" class="indexlink" data-pltdoc="x">(n-rand lo hi n)<br/></a><a href="rsc3__ugens.html#%28part.__neg_a_%29" class="indexlink" data-pltdoc="x">(neg a)<br/></a><a href="rsc3__ugens.html#%28part.__normalizer_in_level_dur_%29" class="indexlink" data-pltdoc="x">(normalizer in level dur)<br/></a><a href="rsc3__ugens.html#%28part.__oct-cps_a_%29" class="indexlink" data-pltdoc="x">(oct-cps a)<br/></a><a href="rsc3__ugens.html#%28part.__offset-out_bufferindex_inputs_%29" class="indexlink" data-pltdoc="x">(offset-out bufferindex inputs)<br/></a><a href="rsc3__ugens.html#%28part.__one-pole_in_coef_%29" class="indexlink" data-pltdoc="x">(one-pole in coef)<br/></a><a href="rsc3__ugens.html#%28part.__one-zero_in_coef_%29" class="indexlink" data-pltdoc="x">(one-zero in coef)<br/></a><a href="rsc3__ugens.html#%28part.__osc_rate_bufnum_freq_phase_%29" class="indexlink" data-pltdoc="x">(osc rate bufnum freq phase)<br/></a><a href="rsc3__ugens.html#%28part.__osc-n_rate_bufnum_freq_phase_%29" class="indexlink" data-pltdoc="x">(osc-n rate bufnum freq phase)<br/></a><a href="rsc3__ugens.html#%28part.__out_bufferindex_inputs_%29" class="indexlink" data-pltdoc="x">(out bufferindex inputs)<br/></a><a href="rsc3__ugens.html#%28part.__.Packfft_chain_bufsize_frombin_tobin_zeroothers_magsphases_%29" class="indexlink" data-pltdoc="x">(Packfft chain bufsize frombin tobin zeroothers magsphases)<br/></a><a href="rsc3__ugens.html#%28part.__pan-b2_in_azimuth_gain_%29" class="indexlink" data-pltdoc="x">(pan-b2 in azimuth gain)<br/></a><a href="rsc3__ugens.html#%28part.__pan2_in_pos_level_%29" class="indexlink" data-pltdoc="x">(pan2 in pos level)<br/></a><a href="rsc3__ugens.html#%28part.__pause_gate_node.I.D_%29" class="indexlink" data-pltdoc="x">(pause gate nodeID)<br/></a><a href="rsc3__ugens.html#%28part.__pause-self_src_%29" class="indexlink" data-pltdoc="x">(pause-self src)<br/></a><a href="rsc3__ugens.html#%28part.__pause-self-when-done_src_%29" class="indexlink" data-pltdoc="x">(pause-self-when-done src)<br/></a><a href="rsc3__ugens.html#%28part.__peak_trig_reset_%29" class="indexlink" data-pltdoc="x">(peak trig reset)<br/></a><a href="rsc3__ugens.html#%28part.__peak-follower_in_decay_%29" class="indexlink" data-pltdoc="x">(peak-follower in decay)<br/></a><a href="rsc3__ugens.html#%28part.__phasor_trig_rate_start_end_resetpos_%29" class="indexlink" data-pltdoc="x">(phasor trig rate start end resetpos)<br/></a><a href="rsc3__ugens.html#%28part.__pink-noise_rate_%29" class="indexlink" data-pltdoc="x">(pink-noise rate)<br/></a><a href="rsc3__ugens.html#%28part.__pitch_in_init.Freq_min.Freq_max.Freq_exec.Freq_max.Bins.Per.Octave%29" class="indexlink" data-pltdoc="x">(pitch in initFreq minFreq maxFreq execFreq maxBinsPerOctave<br/></a><a href="rsc3__ugens.html#%28part.__pitch-shift_in_win.Size_pch.Ratio_pch.Dispersion_time.Dispersion_%29" class="indexlink" data-pltdoc="x">(pitch-shift in winSize pchRatio pchDispersion timeDispersion)<br/></a><a href="rsc3__ugens.html#%28part.__play-buf_num.Channels_bufnum_rate_trigger_start.Pos_loop_%29" class="indexlink" data-pltdoc="x">(play-buf numChannels bufnum rate trigger startPos loop)<br/></a><a href="rsc3__ugens.html#%28part.__pluck_in_tr_maxdelaytime_delaytime_decaytime_coef_%29" class="indexlink" data-pltdoc="x">(pluck in tr maxdelaytime delaytime decaytime coef)<br/></a><a href="rsc3__ugens.html#%28part.__pm-osc_rate_carfreq_modfreq_index_modphase_%29" class="indexlink" data-pltdoc="x">(pm-osc rate carfreq modfreq index modphase)<br/></a><a href="rsc3__ugens.html#%28part.__poll_trig_in_trigid_label_%29" class="indexlink" data-pltdoc="x">(poll trig in trigid label)<br/></a><a href="rsc3__ugens.html#%28part.__pow_a_b_%29" class="indexlink" data-pltdoc="x">(pow a b)<br/></a><a href="rsc3__ugens.html#%28part.__pulse_rate_freq_width_%29" class="indexlink" data-pltdoc="x">(pulse rate freq width)<br/></a><a href="rsc3__ugens.html#%28part.__pulse-count_trig_reset_%29" class="indexlink" data-pltdoc="x">(pulse-count trig reset)<br/></a><a href="rsc3__ugens.html#%28part.__pulse-divider_trig_div_start_%29" class="indexlink" data-pltdoc="x">(pulse-divider trig div start)<br/></a><a href="rsc3__ugens.html#%28part.__pv-add_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-add bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-bin-scramble_buffer_wipe_width_trig_%29" class="indexlink" data-pltdoc="x">(pv-bin-scramble buffer wipe width trig)<br/></a><a href="rsc3__ugens.html#%28part.__pv-bin-shift_buffer_stretch_shift_%29" class="indexlink" data-pltdoc="x">(pv-bin-shift buffer stretch shift)<br/></a><a href="rsc3__ugens.html#%28part.__pv-bin-wipe_buffer.A_buffer.B_wipe_%29" class="indexlink" data-pltdoc="x">(pv-bin-wipe bufferA bufferB wipe)<br/></a><a href="rsc3__ugens.html#%28part.__pv-brick-wall_buffer_wipe_%29" class="indexlink" data-pltdoc="x">(pv-brick-wall buffer wipe)<br/></a><a href="rsc3__ugens.html#%28part.__pv-conformal-map_buffer_real_imag_%29" class="indexlink" data-pltdoc="x">(pv-conformal-map buffer real imag)<br/></a><a href="rsc3__ugens.html#%28part.__pv-copy_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-copy bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-copy.Phase_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-copyPhase bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-diffuser_buffer_trig_%29" class="indexlink" data-pltdoc="x">(pv-diffuser buffer trig)<br/></a><a href="rsc3__ugens.html#%28part.__pv-hainsworth-foote_buffer_proph_propf_threshold_waittime_%29" class="indexlink" data-pltdoc="x">(pv-hainsworth-foote buffer proph propf threshold waittime)<br/></a><a href="rsc3__ugens.html#%28part.__pv-jensen-andersen_buffer_propsc_prophfe_prophfc_propsf_threshold_waittime_______fft_feature_detector_for_onset_detection_based_on_work_described_in_.Jensen_.K____.Andersen__.T__.H___2003___.Real-time_.Beat_.Estimation_.Using_.Feature_.Extraction__in_.Proceedings_of_the_.Computer_.Music_.Modeling_and_.Retrieval_.Symposium__.Lecture_.Notes_in_.Computer_.Science__springer_.Verlag___.First_order_derivatives_of_the_features_are_taken__.Threshold_may_need_to_be_set_low_to_pick_up_on_changes___buffer____-_fft_buffer_to_read_from__propsc____-_.Proportion_of_spectral_centroid_feature__prophfe___-_.Proportion_of_high_frequency_energy_feature__prophfc___-_.Proportion_of_high_frequency_content_feature__propsf____-_.Proportion_of_spectral_flux_feature__threshold_-_.Threshold_level_for_allowing_a_detection_waittime__-_.If_triggered__minimum_wait_until_a_further_frame_can_____________cause_another_spot__useful_to_stop_multiple_detects_on_____________heavy_signals___.Default_values_in_sclang_are__propsc~3d0_25__prophfe~3d0_25__prophfc~3d0_25__propsf~3d0_25__threshold~3d1_0__waittime~3d0_04________with-sc3___lambda__fd______async_fd__b-alloc_0_2048_1_______let____source__sound-in_0___________detect__pv-jensen-andersen__fft__0_source____________________________________0_25_0_25_0_25_0_25____________________________________mouse-x_kr_0_01_1_0_1_0_1____________________________________0_04_______audition_____out_0__mul__sin-osc_ar__mce2_440_445__0__________________decay__mul_0_1_detect__0_1_____%29" class="indexlink" data-pltdoc="x">(pv-jensen-andersen buffer propsc prophfe prophfc propsf threshold waittime)
#|
fft feature detector for onset detection based on work described in
Jensen,K. &amp; Andersen, T. H. (2003). Real-time Beat Estimation Using
Feature Extraction. in Proceedings of the Computer Music Modeling and
Retrieval Symposium, Lecture Notes in Computer Science. springer
Verlag.
First order derivatives of the features are taken. Threshold may
need to be set low to pick up on changes.
buffer - fft buffer to read from.
propsc - Proportion of spectral centroid feature.
prophfe - Proportion of high frequency energy feature.
prophfc - Proportion of high frequency content feature.
propsf - Proportion of spectral flux feature.
threshold - Threshold level for allowing a detection
waittime - If triggered, minimum wait until a further frame can
cause another spot (useful to stop multiple detects on
heavy signals)
Default values in sclang are: propsc=0.25, prophfe=0.25,
prophfc=0.25, propsf=0.25, threshold=1.0, waittime=0.04.
|#
(with-sc3
(lambda (fd)
(async fd (b-alloc 0 2048 1))))
(let* ((source (sound-in 0))
(detect (pv-jensen-andersen (fft* 0 source)
0.25 0.25 0.25 0.25
(mouse-x kr 0.01 1.0 1 0.1)
0.04)))
(audition
(out 0 (mul (sin-osc ar (mce2 440 445) 0)
(decay (mul 0.1 detect) 0.1)))))<br/></a><a href="rsc3__ugens.html#%28part.__pv-local-max_buffer_threshold_%29" class="indexlink" data-pltdoc="x">(pv-local-max buffer threshold)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-above_buffer_threshold_%29" class="indexlink" data-pltdoc="x">(pv-mag-above buffer threshold)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-below_buffer_threshold_%29" class="indexlink" data-pltdoc="x">(pv-mag-below buffer threshold)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-mul_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-mag-mul bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-noise_buffer_%29" class="indexlink" data-pltdoc="x">(pv-mag-noise buffer)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-shift_buffer_stretch_shift_%29" class="indexlink" data-pltdoc="x">(pv-mag-shift buffer stretch shift)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-smear_buffer_bins_%29" class="indexlink" data-pltdoc="x">(pv-mag-smear buffer bins)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mag-squared_buffer_%29" class="indexlink" data-pltdoc="x">(pv-mag-squared buffer)<br/></a><a href="rsc3__ugens.html#%28part.__pv-max_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-max bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-min_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-min bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-mul_buffer.A_buffer.B_%29" class="indexlink" data-pltdoc="x">(pv-mul bufferA bufferB)<br/></a><a href="rsc3__ugens.html#%28part.__pv-phase-shift_buffer_shift_%29" class="indexlink" data-pltdoc="x">(pv-phase-shift buffer shift)<br/></a><a href="rsc3__ugens.html#%28part.__pv-phase-shift270_buffer_%29" class="indexlink" data-pltdoc="x">(pv-phase-shift270 buffer)<br/></a><a href="rsc3__ugens.html#%28part.__pv-phase-shift90_buffer_%29" class="indexlink" data-pltdoc="x">(pv-phase-shift90 buffer)<br/></a><a href="rsc3__ugens.html#%28part.__pv-rand-comb_buffer_wipe_trig_%29" class="indexlink" data-pltdoc="x">(pv-rand-comb buffer wipe trig)<br/></a><a href="rsc3__ugens.html#%28part.__pv-rand-wipe_buffer.A_buffer.B_wipe_trig_%29" class="indexlink" data-pltdoc="x">(pv-rand-wipe bufferA bufferB wipe trig)<br/></a><a href="rsc3__ugens.html#%28part.__pv-rect-comb_buffer_num.Teeth_phase_width____with-sc3___lambda__fd______async_fd__b-alloc_10_2048_1_______let____dup__lambda__a___mce2_a_a____________x__mouse-x_kr_0_0_5_0_0_1___________y__mouse-y_kr_0_0_5_0_0_1___________n__dup__mul__white-noise_ar__0_3____________c__pv-rect-comb__fft__10_n__8_x_y_______audition__out_0__ifft__c_______let____dup__lambda__a___mce2_a_a____________p__mul-add__lf-tri_kr_0_097_0__0_4_0_5___________w__mul-add__lf-tri_kr_0_24_0__-0_5_0_5___________n__dup__mul__white-noise_ar__0_3____________c__pv-rect-comb__fft__10_n__8_p_w_______audition__out_0__ifft__c____%29" class="indexlink" data-pltdoc="x">(pv-rect-comb buffer numTeeth phase width)
(with-sc3
(lambda (fd)
(async fd (b-alloc 10 2048 1))))
(let* ((dup (lambda (a) (mce2 a a)))
(x (mouse-x kr 0 0.5 0 0.1))
(y (mouse-y kr 0 0.5 0 0.1))
(n (dup (mul (white-noise ar) 0.3)))
(c (pv-rect-comb (fft* 10 n) 8 x y)))
(audition (out 0 (ifft* c))))
(let* ((dup (lambda (a) (mce2 a a)))
(p (mul-add (lf-tri kr 0.097 0) 0.4 0.5))
(w (mul-add (lf-tri kr 0.24 0) -0.5 0.5))
(n (dup (mul (white-noise ar) 0.3)))
(c (pv-rect-comb (fft* 10 n) 8 p w)))
(audition (out 0 (ifft* c))))<br/></a><a href="rsc3__ugens.html#%28part.__pv-rect-comb2_buffer.A_buffer.B_num.Teeth_phase_width_%29" class="indexlink" data-pltdoc="x">(pv-rect-comb2 bufferA bufferB numTeeth phase width)<br/></a><a href="rsc3__ugens.html#%28part.__.P.V_.Magclip_buffer_threshold_%29" class="indexlink" data-pltdoc="x">(PV_Magclip buffer threshold)<br/></a><a href="rsc3__ugens.html#%28part.__.P.V_.Magfreeze_buffer_freeze_%29" class="indexlink" data-pltdoc="x">(PV_Magfreeze buffer freeze)<br/></a><a href="rsc3__ugens.html#%28part.__pvcollect_chain_numframes_func_frombin_tobin_zeroothers_%29" class="indexlink" data-pltdoc="x">(pvcollect chain numframes func frombin tobin zeroothers)<br/></a><a href="rsc3__ugens.html#%28part.__quad-n_rate_freq_a_b_c_xi_%29" class="indexlink" data-pltdoc="x">(quad-n rate freq a b c xi)<br/></a><a href="rsc3__ugens.html#%28part.__rand_lo_hi_%29" class="indexlink" data-pltdoc="x">(rand lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__rand-id_rate_id_%29" class="indexlink" data-pltdoc="x">(rand-id rate id)<br/></a><a href="rsc3__ugens.html#%28part.__rand-seed_rate_trig_seed_%29" class="indexlink" data-pltdoc="x">(rand-seed rate trig seed)<br/></a><a href="rsc3__ugens.html#%28part.__record-buf_bufnum_offset_reclevel_prelevel_run_loop_trigger_inputs_%29" class="indexlink" data-pltdoc="x">(record-buf bufnum offset reclevel prelevel run loop trigger inputs)<br/></a><a href="rsc3__ugens.html#%28part.__replace-out_bufferindex_inputs_%29" class="indexlink" data-pltdoc="x">(replace-out bufferindex inputs)<br/></a><a href="rsc3__ugens.html#%28part.__resonz_in_freq_bwr_%29" class="indexlink" data-pltdoc="x">(resonz in freq bwr)<br/></a><a href="rsc3__ugens.html#%28part.__.Rhpf_in_freq_rq_%29" class="indexlink" data-pltdoc="x">(Rhpf in freq rq)<br/></a><a href="rsc3__ugens.html#%28part.__ring1_a_b_%29" class="indexlink" data-pltdoc="x">(ring1 a b)<br/></a><a href="rsc3__ugens.html#%28part.__ring2_a_b_%29" class="indexlink" data-pltdoc="x">(ring2 a b)<br/></a><a href="rsc3__ugens.html#%28part.__ring3_a_b_%29" class="indexlink" data-pltdoc="x">(ring3 a b)<br/></a><a href="rsc3__ugens.html#%28part.__ring4_a_b_%29" class="indexlink" data-pltdoc="x">(ring4 a b)<br/></a><a href="rsc3__ugens.html#%28part.__ringz_in_freq_decay.Time_%29" class="indexlink" data-pltdoc="x">(ringz in freq decayTime)<br/></a><a href="rsc3__ugens.html#%28part.__.Rlpf_in_freq_rq_%29" class="indexlink" data-pltdoc="x">(Rlpf in freq rq)<br/></a><a href="rsc3__ugens.html#%28part.__rossler_rate_chaos.Param_dt_%29" class="indexlink" data-pltdoc="x">(rossler rate chaosParam dt)<br/></a><a href="rsc3__ugens.html#%28part.__rotate2_x_y_pos_%29" class="indexlink" data-pltdoc="x">(rotate2 x y pos)<br/></a><a href="rsc3__ugens.html#%28part.__round_a_b_%29" class="indexlink" data-pltdoc="x">(round a b)<br/></a><a href="rsc3__ugens.html#%28part.__round-up_a_b_%29" class="indexlink" data-pltdoc="x">(round-up a b)<br/></a><a href="rsc3__ugens.html#%28part.__running-max_in_trig_%29" class="indexlink" data-pltdoc="x">(running-max in trig)<br/></a><a href="rsc3__ugens.html#%28part.__running-min_in_trig_%29" class="indexlink" data-pltdoc="x">(running-min in trig)<br/></a><a href="rsc3__ugens.html#%28part.__running-sum_in_numsamp_%29" class="indexlink" data-pltdoc="x">(running-sum in numsamp)<br/></a><a href="rsc3__ugens.html#%28part.__saw_rate_freq_%29" class="indexlink" data-pltdoc="x">(saw rate freq)<br/></a><a href="rsc3__ugens.html#%28part.__scale-neg_a_b_%29" class="indexlink" data-pltdoc="x">(scale-neg a b)<br/></a><a href="rsc3__ugens.html#%28part.__schmidt_in_lo_hi_%29" class="indexlink" data-pltdoc="x">(schmidt in lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__select_which_array_%29" class="indexlink" data-pltdoc="x">(select which array)<br/></a><a href="rsc3__ugens.html#%28part.__send-trig_in_id_value_%29" class="indexlink" data-pltdoc="x">(send-trig in id value)<br/></a><a href="rsc3__ugens.html#%28part.__set-reset-ff_trig_reset_%29" class="indexlink" data-pltdoc="x">(set-reset-ff trig reset)<br/></a><a href="rsc3__ugens.html#%28part.__shaper_bufnum_in_%29" class="indexlink" data-pltdoc="x">(shaper bufnum in)<br/></a><a href="rsc3__ugens.html#%28part.__sign_a_%29" class="indexlink" data-pltdoc="x">(sign a)<br/></a><a href="rsc3__ugens.html#%28part.__sin-h_a_%29" class="indexlink" data-pltdoc="x">(sin-h a)<br/></a><a href="rsc3__ugens.html#%28part.__sin-osc_rate_freq_phase_%29" class="indexlink" data-pltdoc="x">(sin-osc rate freq phase)<br/></a><a href="rsc3__ugens.html#%28part.__slew_in_up_dn_%29" class="indexlink" data-pltdoc="x">(slew in up dn)<br/></a><a href="rsc3__ugens.html#%28part.__slope_in_%29" class="indexlink" data-pltdoc="x">(slope in)<br/></a><a href="rsc3__ugens.html#%28part.__soft-clip_a_%29" class="indexlink" data-pltdoc="x">(soft-clip a)<br/></a><a href="rsc3__ugens.html#%28part.__sos_in_a0_a1_a2_b1_b2_%29" class="indexlink" data-pltdoc="x">(sos in a0 a1 a2 b1 b2)<br/></a><a href="rsc3__ugens.html#%28part.__sound-in_channel_%29" class="indexlink" data-pltdoc="x">(sound-in channel)<br/></a><a href="rsc3__ugens.html#%28part.__sqr-dif_a_b_%29" class="indexlink" data-pltdoc="x">(sqr-dif a b)<br/></a><a href="rsc3__ugens.html#%28part.__sqr-sum_a_b_%29" class="indexlink" data-pltdoc="x">(sqr-sum a b)<br/></a><a href="rsc3__ugens.html#%28part.__squared_a_%29" class="indexlink" data-pltdoc="x">(squared a)<br/></a><a href="rsc3__ugens.html#%28part.__standard-l_rate_freq_k_xi_yi_%29" class="indexlink" data-pltdoc="x">(standard-l rate freq k xi yi)<br/></a><a href="rsc3__ugens.html#%28part.__stepper_trig_reset_min_max_step_resetval_%29" class="indexlink" data-pltdoc="x">(stepper trig reset min max step resetval)<br/></a><a href="rsc3__ugens.html#%28part.__sub_a_b_%29" class="indexlink" data-pltdoc="x">(sub a b)<br/></a><a href="rsc3__ugens.html#%28part.__sum-sqr_a_b_%29" class="indexlink" data-pltdoc="x">(sum-sqr a b)<br/></a><a href="rsc3__ugens.html#%28part.__sweep_trig_rate_%29" class="indexlink" data-pltdoc="x">(sweep trig rate)<br/></a><a href="rsc3__ugens.html#%28part.__sync-saw_rate_sync.Freq_saw.Freq_%29" class="indexlink" data-pltdoc="x">(sync-saw rate syncFreq sawFreq)<br/></a><a href="rsc3__ugens.html#%28part.__t-choose_trig_array_%29" class="indexlink" data-pltdoc="x">(t-choose trig array)<br/></a><a href="rsc3__ugens.html#%28part.__t-delay_trigger_delay.Time_%29" class="indexlink" data-pltdoc="x">(t-delay trigger delayTime)<br/></a><a href="rsc3__ugens.html#%28part.__t-duty_rate_duration_reset_done.Action_level_gap_%29" class="indexlink" data-pltdoc="x">(t-duty rate duration reset doneAction level gap)<br/></a><a href="rsc3__ugens.html#%28part.__t-exp-rand_lo_hi_trig_%29" class="indexlink" data-pltdoc="x">(t-exp-rand lo hi trig)<br/></a><a href="rsc3__ugens.html#%28part.__t-grains_num.Channels_trigger_bufnum_rate_center.Pos_dur_pan_amp_interp_%29" class="indexlink" data-pltdoc="x">(t-grains numChannels trigger bufnum rate centerPos dur pan amp interp)<br/></a><a href="rsc3__ugens.html#%28part.__t-rand_lo_hi_trig_%29" class="indexlink" data-pltdoc="x">(t-rand lo hi trig)<br/></a><a href="rsc3__ugens.html#%28part.__tan-h_a_%29" class="indexlink" data-pltdoc="x">(tan-h a)<br/></a><a href="rsc3__ugens.html#%28part.__thresh_a_b_%29" class="indexlink" data-pltdoc="x">(thresh a b)<br/></a><a href="rsc3__ugens.html#%28part.__ti-rand_lo_hi_trig_%29" class="indexlink" data-pltdoc="x">(ti-rand lo hi trig)<br/></a><a href="rsc3__ugens.html#%28part.__timer_trig_%29" class="indexlink" data-pltdoc="x">(timer trig)<br/></a><a href="rsc3__ugens.html#%28part.__toggle-ff_trig_%29" class="indexlink" data-pltdoc="x">(toggle-ff trig)<br/></a><a href="rsc3__ugens.html#%28part.__trig_in_dur_%29" class="indexlink" data-pltdoc="x">(trig in dur)<br/></a><a href="rsc3__ugens.html#%28part.__trig1_in_dur_%29" class="indexlink" data-pltdoc="x">(trig1 in dur)<br/></a><a href="rsc3__ugens.html#%28part.__trunc_a_b_%29" class="indexlink" data-pltdoc="x">(trunc a b)<br/></a><a href="rsc3__ugens.html#%28part.__tw-choose_trig_array_weights_normalize_%29" class="indexlink" data-pltdoc="x">(tw-choose trig array weights normalize)<br/></a><a href="rsc3__ugens.html#%28part.__tw-index_in_normalize_array_%29" class="indexlink" data-pltdoc="x">(tw-index in normalize array)<br/></a><a href="rsc3__ugens.html#%28part.__two-pole_in_freq_radius_%29" class="indexlink" data-pltdoc="x">(two-pole in freq radius)<br/></a><a href="rsc3__ugens.html#%28part.__two-zero_in_freq_radius_%29" class="indexlink" data-pltdoc="x">(two-zero in freq radius)<br/></a><a href="rsc3__ugens.html#%28part.__u_floor_a_%29" class="indexlink" data-pltdoc="x">(u:floor a)<br/></a><a href="rsc3__ugens.html#%28part.__u_log_a_%29" class="indexlink" data-pltdoc="x">(u:log a)<br/></a><a href="rsc3__ugens.html#%28part.__u_sin_a_%29" class="indexlink" data-pltdoc="x">(u:sin a)<br/></a><a href="rsc3__ugens.html#%28part.__u_sqrt_a_%29" class="indexlink" data-pltdoc="x">(u:sqrt a)<br/></a><a href="rsc3__ugens.html#%28part.__u_tan_a_%29" class="indexlink" data-pltdoc="x">(u:tan a)<br/></a><a href="rsc3__ugens.html#%28part.__v-osc_rate_bufpos_freq_phase_%29" class="indexlink" data-pltdoc="x">(v-osc rate bufpos freq phase)<br/></a><a href="rsc3__ugens.html#%28part.__v-osc3_rate_bufpos_freq1_freq2_freq3_%29" class="indexlink" data-pltdoc="x">(v-osc3 rate bufpos freq1 freq2 freq3)<br/></a><a href="rsc3__ugens.html#%28part.__var-saw_rate_freq_iphasewidth_%29" class="indexlink" data-pltdoc="x">(var-saw rate freq iphasewidth)<br/></a><a href="rsc3__ugens.html#%28part.__warp1_nc_buf_ptr_freq.Scale_window.Size_envbuf_overlaps_windowrand.Ratio_interp_%29" class="indexlink" data-pltdoc="x">(warp1 nc buf ptr freqScale windowSize envbuf overlaps windowrandRatio interp)<br/></a><a href="rsc3__ugens.html#%28part.__white-noise_rate_%29" class="indexlink" data-pltdoc="x">(white-noise rate)<br/></a><a href="rsc3__ugens.html#%28part.__wrap_in_lo_hi_%29" class="indexlink" data-pltdoc="x">(wrap in lo hi)<br/></a><a href="rsc3__ugens.html#%28part.__wrap-index_bufnum_in_%29" class="indexlink" data-pltdoc="x">(wrap-index bufnum in)<br/></a><a href="rsc3__ugens.html#%28part.__wrap2_a_b_%29" class="indexlink" data-pltdoc="x">(wrap2 a b)<br/></a><a href="rsc3__ugens.html#%28part.__x-line_rate_start_end_dur_done.Action_%29" class="indexlink" data-pltdoc="x">(x-line rate start end dur doneAction)<br/></a><a href="rsc3__ugens.html#%28part.__x-out_buffer-index_xfade_inputs_%29" class="indexlink" data-pltdoc="x">(x-out buffer-index xfade inputs)<br/></a><a href="rsc3__ugens.html#%28part.__zero-crossing_in_%29" class="indexlink" data-pltdoc="x">(zero-crossing in)<br/></a><a href="rsc3__server_commands.html#%28part.__b_alloc________________________________.Allocate_buffer_space_%29" class="indexlink" data-pltdoc="x">/b_alloc Allocate buffer space.<br/></a><a href="rsc3__server_commands.html#%28part.__b_alloc.Read___________.Allocate_buffer_space_and_read_a_sound_file_%29" class="indexlink" data-pltdoc="x">/b_allocRead Allocate buffer space and read a sound file.<br/></a><a href="rsc3__server_commands.html#%28part.__b_close%29" class="indexlink" data-pltdoc="x">/b_close<br/></a><a href="rsc3__server_commands.html#%28part.__b_fill______________________________.Fill_ranges_of_sample_value_s_%29" class="indexlink" data-pltdoc="x">/b_fill Fill ranges of sample value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__b_free____________________________________.Free_buffer_data_%29" class="indexlink" data-pltdoc="x">/b_free Free buffer data.<br/></a><a href="rsc3__server_commands.html#%28part.__b_gen______________________________.Call_a_command_to_fill_a_buffer%29" class="indexlink" data-pltdoc="x">/b_gen Call a command to fill a buffer<br/></a><a href="rsc3__server_commands.html#%28part.__b_get_____.Get_sample_value_s_%29" class="indexlink" data-pltdoc="x">/b_get Get sample value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__b_getn_______________________________.Get_ranges_of_sample_value_s_%29" class="indexlink" data-pltdoc="x">/b_getn Get ranges of sample value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__b_query%29" class="indexlink" data-pltdoc="x">/b_query<br/></a><a href="rsc3__server_commands.html#%28part.__b_read_____________.Read_sound_file_data_into_an_existing_buffer_%29" class="indexlink" data-pltdoc="x">/b_read Read sound file data into an existing buffer.<br/></a><a href="rsc3__server_commands.html#%28part.__b_set_____.Set_sample_value_s_%29" class="indexlink" data-pltdoc="x">/b_set Set sample value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__b_setn_______________________________.Set_ranges_of_sample_value_s_%29" class="indexlink" data-pltdoc="x">/b_setn Set ranges of sample value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__b_write_____.Write_sound_file_data_%29" class="indexlink" data-pltdoc="x">/b_write Write sound file data.<br/></a><a href="rsc3__server_commands.html#%28part.__b_zero______________________________________.Zero_sample_data%29" class="indexlink" data-pltdoc="x">/b_zero Zero sample data<br/></a><a href="rsc3__server_commands.html#%28part.__c_fill_______________________________________.Fill_ranges_of_bus_value_s_%29" class="indexlink" data-pltdoc="x">/c_fill Fill ranges of bus value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__c_get_____.Get_bus_value_s_%29" class="indexlink" data-pltdoc="x">/c_get Get bus value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__c_getn_____.Get_ranges_of_bus_value_s_%29" class="indexlink" data-pltdoc="x">/c_getn Get ranges of bus value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__c_set_______________________________________________.Set_bus_value_s_%29" class="indexlink" data-pltdoc="x">/c_set Set bus value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__c_setn___________________________________.Set_ranges_of_bus_value_s_%29" class="indexlink" data-pltdoc="x">/c_setn Set ranges of bus value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__clear.Sched___________________________.Clear_all_scheduled_bundles_%29" class="indexlink" data-pltdoc="x">/clearSched Clear all scheduled bundles.<br/></a><a href="rsc3__server_commands.html#%28part.__d_free________________________________delete_synth_definition%29" class="indexlink" data-pltdoc="x">/d_free delete synth definition<br/></a><a href="rsc3__server_commands.html#%28part.__d_load______________________________________.Load_synth_definition%29" class="indexlink" data-pltdoc="x">/d_load Load synth definition<br/></a><a href="rsc3__server_commands.html#%28part.__d_recv___________________________.Receive_a_synth_definition_file%29" class="indexlink" data-pltdoc="x">/d_recv Receive a synth definition file<br/></a><a href="rsc3__server_commands.html#%28part.__dump.O.S.C__________________________________.Display_incoming_.O.S.C_messages%29" class="indexlink" data-pltdoc="x">/dumpOSC Display incoming OSC messages<br/></a><a href="rsc3__server_commands.html#%28part.__g_deep.Free__.Free_all_synths_in_this_group_and_all_its_sub-groups_%29" class="indexlink" data-pltdoc="x">/g_deepFree Free all synths in this group and all its sub-groups.<br/></a><a href="rsc3__server_commands.html#%28part.__g_free.All__________________________.Delete_all_nodes_in_a_group_%29" class="indexlink" data-pltdoc="x">/g_freeAll Delete all nodes in a group.<br/></a><a href="rsc3__server_commands.html#%28part.__g_head______________________.Add_node_to_head_of_group%29" class="indexlink" data-pltdoc="x">/g_head Add node to head of group<br/></a><a href="rsc3__server_commands.html#%28part.__g_new____.Create_a_new_group%29" class="indexlink" data-pltdoc="x">/g_new Create a new group<br/></a><a href="rsc3__server_commands.html#%28part.__g_tail_____________________________.Add_node_to_tail_of_group%29" class="indexlink" data-pltdoc="x">/g_tail Add node to tail of group<br/></a><a href="rsc3__server_commands.html#%28part.__n_after_________.Place_a_node_after_another%29" class="indexlink" data-pltdoc="x">/n_after Place a node after another<br/></a><a href="rsc3__server_commands.html#%28part.__n_before_________.Place_a_node_before_another%29" class="indexlink" data-pltdoc="x">/n_before Place a node before another<br/></a><a href="rsc3__server_commands.html#%28part.__n_fill____________________.Fill_ranges_of_a_node_s_control_value_s_%29" class="indexlink" data-pltdoc="x">/n_fill Fill ranges of a node&rsquo;s control value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__n_free__________________________________________.Delete_a_node_%29" class="indexlink" data-pltdoc="x">/n_free Delete a node.<br/></a><a href="rsc3__server_commands.html#%28part.__n_map________________________.Map_a_node_s_controls_to_read_from_a_bus%29" class="indexlink" data-pltdoc="x">/n_map Map a node&rsquo;s controls to read from a bus<br/></a><a href="rsc3__server_commands.html#%28part.__n_mapn_______________________.Map_a_node_s_controls_to_read_from_buses%29" class="indexlink" data-pltdoc="x">/n_mapn Map a node&rsquo;s controls to read from buses<br/></a><a href="rsc3__server_commands.html#%28part.__n_query________________________________________.Get_info_about_a_node%29" class="indexlink" data-pltdoc="x">/n_query Get info about a node<br/></a><a href="rsc3__server_commands.html#%28part.__n_run__________________________________________.Turn_node_on_or_off%29" class="indexlink" data-pltdoc="x">/n_run Turn node on or off<br/></a><a href="rsc3__server_commands.html#%28part.__n_set________________________________.Set_a_node_s_control_value_s_%29" class="indexlink" data-pltdoc="x">/n_set Set a node&rsquo;s control value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__n_setn______________________.Set_ranges_of_a_node_s_control_value_s_%29" class="indexlink" data-pltdoc="x">/n_setn Set ranges of a node&rsquo;s control value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__n_trace_______________________________________________.Trace_a_node%29" class="indexlink" data-pltdoc="x">/n_trace Trace a node<br/></a><a href="rsc3__server_commands.html#%28part.__notify____________.Register_to_receive_notifications_from_server%29" class="indexlink" data-pltdoc="x">/notify Register to receive notifications from server<br/></a><a href="rsc3__server_commands.html#%28part.__nrt_end___________________________end_real_time_mode__close_file%29" class="indexlink" data-pltdoc="x">/nrt_end end real time mode, close file<br/></a><a href="rsc3__server_commands.html#%28part.__quit________________________________________________.Quit_program%29" class="indexlink" data-pltdoc="x">/quit Quit program<br/></a><a href="rsc3__server_commands.html#%28part.__s_get__________.Get_control_value_s_%29" class="indexlink" data-pltdoc="x">/s_get Get control value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__s_getn__________________________.Get_ranges_of_control_value_s_%29" class="indexlink" data-pltdoc="x">/s_getn Get ranges of control value(s)<br/></a><a href="rsc3__server_commands.html#%28part.__s_new____________________________________________.Create_a_new_synth%29" class="indexlink" data-pltdoc="x">/s_new Create a new synth<br/></a><a href="rsc3__server_commands.html#%28part.__s_noid_______________.Auto-reassign_synth_s_.I.D_to_a_reserved_value%29" class="indexlink" data-pltdoc="x">/s_noid Auto-reassign synth&rsquo;s ID to a reserved value<br/></a><a href="rsc3__server_commands.html#%28part.__status___________.Query_the_status%29" class="indexlink" data-pltdoc="x">/status Query the status<br/></a><a href="rsc3__server_commands.html#%28part.__sync______________________.Notify_when_async_commands_have_completed_%29" class="indexlink" data-pltdoc="x">/sync Notify when async commands have completed.<br/></a><a href="rsc3__server_commands.html#%28part.__tr_______________________.A_trigger_message%29" class="indexlink" data-pltdoc="x">/tr A trigger message<br/></a><a href="rsc3__server_commands.html#%28part.__u_cmd____________________________send_a_command_to_a_unit_generator%29" class="indexlink" data-pltdoc="x">/u_cmd send a command to a unit generator<br/></a><a name="alpha:N"></a><span><a href="rsc3__ugens.html#%28part._num-audio-buses%29" class="indexlink" data-pltdoc="x">num-audio-buses<br/></a></span><a href="rsc3__ugens.html#%28part._num-buffers%29" class="indexlink" data-pltdoc="x">num-buffers<br/></a><a href="rsc3__ugens.html#%28part._num-control-buses%29" class="indexlink" data-pltdoc="x">num-control-buses<br/></a><a href="rsc3__ugens.html#%28part._num-input-buses%29" class="indexlink" data-pltdoc="x">num-input-buses<br/></a><a href="rsc3__ugens.html#%28part._num-output-buses%29" class="indexlink" data-pltdoc="x">num-output-buses<br/></a><a href="rsc3__ugens.html#%28part._num-running-synths%29" class="indexlink" data-pltdoc="x">num-running-synths<br/></a><a name="alpha:R"></a><span><a href="rsc3__ugens.html#%28part._radians-per-sample%29" class="indexlink" data-pltdoc="x">radians-per-sample<br/></a></span><a href="index.html" class="indexlink" data-pltdoc="x">rsc3: racket/scheme/supercollider<br/></a><a href="rsc3__server_commands.html" class="indexlink" data-pltdoc="x">rsc3: server commands<br/></a><a href="rsc3__tutorials.html" class="indexlink" data-pltdoc="x">rsc3: tutorials<br/></a><a href="rsc3__ugens.html" class="indexlink" data-pltdoc="x">rsc3: ugens<br/></a><a name="alpha:S"></a><span><a href="rsc3__ugens.html#%28part._sample-dur%29" class="indexlink" data-pltdoc="x">sample-dur<br/></a></span><a href="rsc3__ugens.html#%28part._sample-rate%29" class="indexlink" data-pltdoc="x">sample-rate<br/></a><a href="rsc3__ugens.html#%28part._.S.C2__.Note_extra_iphase_argument____import__rsc3_____audition__out_0__mul__f-sin-osc_ar__mce2_440_550__0__0_05______let___f__x-line_kr_200_4000_1_remove-synth_______audition__out_0__mul__f-sin-osc_ar_f_0__0_25____%29" class="indexlink" data-pltdoc="x">SC2: Note extra iphase argument.
(import (rsc3))
(audition (out 0 (mul (f-sin-osc ar (mce2 440 550) 0) 0.05)))
(let ((f (x-line kr 200 4000 1 remove-synth)))
(audition (out 0 (mul (f-sin-osc ar f 0) 0.25))))<br/></a><a href="rsc3__ugens.html#%28part._.See_allpass-n%29" class="indexlink" data-pltdoc="x">See allpass-n<br/></a><a href="rsc3__ugens.html#%28part._.See_buf-comb-c%29" class="indexlink" data-pltdoc="x">See buf-comb-c<br/></a><a href="rsc3__ugens.html#%28part._.See_buf-delay-c%29" class="indexlink" data-pltdoc="x">See buf-delay-c<br/></a><a href="rsc3__ugens.html#%28part._.See_.Bufallpass-c%29" class="indexlink" data-pltdoc="x">See Bufallpass-c<br/></a><a href="rsc3__ugens.html#%28part._.See_comb-n%29" class="indexlink" data-pltdoc="x">See comb-n<br/></a><a href="rsc3__ugens.html#%28part._.See_cusp-n%29" class="indexlink" data-pltdoc="x">See cusp-n<br/></a><a href="rsc3__ugens.html#%28part._.See_dbrown%29" class="indexlink" data-pltdoc="x">See dbrown<br/></a><a href="rsc3__ugens.html#%28part._.See_delay-n%29" class="indexlink" data-pltdoc="x">See delay-n<br/></a><a href="rsc3__ugens.html#%28part._.See_drand%29" class="indexlink" data-pltdoc="x">See drand<br/></a><a href="rsc3__ugens.html#%28part._.See_dwhite%29" class="indexlink" data-pltdoc="x">See dwhite<br/></a><a href="rsc3__ugens.html#%28part._.See_fb-sine-c%29" class="indexlink" data-pltdoc="x">See fb-sine-c<br/></a><a href="rsc3__ugens.html#%28part._.See_free.Verb%29" class="indexlink" data-pltdoc="x">See freeVerb<br/></a><a href="rsc3__server_commands.html#%28part._see_g-new%29" class="indexlink" data-pltdoc="x">see g-new<br/></a><a href="rsc3__ugens.html#%28part._.See_.Gbman.L_%29" class="indexlink" data-pltdoc="x">See GbmanL.<br/></a><a href="rsc3__ugens.html#%28part._.See_gt%29" class="indexlink" data-pltdoc="x">See gt<br/></a><a href="rsc3__ugens.html#%28part._.See_henon-n%29" class="indexlink" data-pltdoc="x">See henon-n<br/></a><a href="rsc3__ugens.html#%28part._.See_latoocarfian-c_%29" class="indexlink" data-pltdoc="x">See latoocarfian-c.<br/></a><a href="rsc3__ugens.html#%28part._.See_lf-cub_%29" class="indexlink" data-pltdoc="x">See lf-cub.<br/></a><a href="rsc3__ugens.html#%28part._.See_lf-noise0%29" class="indexlink" data-pltdoc="x">See lf-noise0<br/></a><a href="rsc3__ugens.html#%28part._.See_lfd-noise0%29" class="indexlink" data-pltdoc="x">See lfd-noise0<br/></a><a href="rsc3__ugens.html#%28part._.See_lin-cong-c_%29" class="indexlink" data-pltdoc="x">See lin-cong-c.<br/></a><a href="rsc3__server_commands.html#%28part._see_n-set%29" class="indexlink" data-pltdoc="x">see n-set<br/></a><a href="rsc3__ugens.html#%28part._.See_quad-n%29" class="indexlink" data-pltdoc="x">See quad-n<br/></a><a href="rsc3__server_commands.html#%28part._see_s-new%29" class="indexlink" data-pltdoc="x">see s-new<br/></a><a href="rsc3__ugens.html#%28part._.See_standard-l_%29" class="indexlink" data-pltdoc="x">See standard-l.<br/></a><a href="rsc3__ugens.html#%28part._subsample-offset%29" class="indexlink" data-pltdoc="x">subsample-offset<br/></a></p></td></tr></table><div class="navsetbottom"><span class="navleft"><div class="nosearchform"></div>&nbsp;&nbsp;<span class="tocsettoggle">&nbsp;&nbsp;<a href="javascript:void(0);" title="show/hide table of contents" onclick="TocsetToggle();">contents</a></span></span><span class="navright">&nbsp;&nbsp;<a href="rsc3__tutorials.html" title="backward to &quot;3 rsc3: tutorials&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;rsc3: racket/scheme/supercollider&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<span class="nonavigation">next &rarr;</span></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>