Is it somehow possible to clip a sound file i between ? In my application I have to provide the user the ability to create a ringtone out of a sound file and the user will enter the start and end time of the region within the file he wants to clip .Is this possible?
Parse mp3 (or other sound) binary format and do whatever you want with this file. Information on mp3 and other file formats can be found via google.
Related
I use The Amazing Audio Engine to record output audio of my app, which is played by AVSpeechSyntehsizer's speakUtterance method. I used code provided here: Record all sounds generated by my app in a audio file (not from mic)
I get the output file, but I can't play it (file size is always 4kb no matter how long I record, I tried using aiff and m4a extensions, but iTunes is not able to open them). What could be the problem?
Related question:
I was able to record the app output using AVAudioRecorder activated with AVAudioSessionCategoryPlayAndRecord, but it included input from microphone. Is there any way to record app output only? Perhaps change session?
ULTIMATE GOAL:
I need to record AVSpeechSynthesizer to audio file, and since there is no API for this, the only way is to record audio output as it's being played. I'm planning to have my user to use headphones while it's being played/recorded (and warn him that no other sounds should be played while recording is happening). I found that I should use Audio Units, but couldn't find any tutorials on that matter, Apple's manuals are very poor.
I'm not sure whether this question is eligible to ask in this forum. I just want to know how the video streaming applications like,
Hotstar
Youtube
Spuul
and all developed a downloading manager which handle a video downloading process smoothy. How can we develop the same in my application? What are all the things i need to check for developing this? How should i develop it properly?
Any suggestions?
There now exists a Chrome extension which unites segments from m3u8 list and combines them in a video which then is saved to your computer.
Here's the link HLS Video Saver.
Your best shot is HLS. Segment your video file on server side with lets say
apple segmenter. Then create m3u8 playlist with these files. Next open the playlist file with the media player of your choice.
I created an audio recorder app that saves audio files in m4a format. I then decided to add an export feature to allow users to email and text their audio recordings. This works nicely when the audio files are no bigger than 20MB. However, any audio file above 20MB will fail to export. What would be the best way to export files out of the app? I was thinking google drive or dropbox, but the user would have to have a registered account. Are there any services that I can upload a file to and receive a link that can be emailed to the user?
There are plenty of services like that. Dropbox is an example. Here is an overview: http://alternativeto.net/software/dropbox/
Is there is a way to invoke a media player in BlackBerry ?
If so, can we also pass a url to the player asking it to open and stream a remote url file?
Are you talking about invoking the standard media application or just embed player in your app?
1)If you want to embed player check this - http://supportforums.blackberry.com/t5/Java-Development/Playing-Audio-in-Your-Application/ta-p/446826
2)If you need to start the standart bb player you can use the Content Handler API(CHAPI). Look around and you will find many tutorials. Basically it works like this: you have a .mp3 file for example and you make request to the blackberry os asking "can anyone handle .mp3 extension" , and if there is an app registerred to handle mp3 you can invoke it automatically and i handles tha fore/background transitions between your app and the mp3 handling app.
I would like to store a file on SD card, lets say an mp3 file and encrypt it.
And would like other apps to be able to play them but BB automatically decrypt them?(Does DRMManager do this?)
Basically, I would like to keep the mp3 files locked to the BB device. If they tried to open the mp3 on say a desktop or another BB, they won't be able to open them.
As long as the mp3s are accessed from the same BB they should open fine, using any mp3 player app.
I believe this is exactly what the enableDRMForwardLock() method in ExtendedFileConnection is for.