public function ApplyToSamples(&$_ln4hd3r3bui3pl6bjhbzu)
 {
     $_0qlc7ty5v521tapigloi0ri133 = count($_ln4hd3r3bui3pl6bjhbzu);
     $_Oodwlao6pnpa5gm477bg6 = array();
     for ($_Orc8yvkx43j5o0jjx0x3d = 0; $_Orc8yvkx43j5o0jjx0x3d < $_0qlc7ty5v521tapigloi0ri133; $_Orc8yvkx43j5o0jjx0x3d++) {
         $_Ojxao86fwnbbfiqo = $_ln4hd3r3bui3pl6bjhbzu[$_Orc8yvkx43j5o0jjx0x3d] < 0 ? -1 : 1;
         $_Oodwlao6pnpa5gm477bg6[$_Orc8yvkx43j5o0jjx0x3d] = $_Ojxao86fwnbbfiqo * sqrt(LBD_MathHelper::Int16Abs($_ln4hd3r3bui3pl6bjhbzu[$_Orc8yvkx43j5o0jjx0x3d]));
     }
     $_ikvf6ury8vmawk2t = LBD_MathHelper::PeakAmplitude($_Oodwlao6pnpa5gm477bg6);
     $_lntxtjes1er8uz6p = $this->_lgx1bc8hejnasfrwmlbute8ofu / $_ikvf6ury8vmawk2t;
     for ($_Orc8yvkx43j5o0jjx0x3d = 0; $_Orc8yvkx43j5o0jjx0x3d < $_0qlc7ty5v521tapigloi0ri133; $_Orc8yvkx43j5o0jjx0x3d++) {
         $_ln4hd3r3bui3pl6bjhbzu[$_Orc8yvkx43j5o0jjx0x3d] = round($_Oodwlao6pnpa5gm477bg6[$_Orc8yvkx43j5o0jjx0x3d] * $_lntxtjes1er8uz6p);
     }
     $_0zoka9ejwihshppt = new LBD_Normalize();
     $_0zoka9ejwihshppt->PeakPercentage = $this->_ixhen7dnakuuo2bm;
     $_0zoka9ejwihshppt->ApplyToSamples($_ln4hd3r3bui3pl6bjhbzu);
 }
