Changeset 30438 for lang/actionscript
- Timestamp:
- 02/22/09 22:00:52 (3 years ago)
- Location:
- lang/actionscript/flmml/trunk/src
- Files:
-
- 2 modified
-
com/txt_nifty/sketch/flmml/MML.as (modified) (4 diffs)
-
flmml.swf (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/flmml/trunk/src/com/txt_nifty/sketch/flmml/MML.as
r29599 r30438 12 12 protected var m_relativeDir:Boolean; // 13 13 protected var m_velocity:int; // default velocity 14 protected var m_velDetail:Boolean; 14 15 protected var m_length:int; // default length 15 16 protected var m_tempo:int; … … 88 89 switch(c) { 89 90 case 'v': // Volume 91 m_velDetail = true; 90 92 next(); 91 93 m_velocity = getUInt(m_velocity); … … 268 270 break; 269 271 case "v": // Volume 272 m_velDetail = false; 270 273 m_velocity = getUInt((m_velocity-7)/8) * 8 + 7; 271 274 if (m_velocity < 0) m_velocity = 0; 272 275 if (m_velocity > 127) m_velocity = 127; 276 break; 277 case "(": // vol up 278 m_velocity += (m_velDetail) ? 1 : 8; 279 if (m_velocity > 127) m_velocity = 127; 280 break; 281 case ")": // vol down 282 m_velocity -= (m_velDetail) ? 1 : 8; 283 if (m_velocity < 0) m_velocity = 0; 273 284 break; 274 285 case "l": // Length … … 666 677 m_relativeDir = true; 667 678 m_velocity = 100; 679 m_velDetail = true; 668 680 m_length = len2tick(4); 669 681 m_tempo = 120;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)