チェンジセット 2599
- コミット日時:
- 2009/05/09 00:37:50 (3 年前)
- ファイル:
-
- as3/ASound/branches/gamiken/ASound.as3proj (更新) (2 diffs)
- as3/ASound/branches/gamiken/Exsample.swf (更新) (変更前)
- as3/ASound/branches/gamiken/Exsample2.swf (更新) (変更前)
- as3/ASound/branches/gamiken/obj/ASoundConfig.old (更新) (1 diff)
- as3/ASound/branches/gamiken/obj/ASoundConfig.xml (更新) (1 diff)
- as3/ASound/branches/gamiken/src/com/kappaLab/asound/instruments/Bass.as (更新) (1 diff)
- as3/ASound/branches/gamiken/src/com/kappaLab/asound/live (追加)
- as3/ASound/branches/gamiken/src/com/kappaLab/asound/live/LiveFlash.as (追加)
- as3/ASound/branches/gamiken/src/exsample/Exsample2.as (更新) (2 diffs)
- as3/ASound/branches/gamiken/src/exsample/Exsample3.as (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample.fla (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample.swf (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample2.fla (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample2.swf (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample3.fla (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample3.swf (追加)
- as3/ASound/branches/gamiken/src/exsample/exsample4/Exsample4.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/ASound/branches/gamiken/ASound.as3proj
r2402 r2599 15 15 <classpaths> 16 16 <class path="src" /> 17 <class path="..\..\..\Library\AS3\Tweensy\trunk\releases\source\cs4\original" /> 17 18 </classpaths> 18 19 <!-- Build options --> … … 64 65 <!-- Class files to compile (other referenced classes will automatically be included) --> 65 66 <compileTargets> 66 <compile path="src\exsample\ Celt.as" />67 <compile path="src\exsample\Exsample.as" /> 67 68 </compileTargets> 68 69 <!-- Paths to exclude from the Project Explorer tree --> as3/ASound/branches/gamiken/obj/ASoundConfig.old
r2402 r2599 9 9 <source-path append="true"> 10 10 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src</path-element> 11 <path-element>D:\Kappa-lab\Flash\Library\AS3\Tweensy\trunk\releases\source\cs4\original</path-element> 11 12 <path-element>c:\program files\flashdevelop\Library\AS3\classes</path-element> 12 13 </source-path> 13 14 </compiler> 14 15 <file-specs> 15 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src\exsample\ Celt.as</path-element>16 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src\exsample\exsample4\Exsample4.as</path-element> 16 17 </file-specs> 17 18 <default-background-color>#FFFFFF</default-background-color> as3/ASound/branches/gamiken/obj/ASoundConfig.xml
r2402 r2599 9 9 <source-path append="true"> 10 10 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src</path-element> 11 <path-element>D:\Kappa-lab\Flash\Library\AS3\Tweensy\trunk\releases\source\cs4\original</path-element> 11 12 <path-element>c:\program files\flashdevelop\Library\AS3\classes</path-element> 12 13 </source-path> 13 14 </compiler> 14 15 <file-specs> 15 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src\exsample\ Celt.as</path-element>16 <path-element>D:\Kappa-lab\Flash\ASound\branches\gamiken\src\exsample\Exsample.as</path-element> 16 17 </file-specs> 17 18 <default-background-color>#FFFFFF</default-background-color> as3/ASound/branches/gamiken/src/com/kappaLab/asound/instruments/Bass.as
r2399 r2599 17 17 time:uint = 50) 18 18 { 19 this.initFreq = initFreq 20 this.endFreq = endFreq 19 this.initFreq = initFreq; 20 this.endFreq = endFreq; 21 21 this.time = time; 22 signals[0] = new BassOSC(initFreq, endFreq,time)22 signals[0] = new BassOSC(initFreq, endFreq, time); 23 23 generateEnvelop(0, [1,1,0, 200]); 24 } 24 }; 25 25 26 override public function play():void 26 27 { 27 super.play() 28 BassOSC(signals[0]).frequency = initFreq 28 super.play(); 29 BassOSC(signals[0]).frequency = initFreq; 29 30 } 30 31 } as3/ASound/branches/gamiken/src/exsample/Exsample2.as
r2400 r2599 2 2 { 3 3 4 import com.kappaLab.asound.effects.DelayEffect; 4 5 import com.kappaLab.asound.filters.ResonatFilter; 5 6 import com.kappaLab.asound.generators.NoiseOSC; … … 14 15 public function Exsample2() 15 16 { 16 //dualOSC();17 //envelop();18 filter();19 }20 21 private function filter():void22 {23 17 var ins:Instrument = new Instrument(); 24 ins.signals.push(new SinOSC(220)); 25 ins.signals.push(new SinOSC(800)); 26 ins.signals.push(new SawOSC(900)); 27 ins.signals.push(new NoiseOSC()); 28 ins.generateEnvelop(0, [1, 1000, 0, 1000]); 29 ins.filters.push(new ResonatFilter(ins)) 30 ins.play(); 31 } 32 33 private function envelop():void 34 { 35 var ins:Instrument = new Instrument(); 36 ins.signals.push(new SinOSC(220)); 37 ins.generateEnvelop(0, [1, 1000, 0, 1000]); 18 ins.signals.push(new SinOSC(200)); 19 ins.effects.push(new DelayEffect(ins, 1000, 1, .5)); 38 20 ins.play(); 39 } 40 41 private function dualOSC():void 42 { 43 var ins:Instrument = new Instrument(); 44 ins.signals.push(new SinOSC(220)); 45 ins.signals.push(new SinOSC(420)); 46 ins.play(); 21 47 22 } 48 23 as3/ASound/branches/gamiken/src/exsample/exsample4/Exsample4.as
r2400 r2599 12 12 import flash.display.Sprite; 13 13 import flash.events.SampleDataEvent; 14 15 import com.flashdynamix.utils.SWFProfiler 14 16 15 17 public class Exsample4 extends Sprite … … 18 20 public function Exsample4() 19 21 { 22 SWFProfiler.init(this) 20 23 var r:Instrument = new RandomHarmonics() 21 24 var r2:Instrument = new RandomHarmonics();

