Changeset 30294 for lang/actionscript
- Timestamp:
- 02/20/09 01:30:06 (3 years ago)
- Location:
- lang/actionscript/flmml/trunk/src
- Files:
-
- 4 modified
-
com/txt_nifty/sketch/flmml/MChannel.as (modified) (1 diff)
-
com/txt_nifty/sketch/flmml/MOscNoise.as (modified) (3 diffs)
-
com/txt_nifty/sketch/flmml/MOscillator.as (modified) (1 diff)
-
flmml.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/flmml/trunk/src/com/txt_nifty/sketch/flmml/MChannel.as
r29726 r30294 51 51 m_oscMod1 = m_oscSet1.getCurrent(); 52 52 m_oscSet2 = new MOscillator(); 53 m_oscSet2.asLFO(); 53 54 m_oscSet2.setForm(MOscillator.SINE); 54 55 m_oscMod2 = m_oscSet2.getCurrent(); -
lang/actionscript/flmml/trunk/src/com/txt_nifty/sketch/flmml/MOscNoise.as
r29726 r30294 8 8 protected var m_noiseFreq:Number; 9 9 protected var m_counter:uint; 10 protected var m_resetPhase:Boolean; 10 11 protected static var s_init:int = 0; 11 12 protected static var s_table:Vector.<Number> = new Vector.<Number>(TABLE_LEN, true); … … 17 18 m_phase = 0; 18 19 m_counter = 0; 20 m_resetPhase = true; 21 } 22 public function disableResetPhase():void { 23 m_resetPhase = false; 19 24 } 20 25 public static function boot():void { … … 26 31 } 27 32 public override function resetPhase():void { 28 //m_phase = 0;33 if (m_resetPhase) m_phase = 0; 29 34 //m_counter = 0; 30 35 } -
lang/actionscript/flmml/trunk/src/com/txt_nifty/sketch/flmml/MOscillator.as
r28310 r30294 40 40 setForm(PULSE); 41 41 } 42 42 public function asLFO():void { 43 if (m_osc[NOISE]) ((MOscNoise)(m_osc[NOISE])).disableResetPhase(); 44 } 43 45 public static function boot():void { 44 46 if (s_init) return;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)