C a d e n c i i 00000 0_(u
 
 
 
 S0S0g0o0B00z^0bcW0f0D00ek0fk0oD0C a d e n c i i n0O(uel09}NW0~0Y00
 
 
 
 %0000000000k0f0n0pe_eQR
 
 0000000000n000000
00\{
00b
00T i c k 
00wU0
0n0vk00
 
 s(Wn0$Pk0 N[n0$P0RnWNdg0M000F0k0j0c0f0D0~0Y00
 
 
 
 ~0Z001 Pn0&{n0MOn04 8 0 c l o c k Z00Y0O0:yW0~0Y00
 
 &{0xbY00h00s(Wn0&{n0MOn0000= 7 6 8 0 	L00000000000k0h:yU00~0Y00
 
 0000= 7 6 8 0 n0_0k04 8 0 h0eQRW00E n t e r 000bY0h0007 6 8 0 + 4 8 0 
0n0$PL0{U000&{L0_0k0yRW0~0Y00
 
 pen0&{k0d0D0f000Tin0d\OL0Sg0Y00pen0&{0xbY00h0000000
0n0$PL0UF0n0g00000000000o0zz}vk0j00~0Y00  
 
 i0Z0k004 8 0 
0h0eQRW0f00E n t e r 000bY0h00]00^00n0&{n000000
0$Pk0+ 4 8 0 L0R{U000pen0&{L0~0h00f0yRW0~0Y00  
 
 S0S0g0o0W0{n0OW0K0	[0~0[00g0W0_0L00RnWNdD0Z000Sg0Y00  
 
 ~0_00eQRW0_0eW[Rk0" x " 0+T0`0pe_0eQRY00h00x k0s(Wn0$PL0NeQU00f0UOU00~0Y00  
 
 _0h0H0p00 gRn0O`0h007 6 8 0 + 4 8 0 
0h0eQRY004XTh00x + 4 8 0 
0h0eQRY004XTn0P}go0TX0k0j00~0Y00  
 
 
 
 %U T A U (un0000000O(uY00k0o0
 
 U T A U (un0000000OF0k0o0~0Z0U T A U (u00000h0C a d e n c i i n00S0cd0000000\Ob000000	Y00_L0B00~0Y00
 
 0Lk^0#}k0Y00
0000000Ok0000000Kb0fW0~0Y00
 
 
 
 ~0Z00  000000
00000n00U T A U (u000000000000
00xs0~0Y00!kk000000L0Qf0M0~0Y00  
 
 !kk0000000W0_0D000000n00p l u g i n . t x t 
0n04X@b0c[W0~0Y000000n00R
00000bW0f00000xb00000g0
 
 p l u g i n . t x t 0xbW0f0O0`0U0D0
 
 xbg0M0_00000k000000n0
TMRh00p l u g i n . t x t 
0x0n000L0RU00f0D00h0`D0~0Y00
 
 0N
00000bY0h000000L0X0000000L0L00~0Y00
 
 
 
 000;ubk0;bc0f0000000
000000xbY00h0000000W0_000000n0
TMRL0RU00~0Y00
 
 N
Ng0000000o0B}00g0Y00!ko0OD0eg0Y00
 
 ~0Z0s(Wn00000L0U T A U 000k0j0c0f0D00K00xW0~0Y0000000
00000!0LkXTb0000
0!0U T A U 
0	  
 
 U T A U n0nL0a000h0{v2U00f0D00K0xW0~0Y000-[
00000!00000000
0Qf0O0000000n00U T A U n
000	
 
 
 
 !kk0000000g0}ƖW0_0D0&{0{VxbW00000000
00000n0-NK00OD0_0D0000000x0g0wRY00p0'YN+Yg0Y00
 
 
 
 %000000000n00000pe$PeQRY000
 
 00000000g0000p00000000Y00h0pe$PeQR(un000000L0Q~0Y00
 
 pe$P0eQRW0f00i(u
00000bY0h0S fU00~0Y00
 
 
 
 ; 
Nk0B000000< 1 0 
00< 5 
00< 
0o0]00^001 0 P5 P1 P]n0000p0xbW0j0J0W0~0Y000> 
005 > 
001 0 > 
0o0Sn0000p0xbW0j0J0W0~0Y00
 
 0u n d o 
00r e d o 
0000o000000000n00CQk0;bY0
0000vW0
0h0TX0RgL0B00~0Y00
 
 
 
 %V O C A L O I D 1 n0S y n t h e s i z e   E n g i n e   1 . 0 h01 . 1 0TBfk0OF0el0
 
 ; W i n d o w s   V i s t a ~0_0o0W i n d o w s   7 k0J0D0f0S y n t h e s i z e   E n g i n e   1 . 0 h01 . 1 0TBfk0O(uY00_00k0o00000000006R_( U A C ) 0!qRk0Y00_L0B00~0Y0  
 
 
 
 0-[
00000!00000000
0h0_0i00-[000000QY00
 
 00000000
0000xb0TbD L L n0)R(u
0k0B00000000V O C A L O I D 1   D L L 000
0k000000eQ000
 
 ]0n0Nk0B000V O C A L O I D 1   [ 1 . 0 ] 
0h00V O C A L O I D 1   [ 1 . 1 ] 
0n0!Nek00000L0eQc0f0D00n00xY000
 
 0N
00000bY0C a d e n c i i 0QwRY000
 
 
 
 N
Ng0S y n t h e s i z e   E n g i n e   1 . 0 h01 . 1 n0!Ne0OH000F0k0j00~0Y00_0`0W0SD0V O C A L O I D 1 n00L0000000U00f0D004XT
 
 1 . 1 L0]00]00X[(WW0j0D0n0g0S_6qj0L00!NeOF0n0o0
NSg0Y00
 
 
 
 0܈
 
 " 00000g0o0i0a00K0Gren0S y n t h e s i z e   E n g i n e n00L00~00~0Y00~000n0o0V O C A L O I D 1   E d i t o r g0-[W0_00n0k0j00~0Y00
 
 " X V S Q 0000k0o01 . 0 h01 . 1 n0i0a00L0c[U00_0K0L0OX[U00~0Y0wQSOvk0o0< V s q T r a c k >  }n0vNk0B00< T a g >  }Qk0
 
 0o r g . k b i n a n i . c a d e n c i i . R e n d e r e r K i n d : V O C A L O I D 1 _ 1 0 0 
0I{h02U00~0Y00
 
 " X V S Q h0TBfQRU000V S Q 0000k0o01 . 0 h01 . 1 n0i0a00L0c[U00_0K0o0OX[U00~0[000
 
 " 2 Pn0S y n t h e s i z e   E n g i n e 000n0ND}0k0d0D0f0o00V O C A L O I D 1 n0S y n t h e s i z e   E n g i n e   1 . 0 h01 . 1 n0TBfwR
00T0O0`0U0D00
 
 
 
 %L0Qj0D0000000L0F0~0O0D0K0j0D0  
 
 V O C A L O I D 1 / 2 n000Hr0O(uW0f0D00  
 
 00Hrg0o0OH0j0D00F0k0W0f0B00~0Y0k_j0L00zlV{o0B00~0[00
 
   
 
 W i n d o w s n0000000-[k00000000n0000Yn0[L0000n0wRL06RPU00f0D00  
 
 W i n d o w s   V i s t a W i n d o w s   7 g0o0{t)jPg0C a d e n c i i 0[LY000F0k0W0f0O0`0U0D0
 
   
 
  NBf000000n0zzM0[ϑL0{0|00 k0j0c0f0D00  
 
  NBf000000n0zzM0[ϑL0gnW0f0D00h0yrk0MR扌00!qO0L0Qj0O0j00~0Y0zzM0[ϑ0xOW0f0K00Q^[LW0f00f0O0`0U0D0  
 
 [C a d e n c i i n0000000000000]P l a y S o u n d . d l l L0X[(WW0j0D0  
 
 [C a d e n c i i n0000000000000]p l u g i n s NNn0d l l L0X[(WW0j0D0  
 
 [C a d e n c i i n0000000000000]v C o n n e c t . e x e L0X[(WW0j0D0  
 
 0000L0X[(WW0f0D00K0i0F0K00xW0f0O0`0U0D00000L0!qK0c0_04XTo0C a d e n c i i 0Q000000W0f0O0`0U0D0  
 
 
 
 V i s u a l   C + +   00000D L L L0000000U00f0D0j0D0  
 
 S t r a i g h t   x   U T A U n0_j0O(uY00k0o0V i s u a l   C + + 00000D L L L0000000U00f0D00_L0B00~0Y00
 
 eQKbHQh t t p : / / w w w . m i c r o s o f t . c o m / d o w n l o a d s / d e t a i l s . a s p x ? f a m i l y i d = 9 b 2 d a 5 3 4 - 3 e 0 3 - 4 3 9 1 - 8 a 4 d - 0 7 4 b 9 f 2 b c 1 b f & d i s p l a y l a n g = j a 
 
 
 
 000W[n0Lk^n0~0~000]0F0h0W0f0D00  
 
 U T A U 000h0S t r a i g h t   x   U T A U 000g0o00000W[n0Lk^n00g0o0bQ0L0zvuW0~0Y0
 
 00000-[k000000W[j0i0n00000000k00L0000U00f0D004XTo0%Rh0W0f0	0
 
 _0h0H0p00B0
0h0Lk0[00F0h0W0f00a 
0h0eQRW0_04XT0[k0nK00i"}U000n0o00a . w a v 
0j0n0g00S00L0!qD04XTbQ0L0zvuY00S0h0k0j00~0Y00
 
 
 
 %00000n0fM0e  
 
 ieh0_j0[
 
   ieo0C # h0hQO0TX0g0Y00
 
 h t t p : / / w w w 9 . a t w i k i . j p / b o a r e / p a g e s / 3 2 . h t m l  0!k0B000F0k0000n0[0W0f0O0`0U0D00000k0o0pen0F0a0i00K0 Nd000_k0_X0f0[ňW0f0O0`0U0D00
 
 
 
 " p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . L i b . V s q . V s q F i l e   v s q   ) ; 
 
 " p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . C a d e n c i i . V s q F i l e E x   v s q   ) ; 
 
 " p u b l i c   s t a t i c   S c r i p t R e t u r n S t a t u s   E d i t (   B o a r e . L i b . V s q . V s q F i l e   v s q   ) ; 
 
 " p u b l i c   s t a t i c   S c r i p t R e t u r n S t a t u s   E d i t (   B o a r e . C a d e n c i i . V s q F i l e E x   v s q   ) ; 
 
 
 
 b o o l L0;b0$Pn00n0o0000000n0[LL0bRW0_0h0M0t r u e 00]0F0g0j0D0h0M0f a l s e 0ԏY00F0k0[ňW0f0O0`0U0D00  
 
 S c r i p t R e t u r n S t a t u s L0;b0$Pn00n0o00  
 
 
 
 " 00000n0[LL0bRW00}ƖL0L00_0h0M0S c r i p t R e t u r n S t a t u s . E D I T E D 00
 
 " 00000n0[LL0bRW0_0L00}Ɩo0L00j0K0c0_0h0M0S c r i p t R e t u r n S t a t u s . N O T _ E D I T E D 00
 
 " 00000n0[LL01YWeW0_0K00~0_0o0-NeU00_0h0M0S c r i p t R e t u r n S t a t u s . E R R O R 
 
 0]00^00ԏY00F0k0[ňW0f0O0`0U0D00
 
   
 
 ~0_00u s i n g So0!kn0000n00n0000000n0HQ-k0+T00S0h0L0g0M0~0Y00  
 
 " u s i n g   S y s t e m ; 
 
 " u s i n g   S y s t e m . I O ; 
 
 " u s i n g   B o a r e . L i b . V s q ; 
 
 " u s i n g   B o a r e . C a d e n c i i ; 
 
 " u s i n g   b o c o r e e ; 
 
 " u s i n g   B o a r e . L i b . M e d i a ; 
 
 " u s i n g   B o a r e . L i b . A p p U t i l ; 
 
 " u s i n g   S y s t e m . W i n d o w s . F o r m s ; 
 
 " u s i n g   S y s t e m . C o l l e c t i o n s . G e n e r i c ; 
 
 " u s i n g   S y s t e m . D r a w i n g ; 
 
 " u s i n g   S y s t e m . T e x t ; 
 
 " u s i n g   S y s t e m . X m l . S e r i a l i z a t i o n 
 
 
 
 00000n0Mn
 
   C a d e n c i i n0,gSOL0OX[U00f0D00000000k00s c r i p t 
0h0D0F00000000\ObW00]0n0-Nk0000000OX[W0f0O0`0U0D00b5_P[o0. t x t ~0_0o0. c s L0	gRg0Y00
 
 00000000k0d0D0f0o002 000eW[0+T04XTU T F - 8 B O M n0	g!qo0OU0j0D0	g0OX[W0j0D0h0eW[SQ0W0~0Y00  
 
 
 
 %S T R A I G H T   x   U T A U n0_j0OF04XT0
 
 
 
 S T R A I G H T XTb(un0㉐g00000\ObY000
 
 S T R A I G H T XTb0LF0k0o0B00K0X00nn0X00000㉐gY00_L0B00~0Y00㉐gP}go0Tn0000vNn00a n a l y z e d 
0h0D0F00000k0OX[U00~0Y00
 
 b5_P[o0. s t f g0Y00Thn000000000E d i t O t o I n i . e x e 
00Oc0f0S T F 00000\ObW0f0O0`0U0D00
 
 
 
 0U T A U n-[0000000
 
 U T A U n(un0-[0000o t o . i n i 0}ƖW00S T R A I G H T (u㉐g0000n0{t0LF00000000g0Y00  
 
 O(uY00k0o00C a d e n c i i ,gSOn00-[
0!0U T A U n
000000_0i00K00vc0E d i t O t o I n i . e x e 
000000000W0f0wRW0~0Y00  
 
 
 
 ;ubo03 d0n0000k0RK00f0D0~0Y00]00^000]
NL00o t o . i n i 
0k0{v2U00_0nh0]0n0-[$Pn00000
 
 S
NL0xbW0_0nk0[W0f0}Ɩ0LF0_00n0d\O0No0xbW0_0nn0lb_0h:yY00R0h0j0c0f0D0~0Y00  
 
 
 
 n0000n0000
 
 TRo0Rn00000n0h:yn0h0J0000F R Q 
0n0Ro00U T A U n0r e s a m p l e r L0SgqY00* . f r q 0000L0nPn0K0i0F0K00hW00
 
 0S T F 
0n0Ro00S T R A I G H T Tbk0_j0㉐g0000b5_P[. s t f 	L0nPn0K0i0F0K00hW0~0Y00]00^000nPn0n04XTo00%
00]0F0g0j0D04XTo0zzkh0j00~0Y00  
 
 
 
 d\O
 
 ]n0000g0xbW0_0nn0-[$P0}ƖW0~0Y0000000000k0eQRW0_0$Po00sS000k0S fU00~0Y00
 
 _0`0W0000000
0!0OX[
0~0_0o00
TMR0d0Q0f0OX[
00xp0j0D0P0o t o . i n i x0n0OX[o0L00~0[000  
 
 
 
 0S T F 0fe
00000bY0h00xbW0_0n0CQk0S T R A I G H T (un0㉐g00000\ObW0~0Y00ek0S T F L0\Obn0n04XT00
 
 
NfM0U00~0Y00Y0y0f0n0nn0S T F 00000#}g0\ObW0_0D04XT00}Ɩ
0!0S T F 00000\Ob
00xy0p0O K g0Y00  
 
 
 
 lb_h:y
 
 lb_0h:yW0f0D0~0Y00BfeTn0b'Yso0SNn00
00

0000g0	Yfg0M0~0Y00lb_L0;ubk0S~00j0D04XTo00
 
 0000000g0h:yMOn0*jeTk0yRg0M0~0Y00~0_00000n0-N000g0;ub0c0g0yRU0[00S0h00Sg0Y00  
 
 
 
 S0n0;ub
Ng000000I{n0-[0}ƖY00S0h0L0g0M0~0Y00000000
000HQLzv
0I{h0fK00_0ern00n00c0g0yRU0[00h00}ƖP}gL0sSS fU00~0Y00  
 
 lb_h:yn0UO0!qD0h0S00g0000n0]0000M0Y0h000000M0W0_0MOnK00n0000L0QuU00~0Y00i0n0R~0g0L0P[vK00y00h0M0I{k0O)RK00W00~0[000
 
 
 
 00000
00000
 
   0O0
00OX[
00
TMR0d0Q0f0OX[
00B}N
0n000vL0B00~0Y00
 
 
 
 0}Ɩ
00000
 
 00v0S T F 00000\Ob
0h00F R Q 00000\Ob
0L0B00~0Y00]00^00S T F 0000h0F R Q 00000#}vk0Rg0\ObY00_00n0vg0Y00
 
 ek0S T F 0000~0_0o0F R Q 0000L0X[(WY004XTo0
NfM0o0L00Z00QtL00000U00~0Y00P%Rn0nk0d0D0f0r0h0d0e0d0S T F 0000F R Q 00000\ObW0_0D04XTo00
 
 [an0n0000g0xbW0_0F0H0g00d\On00S T F 0fe
0000~0_0o00F R Q 0fe
00b[0p0O K g0Y00  
 
 
 
 0XTb000000S T R A I G H T   x   U T A U 
0000k0Y000
 
 Tb0000n0000o0T0000kk0-[W0~0Y0-[Y00k0o000000
00000!0XTb0000
00000!0S T R A I G H T   x   U T A U 
0h0xbW0f0O0`0U0D00
 
 ;ubNn00000n00000S0000W00000000000n00XTb0000
0!0S T R A I G H T   x   U T A U 
00xbY00S0h0g00-[Sg0Y00
 
 
 
 %uv(unub0000000  
 
 uv0bW0_0h0M0k0QuU000X000000Rg0\ObY0000000000G e n e r a t e K e y S o u n d . e x e 
0k0d0D0f00  
 
 G e n e r a t e K e y S o u n d o00000000000h0W0f000G U I 00000000NM0n0000h0W0f00O(ug0M000F0k0j0c0f0D0~0Y000000000_peo00
 
 0G e n e r a t e K e y S o u n d   - h 
0h0eQRW0f0xW0f0O0`0U0D00S0S0g0o00G U I n0d\Ok0d0D0f0fW0~0Y00  
 
 
 
 S i n g i n g   S y n t h .   S y s t e m 
 
 LkXTb0000n0.z^0xbW0~0Y000V O C A L O I D 1 
000V O C A L O I D 2 
0J00s00U T A U 
0n0F0a00O(ug0M000n0L0000k0RcU00f0D0~0Y00
 
 
 
 S i n g e r 
 
 uv(un0X0bS_Y00LkKb0xbW0~0Y00
Ng0xbW0_0LkXTb0000n0F0a00O(uSj0LkKbL0000k0RcU00f0D0~0Y00
 
 
 
 I g n o r e   E x i s t i n g   W A V s 
 
 S0S0k000000eQ00h00ek0\Obn0n0n00000!qW0f0
NfM0W0~0Y0000000eQ0j0D04XT0\ObL0*g`0n00n0n000ubW0~0Y00
 
 
 
 O u t p u t   P a t h 
 
 n00000OX[Y00000c[W0~0Y00Y0P0Sn00. . . 
00000bW0f0000xbY00K0000000000k0vc000eQRW0f0O0`0U0D0000000g0o00
 
 0C a d e n c i i n00000000000c a c h e 
0h0j0c0f0D0~0Y00S0n000000n000g0o0j0D04X@bk0n00000OX[Y00S0h0o0Qeg~0Y0L00C a d e n c i i ,gSOk0o0XU00~0[000
 
 C a d e n c i i L0XY00n0o00
N00000n000n00g0Y00
 
 
 
 C l o s e 000
 
 000000X0~0Y00n0000n0ub-No00C a n c e l 
0h0hL0	Y000S0n00000bY0h0n0000n0ubL0-NeU00~0Y00
 
 
 
 E x e c u t e 000
 
 n0000n0ub0YW0~0Y00
 
 
 
 %R000000_j  
 
  N[BfJ0M0k0}Ɩ-Nn00000OX[Y00_jg0Y00  
 
 
 
 S0n0_j0OF0k0o000-[
0!00000000
0!00000
000n00R000000
0n000000O N k0W0f0O0`0U0D00
 
 OX[o0Y0P0*jn00
0n0h0S00g01 R;R0g0-[g0M0~0Y00  
 
 S0n0_jL0O N k0j0c0f0D00h0M00s(W}Ɩ-Nn00000h0TX00000k002 d0n000000000000~ $ 0000
T. x v s q 
0h00~ $ 0000
T. v s q 
0L0OX[U00~0Y00  
 
 
 
 ; 00000_n0R_0^_jo0B00~0[00n0g0laO0`0U0D00  
 
 
 
 %񂞊h!e,ghk0Y00el0
 
 0S e t t i n g 
00000 0! 00P r e f e r e n c e 
00000h0_0i00h0-[00000L0g0~0Y00  
 
 S0n000000n00A p p e a r n c e 
0000xs0-N{0i0n00U I   L a n g u a g e 
000D e f a u l t 
0K000j a 
0k0	YfW0_0_  
 
 0O K 
00b[0p0h:yL0e,gk0	YfU00~0Y00
 
 
 
 %000f}n0}Ɩ
 
 000f}n0}Ɩ0Y004XT0}Ɩ00000000
0000k0Y00_L0B00~0Y00S0n0000k0R0fH00k0o00
 
 S00000000n00000
000000Y00K00}Ɩ00n00000
0000000000W0f0O0`0U0D00000o0
 
 ,g[k0o0j0D0tYj0n0g0Y0P0k00K00h0`D0~0Y0	0000000k0j0c0f0D0j0D04XT0,g[h0Tik0[F{0000h0mW000n0
 
 T0000Oc0f0vcf}0}ƖY00000h0j00~0Y00  
 
 
 
 }Ɩk0o00[F{000
0h000000000
00OD0~0Y00[F{000o0000p0RY00Bfk0O(uW0~0Y0000000000[0Z0k0XSk00000W0_04XT0
 
 6R_pn0ND0f0D0j0D0000pL0\ObU00~0Y00
 
 
 
 0000000o00000p}r	h06R_pChr	n0MOn0	YfY00Bfk0O(uW0~0Y00000pn0V҉0000g00000Y00h00pL0yRW0~0Y00
 
 0000RK0W0f0D00-Ng0pL0yRW0j0O0j00S0h0L0B00~0Y0L00S00o0f}L0LY000F0j0000po0eQRg0M0j0D0_00g0Y00  
 
 
 
 000p0JRdW0_0D04XT0000p0S0000Y00h0Qf0O000000n00JRd
000000W0~0Y00  
 
 
 
 000pn0^j0pe$PeQRW0_0D04XT0000p00000000Y00h0pe$PeQR(un000000L0Q~0Y00  
 
 
 
  gRo0b0}h0W0f00000eQRW0_0L00-Ng06R_p0d0Q0f0n0K0k0W0_0D04XT00]0n0n04XT0
 
 pe$PeQR(u00000n00n0K0k0Y00
0n000000O n / O f f Y00S0h0g006R_p0NQ00NQ0j0D00R0fH00S0h0L0Qeg~0Y00  
 
 
 
 0000f}0Oc0f0}ƖY00h0M001 ,gn0000f}g0o0j0O002 ,gN
Nk0RQ0f0}ƖY004XT0
 
 00000000M a c n04XTC o m m a n d 00	0bW0j0L00p0Sbc0f0O0`0U0D00vMRn0f}h0c}U00Z00en0000f}L0\ObU00~0Y00  
 
 
 
 %00000n00000
 
 }ƖRS00000n00000
 
 
 
 00000n0|Ts0QW0Nij0i0L0x[W0f0D0j0D0n0g0Nn00000o0u<O000g0Y00
 
 
 
 0fW0f00_0D0eo00]00^00n000000n0000000h0`W0M0R000000000k0000W0f0  U T F - 8   g0OX[W00
 
  0C a d e n c i i . e x e n0nD0f0B000000vNn00s c r i p t 
0h0D0F00000k0eQ0f0O0`0U0D00
 
 
 
 00000n0Q[0U T A U n00r e s a m p l e r * . e x e 
0h00w a v t o o l . e x e 
00Oc0f0000000Y0000000
 
 ; " 0000000o0X00h0W0_0T.z00000o0-[0S fU00~0[000
 
 
 
 0U T A U ng0000000
 
 
 
 / /   R e n d e r   A s   U T A U . c s   f o r   C a d e n c i i 
 
 / /   w r i t t e n   b y   k b i n a n i   &   8 8 
 
 u s i n g   S y s t e m ; 
 
 u s i n g   S y s t e m . C o l l e c t i o n s . G e n e r i c ; 
 
 u s i n g   S y s t e m . I O ; 
 
 u s i n g   S y s t e m . W i n d o w s . F o r m s ; 
 
 u s i n g   B o a r e . L i b . V s q ; 
 
 u s i n g   B o a r e . L i b . A p p U t i l ; 
 
 u s i n g   b o c o r e e ; 
 
   
 
 p u b l i c   c l a s s   R e n d e r A s U t a u   :   F o r m   { 
 
         p r i v a t e   S y s t e m . C o m p o n e n t M o d e l . I C o n t a i n e r   c o m p o n e n t s   =   n u l l ; 
 
         p u b l i c   s t a t i c   s t r i n g   R e s a m p l e r   =   " " ; 
 
         p u b l i c   s t a t i c   s t r i n g   W a v T o o l   =   " " ; 
 
         p u b l i c   s t a t i c   s t r i n g   S i n g e r   =   " " ; 
 
         p u b l i c   s t a t i c   s t r i n g   L a s t W a v e   =   " " ; 
 
         p u b l i c   s t a t i c   b o o l   I n v o k e W i t h W i n e   =   f a l s e ; 
 
         p r i v a t e   L a b e l   l b l R e s a m p l e r ; 
 
         p r i v a t e   T e x t B o x   t x t S i n g e r ; 
 
         p r i v a t e   B u t t o n   b t n S i n g e r ; 
 
         p r i v a t e   G r o u p B o x   g r o u p C o n f i g ; 
 
         p r i v a t e   B u t t o n   b t n W a v t o o l ; 
 
         p r i v a t e   B u t t o n   b t n R e s a m p l e r ; 
 
         p r i v a t e   T e x t B o x   t x t W a v t o o l ; 
 
         p r i v a t e   T e x t B o x   t x t R e s a m p l e r ; 
 
         p r i v a t e   L a b e l   l b l W a v t o o l ; 
 
         p r i v a t e   B u t t o n   b t n O k ; 
 
         p r i v a t e   F o l d e r B r o w s e r D i a l o g   f o l d e r B r o w s e r D i a l o g ; 
 
         p r i v a t e   O p e n F i l e D i a l o g   o p e n F i l e D i a l o g ; 
 
         p r i v a t e   P i c t u r e B o x   p i c t S u m b n a i l ; 
 
         p r i v a t e   T e x t B o x   t x t P r o f ; 
 
         p r i v a t e   G r o u p B o x   g r o u p S i n g e r ; 
 
         p r i v a t e   L a b e l   l b l N a m e ; 
 
         p r i v a t e   s t a t i c   S a v e F i l e D i a l o g   s a v e F i l e D i a l o g ; 
 
         p r i v a t e   C h e c k B o x   c h k I n v o k e W i t h W i n e ; 
 
         p r i v a t e   L a b e l   l b l D i r e c t o r y ; 
 
         p r i v a t e   B u t t o n   b t n C a n c e l ; 
 
   
 
         s t r u c t   P h o n   { 
 
                 p u b l i c   s t r i n g   L y r i c ; 
 
                 p u b l i c   s t r i n g   F i l e N a m e ; 
 
                 p u b l i c   i n t   C l o c k L e n g t h ; 
 
                 p u b l i c   f l o a t   T e m p o ; 
 
                 p u b l i c   b o o l   M o d e R ; 
 
                 p u b l i c   P h o n (   s t r i n g   l y r i c ,   s t r i n g   f i l e _ n a m e ,   i n t   c l o c k _ l e n g t h ,   f l o a t   t e m p o ,   b o o l   m o d e _ r   )   { 
 
                         L y r i c   =   l y r i c ; 
 
                         F i l e N a m e   =   f i l e _ n a m e ; 
 
                         C l o c k L e n g t h   =   c l o c k _ l e n g t h ; 
 
                         T e m p o   =   t e m p o ; 
 
                         M o d e R   =   m o d e _ r ; 
 
                 } 
 
         } 
 
   
 
         / / /   < s u m m a r y > 
 
         / / /   S-[n0_pe
 
         / / /   < / s u m m a r y > 
 
         s t r u c t   O t o A r g s   { 
 
                 / / /   < s u m m a r y > 
 
                 / / /   ,{1 _pezzeW[j0n0g0O0j0D0
 
                 / / /   < / s u m m a r y > 
 
                 p u b l i c   i n t   A 1 ; 
 
                 p u b l i c   i n t   A 2 ; 
 
                 p u b l i c   i n t   A 3 ; 
 
                 p u b l i c   i n t   A 4 ; 
 
                 p u b l i c   i n t   A 5 ; 
 
                 p u b l i c   i n t   A 6 ; 
 
         } 
 
   
 
         p u b l i c   R e n d e r A s U t a u ( )   { 
 
                 I n i t i a l i z e C o m p o n e n t ( ) ; 
 
                 t x t R e s a m p l e r . T e x t   =   R e s a m p l e r ; 
 
                 t x t W a v t o o l . T e x t   =   W a v T o o l ; 
 
                 t x t S i n g e r . T e x t   =   S i n g e r ; 
 
                 f o l d e r B r o w s e r D i a l o g . S e l e c t e d P a t h   =   S i n g e r ; 
 
                 c h k I n v o k e W i t h W i n e . C h e c k e d   =   I n v o k e W i t h W i n e ; 
 
                 s a v e F i l e D i a l o g   =   n e w   S a v e F i l e D i a l o g ( ) ; 
 
                 i f   (   L a s t W a v e   ! =   " "   )   { 
 
                         t r y   { 
 
                                 s a v e F i l e D i a l o g . I n i t i a l D i r e c t o r y   =   P a t h . G e t D i r e c t o r y N a m e (   L a s t W a v e   ) ; 
 
                         }   c a t c h   { 
 
                         } 
 
                 } 
 
                 s a v e F i l e D i a l o g . F i l t e r   =   " W a v e   F i l e ( * . w a v ) | * . w a v | A l l   F i l e s ( * . * ) | * . * " ; 
 
   
 
                 b o o l   e n t e r e d   =   f a l s e ; 
 
                 i f   (   t x t R e s a m p l e r . T e x t   ! =   " "   )   { 
 
                         t r y   { 
 
                                 s t r i n g   d i r   =   P a t h . G e t D i r e c t o r y N a m e (   t x t R e s a m p l e r . T e x t   ) ; 
 
                                 o p e n F i l e D i a l o g . I n i t i a l D i r e c t o r y   =   d i r ; 
 
                                 e n t e r e d   =   t r u e ; 
 
                         }   c a t c h   { 
 
                         } 
 
                 } 
 
                 i f   (   ! e n t e r e d   & &   t x t W a v t o o l . T e x t   ! =   " "   )   { 
 
                         t r y   { 
 
                                 s t r i n g   d i r   =   P a t h . G e t D i r e c t o r y N a m e (   t x t W a v t o o l . T e x t   ) ; 
 
                                 o p e n F i l e D i a l o g . I n i t i a l D i r e c t o r y   =   d i r ; 
 
                                 e n t e r e d   =   t r u e ; 
 
                         }   c a t c h   { 
 
                         } 
 
                 } 
 
                 C h e c k O k B u t t o n A v a i l a b l e ( ) ; 
 
                 U p d a t e P r o f i l e ( ) ; 
 
                 A p p l y L a n g u a g e ( ) ; 
 
         } 
 
   
 
         v o i d   A p p l y L a n g u a g e ( )   { 
 
                 i f   (   M e s s a g i n g . L a n g u a g e   = =   " j a "   )   { 
 
                         g r o u p S i n g e r . T e x t   =   " n" ; 
 
                         g r o u p C o n f i g . T e x t   =   " -[" ; 
 
                         b t n C a n c e l . T e x t   =   " Sm" ; 
 
                         b t n O k . T e x t   =   " N" ; 
 
                         b t n S i n g e r . T e x t   =   " cY0" ; 
 
                         b t n R e s a m p l e r . T e x t   =   " cY0" ; 
 
                         b t n W a v t o o l . T e x t   =   " cY0" ; 
 
                         c h k I n v o k e W i t h W i n e . T e x t   =   " w i n e L}1ug0U T A U 000wR" ; 
 
                         l b l D i r e c t o r y . T e x t   =   " n0000" ; 
 
                 } 
 
         } 
 
   
 
         v o i d   U p d a t e P r o f i l e ( )   { 
 
                 i f   (   S i n g e r   = =   " "   | |   ! D i r e c t o r y . E x i s t s (   S i n g e r   )   )   { 
 
                         p i c t S u m b n a i l . I m a g e   =   n u l l ; 
 
                         l b l N a m e . T e x t   =   " ( U n k n o w n ) " ; 
 
                         r e t u r n ; 
 
                 } 
 
                 s t r i n g   c h a r a c t e r   =   P a t h . C o m b i n e (   S i n g e r ,   " c h a r a c t e r . t x t "   ) ; 
 
                 i f   (   F i l e . E x i s t s (   c h a r a c t e r   )   )   { 
 
                         u s i n g   (   c p 9 3 2 r e a d e r   s r   =   n e w   c p 9 3 2 r e a d e r (   c h a r a c t e r   )   )   { 
 
                                 s t r i n g   l i n e   =   " " ; 
 
                                 w h i l e   (   ( l i n e   =   s r . R e a d L i n e ( ) )   ! =   n u l l   )   { 
 
                                         s t r i n g [ ]   s p l   =   l i n e . S p l i t (   " = " . T o C h a r A r r a y ( ) ,   2   ) ; 
 
                                         i f   (   s p l . L e n g t h   > =   2   )   { 
 
                                                 i f   (   s p l [ 0 ] . T o L o w e r ( )   = =   " n a m e "   )   { 
 
                                                         l b l N a m e . T e x t   =   s p l [ 1 ] ; 
 
                                                 }   e l s e   i f   (   s p l [ 0 ] . T o L o w e r ( )   = =   " i m a g e "   )   { 
 
                                                         s t r i n g   i m a g e   =   P a t h . C o m b i n e (   S i n g e r ,   s p l [ 1 ]   ) ; 
 
                                                         i f   (   F i l e . E x i s t s (   i m a g e   )   )   { 
 
                                                                 t r y   { 
 
                                                                         p i c t S u m b n a i l . I m a g e   =   S y s t e m . D r a w i n g . B i t m a p . F r o m F i l e (   i m a g e   ) ; 
 
                                                                 }   c a t c h   { 
 
                                                                 } 
 
                                                         } 
 
                                                 } 
 
                                         } 
 
                                 } 
 
                         } 
 
                 } 
 
   
 
                 s t r i n g   r e a d m e   =   P a t h . C o m b i n e (   S i n g e r ,   " r e a d m e . t x t "   ) ; 
 
                 i f   (   F i l e . E x i s t s (   r e a d m e   )   )   { 
 
                         u s i n g   (   c p 9 3 2 r e a d e r   s r   =   n e w   c p 9 3 2 r e a d e r (   r e a d m e   )   )   { 
 
                                 t x t P r o f . T e x t   =   s r . R e a d T o E n d ( ) ; 
 
                         } 
 
                 }   e l s e   { 
 
                         t x t P r o f . T e x t   =   " " ; 
 
                 } 
 
         } 
 
   
 
         p u b l i c   s t a t i c   b o o l   E d i t (   V s q F i l e   v s q   )   { 
 
                 u s i n g   (   R e n d e r A s U t a u   d l g   =   n e w   R e n d e r A s U t a u ( )   )   { 
 
                         i f   (   d l g . S h o w D i a l o g ( )   = =   D i a l o g R e s u l t . O K   )   { 
 
                                 S i n g e r   =   d l g . t x t S i n g e r . T e x t ; 
 
                                 R e s a m p l e r   =   d l g . t x t R e s a m p l e r . T e x t ; 
 
                                 W a v T o o l   =   d l g . t x t W a v t o o l . T e x t ; 
 
                                 s t r i n g   s c r i p t   =   P a t h . C o m b i n e (   A p p l i c a t i o n . S t a r t u p P a t h ,   P a t h . C o m b i n e (   " s c r i p t " ,   " R e n d e r   A s   U T A U . c s "   )   ) ; / / S c r i p t . S c r i p t P a t h ; 
 
                                 s t r i n g   t e m p _ d i r   =   P a t h . C o m b i n e (   P a t h . G e t D i r e c t o r y N a m e (   s c r i p t   ) ,   P a t h . G e t F i l e N a m e W i t h o u t E x t e n s i o n (   s c r i p t   )   ) ; 
 
   
 
 # i f   D E B U G 
 
                                 S t r e a m W r i t e r   s w   =   n e w   S t r e a m W r i t e r (   P a t h . C o m b i n e (   t e m p _ d i r ,   " l o g . t x t "   )   ) ; 
 
 # e n d i f 
 
                                 / /   S-[000
 
                                 D i c t i o n a r y < s t r i n g ,   O t o A r g s >   c o n f i g   =   n e w   D i c t i o n a r y < s t r i n g ,   O t o A r g s > ( ) ; 
 
                                 s t r i n g   s i n g e r _ n a m e   =   P a t h . G e t F i l e N a m e (   S i n g e r   ) ; 
 
                                 s t r i n g   c o n f i g _ f i l e   =   P a t h . C o m b i n e (   S i n g e r ,   " o t o . i n i "   ) ; 
 
 # i f   D E B U G 
 
                                 s w . W r i t e L i n e (   " S i n g e r = "   +   S i n g e r   ) ; 
 
                                 s w . W r i t e L i n e (   " s i n g e r _ n a m e = "   +   s i n g e r _ n a m e   ) ; 
 
                                 s w . W r i t e L i n e (   " c o n f i g _ f i l e = "   +   c o n f i g _ f i l e   ) ; 
 
 # e n d i f 
 
                                 i f   (   F i l e . E x i s t s (   c o n f i g _ f i l e   )   )   { 
 
                                         u s i n g   (   c p 9 3 2 r e a d e r   s r   =   n e w   c p 9 3 2 r e a d e r (   c o n f i g _ f i l e   )   )   { 
 
                                                 s t r i n g   l i n e ; 
 
                                                 w h i l e   (   s r . P e e k ( )   > =   0   )   { 
 
                                                         l i n e   =   s r . R e a d L i n e ( ) ; 
 
                                                         s t r i n g [ ]   s p l   =   l i n e . S p l i t (   ' = '   ) ; 
 
                                                         s t r i n g   a 1   =   s p l [ 0 ] ; 
 
                                                         s t r i n g   a 2   =   s p l [ 1 ] ; 
 
                                                         i n t   i n d e x   =   a 1 . I n d e x O f (   " . w a v "   ) ; 
 
                                                         a 1   =   a 1 . S u b s t r i n g (   0 ,   i n d e x   ) ; 
 
                                                         s p l   =   a 2 . S p l i t (   ' , '   ) ; 
 
                                                         O t o A r g s   o a   =   n e w   O t o A r g s ( ) ; 
 
                                                         o a . A 1   =   0 ; 
 
                                                         o a . A 2   =   i n t . P a r s e (   s p l [ 1 ]   ) ; 
 
                                                         o a . A 3   =   i n t . P a r s e (   s p l [ 2 ]   ) ; 
 
                                                         o a . A 4   =   i n t . P a r s e (   s p l [ 3 ]   ) ; 
 
                                                         o a . A 5   =   i n t . P a r s e (   s p l [ 4 ]   ) ; 
 
                                                         o a . A 6   =   i n t . P a r s e (   s p l [ 5 ]   ) ; 
 
                                                         c o n f i g . A d d (   a 1 ,   o a   ) ; 
 
                                                 } 
 
                                         } 
 
                                 } 
 
   
 
                                 i n t   t r a c k   =   S c r i p t . M a n a g e r . S e l e c t e d ; 
 
                                 L i s t < P h o n >   p h o n s   =   n e w   L i s t < P h o n > ( ) ; 
 
                                 i f   (   ! D i r e c t o r y . E x i s t s (   t e m p _ d i r   )   )   { 
 
                                         D i r e c t o r y . C r e a t e D i r e c t o r y (   t e m p _ d i r   ) ; 
 
                                 } 
 
                                 i n t   c o u n t   =   - 1 ; 
 
                                 d o u b l e   s e c _ e n d   =   0 ; 
 
                                 d o u b l e   s e c _ e n d _ o l d   =   0 ; 
 
                                 f o r e a c h   (   V s q E v e n t   i t e m   i n   v s q . T r a c k s [ t r a c k ] . G e t N o t e E v e n t E n u m e r a t o r ( )   )   { 
 
                                         c o u n t + + ; 
 
                                         d o u b l e   s e c _ s t a r t   =   v s q . S e c F r o m C l o c k (   i t e m . C l o c k   ) ; 
 
                                         s e c _ e n d _ o l d   =   s e c _ e n d ; 
 
                                         s e c _ e n d   =   v s q . S e c F r o m C l o c k (   i t e m . C l o c k   +   i t e m . I D . L e n g t h   ) ; 
 
                                         f l o a t   t _ t e m p   =   ( f l o a t ) ( i t e m . I D . L e n g t h   /   ( s e c _ e n d   -   s e c _ s t a r t )   /   8 . 0 ) ; 
 
                                         i f   (   ( c o u n t   = =   0   & &   s e c _ s t a r t   >   0 . 0 )   | |   ( s e c _ s t a r t   >   s e c _ e n d _ o l d )   )   { 
 
                                                 d o u b l e   s e c _ s t a r t 2   =   s e c _ e n d _ o l d ; 
 
                                                 d o u b l e   s e c _ e n d 2   =   s e c _ s t a r t ; 
 
                                                 f l o a t   t _ t e m p 2   =   ( f l o a t ) ( i t e m . C l o c k   /   ( s e c _ e n d 2   -   s e c _ s t a r t 2 )   /   8 . 0 ) ; 
 
                                                 p h o n s . A d d (   n e w   P h o n (   " R " ,   P a t h . C o m b i n e (   S i n g e r ,   " R . w a v "   ) ,   i t e m . C l o c k ,   t _ t e m p 2 ,   t r u e   )   ) ; 
 
                                                 c o u n t + + ; 
 
                                         } 
 
                                         s t r i n g   l y r i c   =   i t e m . I D . L y r i c H a n d l e . L 0 . P h r a s e ; 
 
                                         s t r i n g   n o t e   =   N o t e S t r i n g F r o m N o t e N u m b e r (   i t e m . I D . N o t e   ) ; 
 
 # i f   D E B U G 
 
                                         s w . W r i t e L i n e (   " n o t e = "   +   n o t e   ) ; 
 
 # e n d i f 
 
                                         s t r i n g   m i l l i s e c   =   ( ( i n t ) ( ( s e c _ e n d   -   s e c _ s t a r t )   *   1 0 0 0 )   +   5 0 ) . T o S t r i n g ( ) ; 
 
   
 
                                         / / 4 _ B0_ C # 4 _ 5 5 0 . w a v 
 
                                         s t r i n g   f i l e n a m e   =   P a t h . C o m b i n e (   t e m p _ d i r ,   c o u n t   +   " _ "   +   i t e m . I D . N o t e   +   " _ "   +   m i l l i s e c   +   " . w a v "   ) ; 
 
 # i f   D E B U G 
 
                                         s w . W r i t e L i n e (   " f i l e n a m e = "   +   f i l e n a m e   ) ; 
 
                                         s w . W r i t e L i n e ( ) ; 
 
 # e n d i f 
 
                                         i f   (   F i l e . E x i s t s (   f i l e n a m e   )   )   { 
 
                                                 F i l e . D e l e t e (   f i l e n a m e   ) ; 
 
                                         } 
 
   
 
                                         p h o n s . A d d (   n e w   P h o n (   l y r i c ,   f i l e n a m e ,   i t e m . I D . L e n g t h ,   t _ t e m p ,   f a l s e   )   ) ; 
 
   
 
                                         O t o A r g s   o a   =   n e w   O t o A r g s ( ) ; 
 
                                         i f   (   c o n f i g . C o n t a i n s K e y (   l y r i c   )   )   { 
 
                                                 o a   =   c o n f i g [ l y r i c ] ; 
 
                                         } 
 
                                         s t r i n g   a r g   =   " \ " "   +   P a t h . C o m b i n e (   S i n g e r ,   l y r i c   +   " . w a v "   )   +   " \ "   \ " "   +   f i l e n a m e   +   " \ "   \ " "   +   n o t e   +   " \ "   1 0 0   L   "   +   o a . A 2   +   "   "   +   m i l l i s e c   +   "   "   +   o a . A 3   +   "   "   +   o a . A 4   +   "   1 0 0   1 0 0 " ; 
 
   
 
                                         u s i n g   (   S y s t e m . D i a g n o s t i c s . P r o c e s s   p   =   n e w   S y s t e m . D i a g n o s t i c s . P r o c e s s ( )   )   { 
 
                                                 p . S t a r t I n f o . F i l e N a m e   =   ( I n v o k e W i t h W i n e   ?   " w i n e   \ " "   :   " \ " " )   +   R e s a m p l e r   +   " \ " " ; 
 
                                                 p . S t a r t I n f o . A r g u m e n t s   =   a r g ; 
 
                                                 p . S t a r t I n f o . W o r k i n g D i r e c t o r y   =   t e m p _ d i r ; 
 
                                                 p . S t a r t I n f o . W i n d o w S t y l e   =   S y s t e m . D i a g n o s t i c s . P r o c e s s W i n d o w S t y l e . H i d d e n ; 
 
                                                 p . S t a r t ( ) ; 
 
                                                 p . W a i t F o r E x i t ( ) ; 
 
                                         } 
 
                                 } 
 
 # i f   D E B U G 
 
                                 s w . C l o s e ( ) ; 
 
 # e n d i f 
 
   
 
                                 s t r i n g   f i l e b a s e   =   " t e m p . w a v " ; 
 
                                 s t r i n g   f i l e   =   P a t h . C o m b i n e (   t e m p _ d i r ,   f i l e b a s e   ) ; 
 
                                 i f   (   F i l e . E x i s t s (   f i l e   )   )   { 
 
                                         F i l e . D e l e t e (   f i l e   ) ; 
 
                                 } 
 
                                 s t r i n g   f i l e _ w h d   =   P a t h . C o m b i n e (   t e m p _ d i r ,   f i l e b a s e   +   " . w h d "   ) ; 
 
                                 i f   (   F i l e . E x i s t s (   f i l e _ w h d   )   )   { 
 
                                         F i l e . D e l e t e (   f i l e _ w h d   ) ; 
 
                                 } 
 
                                 s t r i n g   f i l e _ d a t   =   P a t h . C o m b i n e (   t e m p _ d i r ,   f i l e b a s e   +   " . d a t "   ) ; 
 
                                 i f   (   F i l e . E x i s t s (   f i l e _ d a t   )   )   { 
 
                                         F i l e . D e l e t e (   f i l e _ d a t   ) ; 
 
                                 } 
 
   
 
                                 / /   w a v t o o l 0|Ts0QY0
 
                                 f o r   (   i n t   i   =   0 ;   i   <   p h o n s . C o u n t ;   i + +   )   { 
 
                                         O t o A r g s   o a   =   n e w   O t o A r g s ( ) ; 
 
                                         i f   (   c o n f i g . C o n t a i n s K e y (   p h o n s [ i ] . L y r i c   )   )   { 
 
                                                 o a   =   c o n f i g [ p h o n s [ i ] . L y r i c ] ; 
 
                                         } 
 
                                         / /   !kn0&{n0HQLzvXh000000000S_
 
                                         O t o A r g s   o a _ n e x t   =   n e w   O t o A r g s ( ) ; 
 
                                         i f   (   i   +   1   <   p h o n s . C o u n t   )   { 
 
                                                 i f   (   c o n f i g . C o n t a i n s K e y (   p h o n s [ i   +   1 ] . L y r i c   )   )   { 
 
                                                         o a _ n e x t   =   c o n f i g [ p h o n s [ i   +   1 ] . L y r i c ] ; 
 
                                                 } 
 
                                         } 
 
                                         i n t   m t e n   =   o a . A 5   +   o a _ n e x t . A 6   -   o a _ n e x t . A 5 ; 
 
                                         s t r i n g   a r g   =   f i l e b a s e   +   "   \ " "   +   p h o n s [ i ] . F i l e N a m e   +   " \ "   0   "   +   p h o n s [ i ] . C l o c k L e n g t h   +   " @ "   +   s t r i n g . F o r m a t (   " { 0 : f 2 } " ,   p h o n s [ i ] . T e m p o   )   +   m t e n . T o S t r i n g (   " + # ; - # ; 0 "   ) ; 
 
                                         i f   (   p h o n s [ i ] . M o d e R   )   { 
 
                                                 a r g   + =   "   0   0 " ; 
 
                                         }   e l s e   { 
 
                                                 a r g   + =   "   0   5   3 5   0   1 0 0   1 0 0   1 0 0   "   +   o a . A 6 ;   / /   000000
 
                                         } 
 
   
 
                                         u s i n g   (   S y s t e m . D i a g n o s t i c s . P r o c e s s   p   =   n e w   S y s t e m . D i a g n o s t i c s . P r o c e s s ( )   )   { 
 
                                                 p . S t a r t I n f o . F i l e N a m e   =   ( I n v o k e W i t h W i n e   ?   " w i n e   \ " "   :   " \ " " )   +   W a v T o o l   +   " \ " " ; 
 
                                                 p . S t a r t I n f o . A r g u m e n t s   =   a r g ; 
 
                                                 p . S t a r t I n f o . W o r k i n g D i r e c t o r y   =   t e m p _ d i r ; 
 
                                                 p . S t a r t I n f o . W i n d o w S t y l e   =   S y s t e m . D i a g n o s t i c s . P r o c e s s W i n d o w S t y l e . H i d d e n ; 
 
                                                 p . S t a r t ( ) ; 
 
                                                 p . W a i t F o r E x i t ( ) ; 
 
                                         } 
 
                                 } 
 
   
 
                                 / /   lb_h00000P}T
 
                                 u s i n g   (   F i l e S t r e a m   f s   =   n e w   F i l e S t r e a m (   f i l e ,   F i l e M o d e . C r e a t e   )   )   { 
 
                                         s t r i n g [ ]   f i l e s   =   n e w   s t r i n g [ ]   {   f i l e _ w h d ,   f i l e _ d a t   } ; 
 
                                         i n t   b u f l e n   =   5 1 2 ; 
 
                                         b y t e [ ]   b u f f   =   n e w   b y t e [ b u f l e n ] ; 
 
                                         f o r   (   i n t   i   =   0 ;   i   <   f i l e s . L e n g t h ;   i + +   )   { 
 
                                                 u s i n g   (   F i l e S t r e a m   f s 2   =   n e w   F i l e S t r e a m (   f i l e s [ i ] ,   F i l e M o d e . O p e n   )   )   { 
 
                                                         i n t   l e n   =   f s 2 . R e a d (   b u f f ,   0 ,   b u f l e n   ) ; 
 
                                                         w h i l e   (   l e n   >   0   )   { 
 
                                                                 f s . W r i t e (   b u f f ,   0 ,   l e n   ) ; 
 
                                                                 l e n   =   f s 2 . R e a d (   b u f f ,   0 ,   b u f l e n   ) ; 
 
                                                         } 
 
                                                 } 
 
                                         } 
 
                                 } 
 
   
 
                                 / /   _GrNQ0
 
                                 f o r e a c h   (   P h o n   p h   i n   p h o n s   )   { 
 
                                         i f   (   ! p h . M o d e R   )   { 
 
                                                 i f   (   F i l e . E x i s t s (   p h . F i l e N a m e   )   )   { 
 
                                                         F i l e . D e l e t e (   p h . F i l e N a m e   ) ; 
 
                                                 } 
 
                                         } 
 
                                 } 
 
                                 i f   (   F i l e . E x i s t s (   f i l e _ w h d   )   )   { 
 
                                         F i l e . D e l e t e (   f i l e _ w h d   ) ; 
 
                                 } 
 
                                 i f   (   F i l e . E x i s t s (   f i l e _ d a t   )   )   { 
 
                                         F i l e . D e l e t e (   f i l e _ d a t   ) ; 
 
                                 } 
 
   
 
                                 i f   (   s a v e F i l e D i a l o g . S h o w D i a l o g ( )   = =   D i a l o g R e s u l t . O K   )   { 
 
                                         i f   (   F i l e . E x i s t s (   s a v e F i l e D i a l o g . F i l e N a m e   )   )   { 
 
                                                 F i l e . D e l e t e (   s a v e F i l e D i a l o g . F i l e N a m e   ) ; 
 
                                         } 
 
                                         L a s t W a v e   =   s a v e F i l e D i a l o g . F i l e N a m e ; 
 
                                         F i l e . M o v e (   f i l e ,   s a v e F i l e D i a l o g . F i l e N a m e   ) ; 
 
                                 }   e l s e   { 
 
                                         F i l e . D e l e t e (   f i l e   ) ; 
 
                                 } 
 
                                 r e t u r n   t r u e ; 
 
                         }   e l s e   { 
 
                                 r e t u r n   f a l s e ; 
 
                         } 
 
                 } 
 
         } 
 
   
 
         p r i v a t e   s t a t i c   s t r i n g   N o t e S t r i n g F r o m N o t e N u m b e r (   i n t   n o t e _ n u m b e r   )   { 
 
                 i n t   o d d   =   n o t e _ n u m b e r   %   1 2 ; 
 
                 s t r i n g   h e a d   =   ( n e w   s t r i n g [ ]   {   " C " ,   " C # " ,   " D " ,   " D # " ,   " E " ,   " F " ,   " F # " ,   " G " ,   " G # " ,   " A " ,   " A # " ,   " B "   } ) [ o d d ] ; 
 
                 r e t u r n   h e a d   +   ( n o t e _ n u m b e r   /   1 2   -   1 ) ; 
 
         } 
 
   
 
         p r o t e c t e d   o v e r r i d e   v o i d   D i s p o s e (   b o o l   d i s p o s i n g   )   { 
 
                 i f   (   d i s p o s i n g   & &   ( c o m p o n e n t s   ! =   n u l l )   )   { 
 
                         c o m p o n e n t s . D i s p o s e ( ) ; 
 
                 } 
 
                 b a s e . D i s p o s e (   d i s p o s i n g   ) ; 
 
         } 
 
   
 
         p r i v a t e   v o i d   I n i t i a l i z e C o m p o n e n t ( )   { 
 
                 t h i s . l b l R e s a m p l e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . L a b e l ( ) ; 
 
                 t h i s . t x t S i n g e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . T e x t B o x ( ) ; 
 
                 t h i s . b t n S i n g e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . B u t t o n ( ) ; 
 
                 t h i s . g r o u p C o n f i g   =   n e w   S y s t e m . W i n d o w s . F o r m s . G r o u p B o x ( ) ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e   =   n e w   S y s t e m . W i n d o w s . F o r m s . C h e c k B o x ( ) ; 
 
                 t h i s . b t n W a v t o o l   =   n e w   S y s t e m . W i n d o w s . F o r m s . B u t t o n ( ) ; 
 
                 t h i s . b t n R e s a m p l e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . B u t t o n ( ) ; 
 
                 t h i s . t x t W a v t o o l   =   n e w   S y s t e m . W i n d o w s . F o r m s . T e x t B o x ( ) ; 
 
                 t h i s . t x t R e s a m p l e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . T e x t B o x ( ) ; 
 
                 t h i s . l b l W a v t o o l   =   n e w   S y s t e m . W i n d o w s . F o r m s . L a b e l ( ) ; 
 
                 t h i s . b t n O k   =   n e w   S y s t e m . W i n d o w s . F o r m s . B u t t o n ( ) ; 
 
                 t h i s . b t n C a n c e l   =   n e w   S y s t e m . W i n d o w s . F o r m s . B u t t o n ( ) ; 
 
                 t h i s . f o l d e r B r o w s e r D i a l o g   =   n e w   S y s t e m . W i n d o w s . F o r m s . F o l d e r B r o w s e r D i a l o g ( ) ; 
 
                 t h i s . o p e n F i l e D i a l o g   =   n e w   S y s t e m . W i n d o w s . F o r m s . O p e n F i l e D i a l o g ( ) ; 
 
                 t h i s . p i c t S u m b n a i l   =   n e w   S y s t e m . W i n d o w s . F o r m s . P i c t u r e B o x ( ) ; 
 
                 t h i s . t x t P r o f   =   n e w   S y s t e m . W i n d o w s . F o r m s . T e x t B o x ( ) ; 
 
                 t h i s . g r o u p S i n g e r   =   n e w   S y s t e m . W i n d o w s . F o r m s . G r o u p B o x ( ) ; 
 
                 t h i s . l b l N a m e   =   n e w   S y s t e m . W i n d o w s . F o r m s . L a b e l ( ) ; 
 
                 t h i s . l b l D i r e c t o r y   =   n e w   S y s t e m . W i n d o w s . F o r m s . L a b e l ( ) ; 
 
                 t h i s . g r o u p C o n f i g . S u s p e n d L a y o u t ( ) ; 
 
                 ( ( S y s t e m . C o m p o n e n t M o d e l . I S u p p o r t I n i t i a l i z e ) ( t h i s . p i c t S u m b n a i l ) ) . B e g i n I n i t ( ) ; 
 
                 t h i s . g r o u p S i n g e r . S u s p e n d L a y o u t ( ) ; 
 
                 t h i s . S u s p e n d L a y o u t ( ) ; 
 
                 / /   
 
                 / /   l b l R e s a m p l e r 
 
                 / /   
 
                 t h i s . l b l R e s a m p l e r . A u t o S i z e   =   t r u e ; 
 
                 t h i s . l b l R e s a m p l e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 1 ,   2 9   ) ; 
 
                 t h i s . l b l R e s a m p l e r . N a m e   =   " l b l R e s a m p l e r " ; 
 
                 t h i s . l b l R e s a m p l e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   5 5 ,   1 2   ) ; 
 
                 t h i s . l b l R e s a m p l e r . T a b I n d e x   =   0 ; 
 
                 t h i s . l b l R e s a m p l e r . T e x t   =   " r e s a m p l e r " ; 
 
                 / /   
 
                 / /   t x t S i n g e r 
 
                 / /   
 
                 t h i s . t x t S i n g e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   9 8 ,   1 7 6   ) ; 
 
                 t h i s . t x t S i n g e r . N a m e   =   " t x t S i n g e r " ; 
 
                 t h i s . t x t S i n g e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   2 1 5 ,   1 9   ) ; 
 
                 t h i s . t x t S i n g e r . T a b I n d e x   =   2 ; 
 
                 t h i s . t x t S i n g e r . T e x t C h a n g e d   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . t x t S i n g e r _ T e x t C h a n g e d   ) ; 
 
                 / /   
 
                 / /   b t n S i n g e r 
 
                 / /   
 
                 t h i s . b t n S i n g e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   3 1 9 ,   1 7 4   ) ; 
 
                 t h i s . b t n S i n g e r . N a m e   =   " b t n S i n g e r " ; 
 
                 t h i s . b t n S i n g e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   5 6 ,   2 3   ) ; 
 
                 t h i s . b t n S i n g e r . T a b I n d e x   =   3 ; 
 
                 t h i s . b t n S i n g e r . T e x t   =   " B r o w s e " ; 
 
                 t h i s . b t n S i n g e r . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 t h i s . b t n S i n g e r . C l i c k   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . b t n S i n g e r _ C l i c k   ) ; 
 
                 / /   
 
                 / /   g r o u p C o n f i g 
 
                 / /   
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . c h k I n v o k e W i t h W i n e   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . b t n W a v t o o l   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . b t n R e s a m p l e r   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . t x t W a v t o o l   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . t x t R e s a m p l e r   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . l b l W a v t o o l   ) ; 
 
                 t h i s . g r o u p C o n f i g . C o n t r o l s . A d d (   t h i s . l b l R e s a m p l e r   ) ; 
 
                 t h i s . g r o u p C o n f i g . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 4 ,   2 3 6   ) ; 
 
                 t h i s . g r o u p C o n f i g . N a m e   =   " g r o u p C o n f i g " ; 
 
                 t h i s . g r o u p C o n f i g . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   3 9 4 ,   1 0 6   ) ; 
 
                 t h i s . g r o u p C o n f i g . T a b I n d e x   =   4 ; 
 
                 t h i s . g r o u p C o n f i g . T a b S t o p   =   f a l s e ; 
 
                 t h i s . g r o u p C o n f i g . T e x t   =   " C o n f i g u r a t i o n " ; 
 
                 / /   
 
                 / /   c h k I n v o k e W i t h W i n e 
 
                 / /   
 
                 t h i s . c h k I n v o k e W i t h W i n e . A u t o S i z e   =   t r u e ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 3 ,   7 6   ) ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . N a m e   =   " c h k I n v o k e W i t h W i n e " ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   1 1 0 ,   1 6   ) ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . T a b I n d e x   =   8 ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . T e x t   =   " I n v o k e   w i t h   W i n e " ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 t h i s . c h k I n v o k e W i t h W i n e . C h e c k e d C h a n g e d   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . c h k I n v o k e W i t h W i n e _ C h e c k e d C h a n g e d   ) ; 
 
                 / /   
 
                 / /   b t n W a v t o o l 
 
                 / /   
 
                 t h i s . b t n W a v t o o l . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   3 1 9 ,   4 9   ) ; 
 
                 t h i s . b t n W a v t o o l . N a m e   =   " b t n W a v t o o l " ; 
 
                 t h i s . b t n W a v t o o l . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   5 6 ,   2 3   ) ; 
 
                 t h i s . b t n W a v t o o l . T a b I n d e x   =   7 ; 
 
                 t h i s . b t n W a v t o o l . T e x t   =   " B r o w s e " ; 
 
                 t h i s . b t n W a v t o o l . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 t h i s . b t n W a v t o o l . C l i c k   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . b t n W a v t o o l _ C l i c k   ) ; 
 
                 / /   
 
                 / /   b t n R e s a m p l e r 
 
                 / /   
 
                 t h i s . b t n R e s a m p l e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   3 1 9 ,   2 4   ) ; 
 
                 t h i s . b t n R e s a m p l e r . N a m e   =   " b t n R e s a m p l e r " ; 
 
                 t h i s . b t n R e s a m p l e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   5 6 ,   2 3   ) ; 
 
                 t h i s . b t n R e s a m p l e r . T a b I n d e x   =   5 ; 
 
                 t h i s . b t n R e s a m p l e r . T e x t   =   " B r o w s e " ; 
 
                 t h i s . b t n R e s a m p l e r . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 t h i s . b t n R e s a m p l e r . C l i c k   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . b t n R e s a m p l e r _ C l i c k   ) ; 
 
                 / /   
 
                 / /   t x t W a v t o o l 
 
                 / /   
 
                 t h i s . t x t W a v t o o l . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   7 7 ,   5 1   ) ; 
 
                 t h i s . t x t W a v t o o l . N a m e   =   " t x t W a v t o o l " ; 
 
                 t h i s . t x t W a v t o o l . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   2 3 6 ,   1 9   ) ; 
 
                 t h i s . t x t W a v t o o l . T a b I n d e x   =   6 ; 
 
                 t h i s . t x t W a v t o o l . T e x t C h a n g e d   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . t x t W a v t o o l _ T e x t C h a n g e d   ) ; 
 
                 / /   
 
                 / /   t x t R e s a m p l e r 
 
                 / /   
 
                 t h i s . t x t R e s a m p l e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   7 7 ,   2 6   ) ; 
 
                 t h i s . t x t R e s a m p l e r . N a m e   =   " t x t R e s a m p l e r " ; 
 
                 t h i s . t x t R e s a m p l e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   2 3 6 ,   1 9   ) ; 
 
                 t h i s . t x t R e s a m p l e r . T a b I n d e x   =   5 ; 
 
                 t h i s . t x t R e s a m p l e r . T e x t C h a n g e d   + =   n e w   S y s t e m . E v e n t H a n d l e r (   t h i s . t x t R e s a m p l e r _ T e x t C h a n g e d   ) ; 
 
                 / /   
 
                 / /   l b l W a v t o o l 
 
                 / /   
 
                 t h i s . l b l W a v t o o l . A u t o S i z e   =   t r u e ; 
 
                 t h i s . l b l W a v t o o l . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 1 ,   5 4   ) ; 
 
                 t h i s . l b l W a v t o o l . N a m e   =   " l b l W a v t o o l " ; 
 
                 t h i s . l b l W a v t o o l . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   4 4 ,   1 2   ) ; 
 
                 t h i s . l b l W a v t o o l . T a b I n d e x   =   1 ; 
 
                 t h i s . l b l W a v t o o l . T e x t   =   " w a v t o o l " ; 
 
                 / /   
 
                 / /   b t n O k 
 
                 / /   
 
                 t h i s . b t n O k . D i a l o g R e s u l t   =   S y s t e m . W i n d o w s . F o r m s . D i a l o g R e s u l t . O K ; 
 
                 t h i s . b t n O k . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   2 5 2 ,   3 5 6   ) ; 
 
                 t h i s . b t n O k . N a m e   =   " b t n O k " ; 
 
                 t h i s . b t n O k . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   7 5 ,   2 3   ) ; 
 
                 t h i s . b t n O k . T a b I n d e x   =   6 ; 
 
                 t h i s . b t n O k . T e x t   =   " O K " ; 
 
                 t h i s . b t n O k . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 / /   
 
                 / /   b t n C a n c e l 
 
                 / /   
 
                 t h i s . b t n C a n c e l . D i a l o g R e s u l t   =   S y s t e m . W i n d o w s . F o r m s . D i a l o g R e s u l t . C a n c e l ; 
 
                 t h i s . b t n C a n c e l . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   3 3 3 ,   3 5 6   ) ; 
 
                 t h i s . b t n C a n c e l . N a m e   =   " b t n C a n c e l " ; 
 
                 t h i s . b t n C a n c e l . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   7 5 ,   2 3   ) ; 
 
                 t h i s . b t n C a n c e l . T a b I n d e x   =   7 ; 
 
                 t h i s . b t n C a n c e l . T e x t   =   " C a n c e l " ; 
 
                 t h i s . b t n C a n c e l . U s e V i s u a l S t y l e B a c k C o l o r   =   t r u e ; 
 
                 / /   
 
                 / /   o p e n F i l e D i a l o g 
 
                 / /   
 
                 t h i s . o p e n F i l e D i a l o g . F i l e N a m e   =   " o p e n F i l e D i a l o g 1 " ; 
 
                 / /   
 
                 / /   p i c t S u m b n a i l 
 
                 / /   
 
                 t h i s . p i c t S u m b n a i l . B o r d e r S t y l e   =   S y s t e m . W i n d o w s . F o r m s . B o r d e r S t y l e . F i x e d S i n g l e ; 
 
                 t h i s . p i c t S u m b n a i l . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 8 ,   5 2   ) ; 
 
                 t h i s . p i c t S u m b n a i l . N a m e   =   " p i c t S u m b n a i l " ; 
 
                 t h i s . p i c t S u m b n a i l . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   1 0 0 ,   1 0 0   ) ; 
 
                 t h i s . p i c t S u m b n a i l . T a b I n d e x   =   8 ; 
 
                 t h i s . p i c t S u m b n a i l . T a b S t o p   =   f a l s e ; 
 
                 / /   
 
                 / /   t x t P r o f 
 
                 / /   
 
                 t h i s . t x t P r o f . B a c k C o l o r   =   S y s t e m . D r a w i n g . S y s t e m C o l o r s . W i n d o w ; 
 
                 t h i s . t x t P r o f . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 3 1 ,   4 7   ) ; 
 
                 t h i s . t x t P r o f . M u l t i l i n e   =   t r u e ; 
 
                 t h i s . t x t P r o f . N a m e   =   " t x t P r o f " ; 
 
                 t h i s . t x t P r o f . R e a d O n l y   =   t r u e ; 
 
                 t h i s . t x t P r o f . S c r o l l B a r s   =   S y s t e m . W i n d o w s . F o r m s . S c r o l l B a r s . B o t h ; 
 
                 t h i s . t x t P r o f . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   2 4 7 ,   1 1 1   ) ; 
 
                 t h i s . t x t P r o f . T a b I n d e x   =   9 ; 
 
                 t h i s . t x t P r o f . W o r d W r a p   =   f a l s e ; 
 
                 / /   
 
                 / /   g r o u p S i n g e r 
 
                 / /   
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . l b l D i r e c t o r y   ) ; 
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . l b l N a m e   ) ; 
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . p i c t S u m b n a i l   ) ; 
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . t x t P r o f   ) ; 
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . t x t S i n g e r   ) ; 
 
                 t h i s . g r o u p S i n g e r . C o n t r o l s . A d d (   t h i s . b t n S i n g e r   ) ; 
 
                 t h i s . g r o u p S i n g e r . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 4 ,   1 2   ) ; 
 
                 t h i s . g r o u p S i n g e r . N a m e   =   " g r o u p S i n g e r " ; 
 
                 t h i s . g r o u p S i n g e r . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   3 9 4 ,   2 1 8   ) ; 
 
                 t h i s . g r o u p S i n g e r . T a b I n d e x   =   1 0 ; 
 
                 t h i s . g r o u p S i n g e r . T a b S t o p   =   f a l s e ; 
 
                 t h i s . g r o u p S i n g e r . T e x t   =   " S i n g e r " ; 
 
                 / /   
 
                 / /   l b l N a m e 
 
                 / /   
 
                 t h i s . l b l N a m e . A u t o S i z e   =   t r u e ; 
 
                 t h i s . l b l N a m e . F o n t   =   n e w   S y s t e m . D r a w i n g . F o n t (   " M S   U I   G o t h i c " ,   9 . 7 5 F ,   S y s t e m . D r a w i n g . F o n t S t y l e . B o l d ,   S y s t e m . D r a w i n g . G r a p h i c s U n i t . P o i n t ,   ( ( b y t e ) ( 1 2 8 ) )   ) ; 
 
                 t h i s . l b l N a m e . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   2 1 ,   2 3   ) ; 
 
                 t h i s . l b l N a m e . N a m e   =   " l b l N a m e " ; 
 
                 t h i s . l b l N a m e . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   7 4 ,   1 3   ) ; 
 
                 t h i s . l b l N a m e . T a b I n d e x   =   1 0 ; 
 
                 t h i s . l b l N a m e . T e x t   =   " ( U n k n o w n ) " ; 
 
                 / /   
 
                 / /   l b l D i r e c t o r y 
 
                 / /   
 
                 t h i s . l b l D i r e c t o r y . A u t o S i z e   =   t r u e ; 
 
                 t h i s . l b l D i r e c t o r y . L o c a t i o n   =   n e w   S y s t e m . D r a w i n g . P o i n t (   1 1 ,   1 7 9   ) ; 
 
                 t h i s . l b l D i r e c t o r y . N a m e   =   " l b l D i r e c t o r y " ; 
 
                 t h i s . l b l D i r e c t o r y . S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   8 1 ,   1 2   ) ; 
 
                 t h i s . l b l D i r e c t o r y . T a b I n d e x   =   1 1 ; 
 
                 t h i s . l b l D i r e c t o r y . T e x t   =   " v o i c e   d i r e c t o r y " ; 
 
                 / /   
 
                 / /   R e n d e r A s U t a u 
 
                 / /   
 
                 t h i s . A c c e p t B u t t o n   =   t h i s . b t n O k ; 
 
                 t h i s . A u t o S c a l e D i m e n s i o n s   =   n e w   S y s t e m . D r a w i n g . S i z e F (   6 F ,   1 2 F   ) ; 
 
                 t h i s . A u t o S c a l e M o d e   =   S y s t e m . W i n d o w s . F o r m s . A u t o S c a l e M o d e . F o n t ; 
 
                 t h i s . C a n c e l B u t t o n   =   t h i s . b t n C a n c e l ; 
 
                 t h i s . C l i e n t S i z e   =   n e w   S y s t e m . D r a w i n g . S i z e (   4 2 0 ,   3 9 3   ) ; 
 
                 t h i s . C o n t r o l s . A d d (   t h i s . g r o u p S i n g e r   ) ; 
 
                 t h i s . C o n t r o l s . A d d (   t h i s . b t n C a n c e l   ) ; 
 
                 t h i s . C o n t r o l s . A d d (   t h i s . b t n O k   ) ; 
 
                 t h i s . C o n t r o l s . A d d (   t h i s . g r o u p C o n f i g   ) ; 
 
                 t h i s . F o r m B o r d e r S t y l e   =   S y s t e m . W i n d o w s . F o r m s . F o r m B o r d e r S t y l e . F i x e d S i n g l e ; 
 
                 t h i s . M a x i m i z e B o x   =   f a l s e ; 
 
                 t h i s . M i n i m i z e B o x   =   f a l s e ; 
 
                 t h i s . N a m e   =   " R e n d e r A s U t a u " ; 
 
                 t h i s . S h o w I c o n   =   f a l s e ; 
 
                 t h i s . S t a r t P o s i t i o n   =   S y s t e m . W i n d o w s . F o r m s . F o r m S t a r t P o s i t i o n . C e n t e r P a r e n t ; 
 
                 t h i s . T e x t   =   " R e n d e r   A s   U T A U " ; 
 
                 t h i s . g r o u p C o n f i g . R e s u m e L a y o u t (   f a l s e   ) ; 
 
                 t h i s . g r o u p C o n f i g . P e r f o r m L a y o u t ( ) ; 
 
                 ( ( S y s t e m . C o m p o n e n t M o d e l . I S u p p o r t I n i t i a l i z e ) ( t h i s . p i c t S u m b n a i l ) ) . E n d I n i t ( ) ; 
 
                 t h i s . g r o u p S i n g e r . R e s u m e L a y o u t (   f a l s e   ) ; 
 
                 t h i s . g r o u p S i n g e r . P e r f o r m L a y o u t ( ) ; 
 
                 t h i s . R e s u m e L a y o u t (   f a l s e   ) ; 
 
   
 
         } 
 
   
 
         p r i v a t e   v o i d   b t n S i n g e r _ C l i c k (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 i f   (   f o l d e r B r o w s e r D i a l o g . S h o w D i a l o g ( )   = =   D i a l o g R e s u l t . O K   )   { 
 
                         t x t S i n g e r . T e x t   =   f o l d e r B r o w s e r D i a l o g . S e l e c t e d P a t h ; 
 
                         U p d a t e P r o f i l e ( ) ; 
 
                 } 
 
         } 
 
   
 
         p r i v a t e   v o i d   C h e c k O k B u t t o n A v a i l a b l e ( )   { 
 
                 i f   (   ! F i l e . E x i s t s (   R e s a m p l e r   )   | |   ! F i l e . E x i s t s (   W a v T o o l   )   | |   ! D i r e c t o r y . E x i s t s (   S i n g e r   )   )   { 
 
                         b t n O k . E n a b l e d   =   f a l s e ; 
 
                 }   e l s e   { 
 
                         b t n O k . E n a b l e d   =   t r u e ; 
 
                 } 
 
         } 
 
   
 
         p r i v a t e   v o i d   b t n R e s a m p l e r _ C l i c k (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 i f   (   o p e n F i l e D i a l o g . S h o w D i a l o g ( )   = =   D i a l o g R e s u l t . O K   )   { 
 
                         t x t R e s a m p l e r . T e x t   =   o p e n F i l e D i a l o g . F i l e N a m e ; 
 
                 } 
 
         } 
 
   
 
         p r i v a t e   v o i d   b t n W a v t o o l _ C l i c k (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 i f   (   o p e n F i l e D i a l o g . S h o w D i a l o g ( )   = =   D i a l o g R e s u l t . O K   )   { 
 
                         t x t W a v t o o l . T e x t   =   o p e n F i l e D i a l o g . F i l e N a m e ; 
 
                 } 
 
         } 
 
   
 
         p r i v a t e   v o i d   t x t R e s a m p l e r _ T e x t C h a n g e d (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 R e s a m p l e r   =   t x t R e s a m p l e r . T e x t ; 
 
                 C h e c k O k B u t t o n A v a i l a b l e ( ) ; 
 
         } 
 
   
 
         p r i v a t e   v o i d   t x t W a v t o o l _ T e x t C h a n g e d (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 W a v T o o l   =   t x t W a v t o o l . T e x t ; 
 
                 C h e c k O k B u t t o n A v a i l a b l e ( ) ; 
 
         } 
 
   
 
         p r i v a t e   v o i d   t x t S i n g e r _ T e x t C h a n g e d (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 S i n g e r   =   t x t S i n g e r . T e x t ; 
 
                 C h e c k O k B u t t o n A v a i l a b l e ( ) ; 
 
                 U p d a t e P r o f i l e ( ) ; 
 
         } 
 
   
 
         p r i v a t e   v o i d   c h k I n v o k e W i t h W i n e _ C h e c k e d C h a n g e d (   o b j e c t   s e n d e r ,   E v e n t A r g s   e   )   { 
 
                 I n v o k e W i t h W i n e   =   c h k I n v o k e W i t h W i n e . C h e c k e d ; 
 
         } 
 
 } 
 
   
 
 0000000n0Q[00000k0OX[Y00
 
 
 
 p u b l i c   s t a t i c   c l a s s   S a v e M e t a T e x t   { 
 
         p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . L i b . V s q . V s q F i l e   v s q   )   { 
 
                 v s q . T r a c k [ 1 ] . p r i n t M e t a T e x t (   @ " c : \ m e t a _ t e x t . t x t "   ) ; 
 
                 r e t u r n   t r u e ; 
 
         } 
 
 } 
 
 
 
 0Lk^`1X0S_W000000k0OX[Y00
 
 
 
 p u b l i c   s t a t i c   c l a s s   P r i n t L y r i c   { 
 
         p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . L i b . V s q . V s q F i l e   V s q   )   { 
 
                 S y s t e m . I O . S t r e a m W r i t e r   s w   =   n u l l ; 
 
                 t r y   { 
 
                         s w   =   n e w   S y s t e m . I O . S t r e a m W r i t e r (   @ " c : \ l y r i c s . t x t "   ) ; 
 
                         f o r   (   B o a r e . L i b . V s q . I t e r a t o r   i t r   =   V s q . T r a c k [ 1 ] . g e t N o t e E v e n t I t e r a t o r ( ) ;   i t r . h a s N e x t ( ) ;   )   { 
 
                                 B o a r e . L i b . V s q . V s q E v e n t   i t e m   =   ( B o a r e . L i b . V s q . V s q E v e n t ) i t r . n e x t ( ) ; 
 
                                 i n t   c l S t a r t   =   i t e m . C l o c k ; 
 
                                 i n t   c l E n d   =   c l S t a r t   +   i t e m . I D . L e n g t h ; 
 
                                 d o u b l e   s e c S t a r t   =   V s q . g e t S e c F r o m C l o c k (   c l S t a r t   ) ; 
 
                                 d o u b l e   s e c E n d   =   V s q . g e t S e c F r o m C l o c k (   c l E n d   ) ; 
 
                                 s w . W r i t e L i n e (   s e c S t a r t   +   " \ t "   +   s e c E n d   +   " \ t "   +   i t e m . I D . L y r i c H a n d l e . L 0 . P h r a s e   +   " \ t "   +   i t e m . I D . L y r i c H a n d l e . L 0 . P h o n e t i c S y m b o l   ) ; 
 
                         } 
 
                 }   c a t c h   { 
 
                         r e t u r n   f a l s e ; 
 
                 }   f i n a l l y   { 
 
                         i f   (   s w   ! =   n u l l   )   { 
 
                                 s w . C l o s e ( ) ; 
 
                         } 
 
                 } 
 
                 r e t u r n   t r u e ; 
 
         } 
 
 } 
 
 
 
 0hQf0n0&{0JS
NR00
 
 
 
 p u b l i c   s t a t i c   c l a s s   U p H a l f S t e p   { 
 
         p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . L i b . V s q . V s q F i l e   V s q   )   { 
 
                 f o r   (   i n t   i   =   1 ;   i   <   V s q . T r a c k . C o u n t ;   i + +   )   { 
 
                         f o r   (   B o a r e . L i b . V s q . I t e r a t o r   i t r   =   V s q . T r a c k [ i ] . g e t N o t e E v e n t I t e r a t o r ( ) ;   i t r . h a s N e x t ( ) ;   )   { 
 
                                 B o a r e . L i b . V s q . V s q E v e n t   i t e m   =   ( B o a r e . L i b . V s q . V s q E v e n t ) i t r . n e x t ( ) ; 
 
                                 i f   (   i t e m . I D . N o t e   <   1 2 7   )   { 
 
                                         i t e m . I D . N o t e + + ; 
 
                                 } 
 
                         } 
 
                 } 
 
                 r e t u r n   t r u e ; 
 
         } 
 
 } 
 
 
 
 0hQf0n0&{n0wU003 2 R&{R`0Q0wO0Y00
 
 
 
 p u b l i c   s t a t i c   c l a s s   T r i m 3 2   { 
 
         p u b l i c   s t a t i c   b o o l   E d i t (   B o a r e . L i b . V s q . V s q F i l e   V s q   )   { 
 
                 f o r   (   i n t   i   =   1 ;   i   <   V s q . T r a c k . C o u n t ;   i + +   )   { 
 
                         f o r   (   B o a r e . L i b . V s q . I t e r a t o r   i t r   =   V s q . T r a c k [ i ] . g e t N o t e E v e n t I t e r a t o r ( ) ;   i t r . h a s N e x t ( ) ;   )   { 
 
                                 B o a r e . L i b . V s q . V s q E v e n t   i t e m   =   ( B o a r e . L i b . V s q . V s q E v e n t ) i t r . n e x t ( ) ; 
 
                                 / /   3 2 R&{n0wU0o00000pek0vY0h06 0 0000
 
                                 i f   (   i t e m . I D . L e n g t h   >   6 0   )   { 
 
                                         i t e m . I D . L e n g t h   - =   6 0 ; 
 
                                 } 
 
                         } 
 
                 } 
 
                 r e t u r n   t r u e ; 
 
         } 
 
 } 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 