×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,173

    Any API to cut audio file?

    I was looking to make ringtones in WP. Is there any API which can help in trimming songs?
    After searching on google, i found there is no such API in WP. Other way which can be used is with the help of a server.
    But then i wonder how the Ringtone Maker app from Nokia is doing it?
    Last edited by pooja_1650; 2013-03-30 at 10:51.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2012
    Location
    Bilbao
    Posts
    53

    Re: Any API to cut audio file?

    HI pooja!

    There is no system API to cut audio files right now, if the file is a mp3 (MPEG Audio Compression) you maybe can use the header to determine how to cut the file. You can get the Bitrate and Framesize to get the bytes to write, using a BinaryReader and a BinaryWriter. Is not the most easy way, but can do the trick for you.

    You can see information about MP3 Headers here: http://www.mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm

    Hope this help!

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,173

    Re: Any API to cut audio file?

    Hi Josueyeray,

    Thanks for the useful link. I will try it.

    Regards,
    Pooja

Similar Threads

  1. Audio file in an MMS
    By manusinghal9 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2009-05-24, 13:38
  2. Replies: 2
    Last Post: 2008-02-20, 08:42
  3. Replies: 3
    Last Post: 2007-11-17, 10:31
  4. How can I play the segment of an audio file, e.g. wav. file in my N73?
    By ipxx in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-07-30, 05:03
  5. audio.Sound.open('file.amr') appends to file
    By bercobeute in forum Symbian
    Replies: 1
    Last Post: 2005-06-22, 12:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×