Ejemplo n.º 2
0
 public function ApplyToSamples(&$_1x74bgcmtopeddws)
 {
     $_osfpu0pzjdgu587fo38ms = count($_1x74bgcmtopeddws);
     $_Ild0pki9o1femets3ievwpef5w = array();
     for ($_lcqwcbl1no2xfgk7ee7oym6b52 = 0; $_lcqwcbl1no2xfgk7ee7oym6b52 < $_osfpu0pzjdgu587fo38ms; $_lcqwcbl1no2xfgk7ee7oym6b52++) {
         $_Ow7r95j2x7ccpre5 = $_1x74bgcmtopeddws[$_lcqwcbl1no2xfgk7ee7oym6b52] < 0 ? -1 : 1;
         $_Ild0pki9o1femets3ievwpef5w[$_lcqwcbl1no2xfgk7ee7oym6b52] = $_Ow7r95j2x7ccpre5 * sqrt(LBD_MathHelper::Int16Abs($_1x74bgcmtopeddws[$_lcqwcbl1no2xfgk7ee7oym6b52]));
     }
     $_O4qheq8w08culf04 = LBD_MathHelper::PeakAmplitude($_Ild0pki9o1femets3ievwpef5w);
     $_oo0wtogxbjlqod7g = $this->_0yprln8cq8hlltuprx2p5 / $_O4qheq8w08culf04;
     for ($_lcqwcbl1no2xfgk7ee7oym6b52 = 0; $_lcqwcbl1no2xfgk7ee7oym6b52 < $_osfpu0pzjdgu587fo38ms; $_lcqwcbl1no2xfgk7ee7oym6b52++) {
         $_1x74bgcmtopeddws[$_lcqwcbl1no2xfgk7ee7oym6b52] = round($_Ild0pki9o1femets3ievwpef5w[$_lcqwcbl1no2xfgk7ee7oym6b52] * $_oo0wtogxbjlqod7g);
     }
     $_l50clfnyzmktlknq = new LBD_Normalize();
     $_l50clfnyzmktlknq->PeakPercentage = $this->_l2sgapmciqgiqvpv3dpzigq5ow;
     $_l50clfnyzmktlknq->ApplyToSamples($_1x74bgcmtopeddws);
 }
 public function ApplyToSamples(&$_i5h3qdqyc587191h4iinw)
 {
     $_Ipkgcqg6tp3sd1id = count($_i5h3qdqyc587191h4iinw);
     $_ip8s6ujj60whcxcf = array();
     for ($_lo42g6q8lz2y0gk3isdymt9td9 = 0; $_lo42g6q8lz2y0gk3isdymt9td9 < $_Ipkgcqg6tp3sd1id; $_lo42g6q8lz2y0gk3isdymt9td9++) {
         $_Ogulf0bi5jy6gygxl1inm = $_i5h3qdqyc587191h4iinw[$_lo42g6q8lz2y0gk3isdymt9td9] < 0 ? -1 : 1;
         $_ip8s6ujj60whcxcf[$_lo42g6q8lz2y0gk3isdymt9td9] = $_Ogulf0bi5jy6gygxl1inm * sqrt(LBD_MathHelper::Int16Abs($_i5h3qdqyc587191h4iinw[$_lo42g6q8lz2y0gk3isdymt9td9]));
     }
     $_0npjtdez2mouy6ii = LBD_MathHelper::PeakAmplitude($_ip8s6ujj60whcxcf);
     $_0dk598iqlpus6ootvlb6s = $this->_Of87d5ir6l592q8p60dkp958v7 / $_0npjtdez2mouy6ii;
     for ($_lo42g6q8lz2y0gk3isdymt9td9 = 0; $_lo42g6q8lz2y0gk3isdymt9td9 < $_Ipkgcqg6tp3sd1id; $_lo42g6q8lz2y0gk3isdymt9td9++) {
         $_i5h3qdqyc587191h4iinw[$_lo42g6q8lz2y0gk3isdymt9td9] = round($_ip8s6ujj60whcxcf[$_lo42g6q8lz2y0gk3isdymt9td9] * $_0dk598iqlpus6ootvlb6s);
     }
     $_O66jdlcy8nuwe9sk = new LBD_Normalize();
     $_O66jdlcy8nuwe9sk->PeakPercentage = $this->_irwzhirb00fzl5aagnuzo;
     $_O66jdlcy8nuwe9sk->ApplyToSamples($_i5h3qdqyc587191h4iinw);
 }
Ejemplo n.º 4
0
 public function ApplyToSamples(&$_Ik3ztyzvl5g8p2z3394gzx2nsd)
 {
     $_0jc40g57jtgdjcf4 = count($_Ik3ztyzvl5g8p2z3394gzx2nsd);
     $_ife5ot3mkafqtawg5dftp = array();
     for ($_Ig5x60lrj176ias4 = 0; $_Ig5x60lrj176ias4 < $_0jc40g57jtgdjcf4; $_Ig5x60lrj176ias4++) {
         $_07su6umgp19ec06iikm6r = $_Ik3ztyzvl5g8p2z3394gzx2nsd[$_Ig5x60lrj176ias4] < 0 ? -1 : 1;
         $_ife5ot3mkafqtawg5dftp[$_Ig5x60lrj176ias4] = $_07su6umgp19ec06iikm6r * sqrt(LBD_MathHelper::Int16Abs($_Ik3ztyzvl5g8p2z3394gzx2nsd[$_Ig5x60lrj176ias4]));
     }
     $_l1qy1t6it8qgcsyv15cmm = LBD_MathHelper::PeakAmplitude($_ife5ot3mkafqtawg5dftp);
     $_I3kuf8if7if3k7c0rztgbxx59h = $this->_Idealslajqfktwcc / $_l1qy1t6it8qgcsyv15cmm;
     for ($_Ig5x60lrj176ias4 = 0; $_Ig5x60lrj176ias4 < $_0jc40g57jtgdjcf4; $_Ig5x60lrj176ias4++) {
         $_Ik3ztyzvl5g8p2z3394gzx2nsd[$_Ig5x60lrj176ias4] = round($_ife5ot3mkafqtawg5dftp[$_Ig5x60lrj176ias4] * $_I3kuf8if7if3k7c0rztgbxx59h);
     }
     $_07zhto2pgbbrwgcb = new LBD_Normalize();
     $_07zhto2pgbbrwgcb->PeakPercentage = $this->_Otuc1u4aunbj2khqkmxvhyawum;
     $_07zhto2pgbbrwgcb->ApplyToSamples($_Ik3ztyzvl5g8p2z3394gzx2nsd);
 }