Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to split an audio file in ActionScript

Guest
Nov 02, 2014 Nov 02, 2014

I want to split a mp3 (or wav) file into several pieces e.g. from 0:30 to 0:45 and from 0:45 to 1:00 in ActionScript.

I cannot find any articles or libraries that would help me with this. Is it even possible to achieve?

Thanks in advance for any tips.

Example of what I want: mp3cut

TOPICS
ActionScript
270
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2014 Nov 02, 2014

you want to play sections of a sound file, or you actually want to create and save several mp3 files?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 02, 2014 Nov 02, 2014

I want to actually create these files from one big MP3 file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2014 Nov 02, 2014
LATEST

you'll need to use the bytearray class and understand the mp3 header data that you can manually add when saving, or you may be able to cobble together a solution using some of the 3rd party libraries.

in either case, use google to search for help.  i don't think you'll find a complete solution for your problem so you'll need to have a fair amount of expertise and/or persistence to get this working.  (or hire someone to do it for you.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines