隨筆-193  評論-715  文章-1  trackbacks-0
          We can use extract method of the sound class in Flex 4/Flash 10, the method is able to extract raw wave data from SWF object. The technology is new feature, I have used this new technology recently, and I have got some result:
          The extract method like a black box, we can't know what does it do.

          1, Extract low sample rate sound will be get more samples, I can't understand that why like this. I know that it will transfer all kind of sample rate to 44.1KHz, but we can't know that how to transfer?

          2, MPEG wave data is not bound to a single frame, so we need overlap some frames in a SWF sound what the sound compose of some frames. the overlap size is an experience value, in general, I set it as 7 frames. The value is depend your parse frames and detail extract algorithm sometimes. Anyway, 7 is my recommendation value.

          3, This method can provide some very useful function with SoundMixer class for extend your application. For instance, show wave shape, add some effect, etc.
          There is a sample for show waveform:
          http://www.bytearray.org/?p=329

          At last, I strong recommend an open source project, this project is a stream player based on Flex platform.
          http://code.google.com/p/as3mp3streamplayer/

          If you had deeply researched at this method, please communication with me. thank you!
           

          posted on 2009-12-15 12:50 Robin's Programming World 閱讀(483) 評論(2)  編輯  收藏 所屬分類: Flex & Flash

          評論:
          # re: Sound Extract Method Study[未登錄] 2009-12-15 13:47 | Sean
          Man, it's coooooooooool  回復  更多評論
            
          # re: Sound Extract Method Study 2009-12-15 16:04 | Robin's Java World
          @Sean
          Thank you a lot!  回復  更多評論
            
          <2009年12月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          常用鏈接

          留言簿(49)

          隨筆分類(215)

          隨筆檔案(181)

          相冊

          收藏夾

          Friend Links

          • Tiger的Blog,專注于過程改進,項目管理,質量管理三個方向。
          • zrfunds

          搜索

          •  

          積分與排名

          • 積分 - 754860
          • 排名 - 60

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 凤台县| 台湾省| 嵊泗县| 通道| 泽普县| 长阳| 阳高县| 仁怀市| 安庆市| 富宁县| 东丰县| 儋州市| 盐津县| 新河县| 沭阳县| 长乐市| 嘉禾县| 平果县| 高台县| 黄大仙区| 五大连池市| 田林县| 岗巴县| 奉节县| 淮阳县| 全南县| 宁波市| 涞水县| 甘泉县| 鹿邑县| 榆树市| 贡觉县| 全州县| 启东市| 晋州市| 临湘市| 沿河| 庆元县| 淳化县| 耿马| 南京市|