Cut MP3 file and set it as ringtone - windows-phone-7

I want to develop an WP7 application to cut/split an MP3 file from marked position. I tried looking for some API to split but no luck. I really appreciate if anybody can guide me on below points.
Is there any control available for WP7 to play and mark the MP3 file for splitting.
Is there any API to cut the selected portion in MP3 file.
Thanks

I am now aware of the Windows Phone lib for that, but...
Perhaps you could do it on a server because there are great MP3 C# libs available
Mp3Sharp
If you could get the mp3 to/from the server, it would be great. To play it on the device, use advice from another StackOverflow question. Enable selecting part of the song, send the info to the server which will then return you the cut mp3 file.
Sounds good to me, at least in theory. (you didn't post any code, so I guess we're just theorizing ;)

Related

Is it possible apply audio effects to all sounds coming out of a specific audio endpoint

I have been looking around online for an answer for some days now, without any luck. So now, I hope one of you might be able to help point me in the right direction.
WHAT I AM TRYING TO DO:
I want to build a C# application where I can apply different types of distortion and pitching effects to all types of audio that comes out of a preselected audio endpoint.
It should not matter if the user is playing an audio stream or an audio file on their system. I want to apply effects to it before the audio leves the selected endpoint.
I have been trying to use some of the windows audio APIs like 'DirectSound' and 'WASAPI' and also the open source project NAudio. sadly all with no luck so far.
WHAT I AM STRUGGLING WITH:
I can't seem to figure out what windows API I should use or if I would have to make my own audio API that takes directly with the windows Audio engine: https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/windows-audio-architecture
Please let me know your thoughts, or if you think I am looking at this all wrong.
Simpler solution: It should be possible in a soundcard driver if it can load effects.. SB live successors or EMU based cards are the cheapest and KXproject driver is awesome for those

Real-time audio record/playback from a Ruby web app

I am wondering if anyone has success with audio record (from microphone on the users browser) and playback from a web based app (Ruby/RoR)?
What I have found so far - I could write a flex/flash app which will record the audio and then have a server side like Red5 or so to receive and convert. This sounds more involved and I also saw different types of hosting issues etc people are having - so I am thinking there may be better/easier solutions out there!! I looked at html5/web-kit too but seems to only works on chrome and is limited to text fields etc.
In my app, i want to record users voice, save it on a aws/s3 as mp3 or similar file format and play it back to user within the app based on users input/choice. While flash based solution is workable for now, non-flash based solution will be preferred as it will support more devices (you know devices I am referring)..
The only options for web based record are Flash, Silverlight or Java. None of these will work on an iPhone or iPad - You will need a native app for that.
You don't need to use Red5 for Flash recording - you can record direct to memory, optionally encode (or zip), and then upload the the data. You might be better doing mp3 encoding server-side using ffmpeg or SoX before moving the file to s3.
There is a way using HTML5 and a server. Just record a video.
Convert the video to audio, then use the audio as you wish.
This implementation takes audio from a video and runs
ffmpeg to extract the audio:
http://goo.gl/A0bya
This is in PHP, but it should not be too
hard to create a Ruby version. Easy peasy.

download audios in Book

I am making an Application consisting of Book inwhich i have added the Images of each line and i want that when i do focus on particular line then the respective audio is played, So if i have 7 lines on one page then i have to download 7 audios from server and currently i am using this approach, So Please suggest me because i have to work on entire book and what is the best way to download audios.
Alternative Approach will be to use a Text to Speech engine like Festival.
IMHO - Downloading each line's audio from the server I think is an Overkill. But that's just me.. :)

Best cheap GUI for converting to f4v

I need to give one client the ability to convert some videos to f4v h264 before loading it up to an AIR app.
I normally doing with the Adobe Media Encoder CS4 but that only ships with adobe products (you can't download it as a free standalone app - which, start rant is odd, you'd think they would push the format - Microsoft's competing expresssion encoder is free end rant)
Anyway, I need to get a (hopefully not too expensive, but willing to pay for it) good 3rd part app that can take any video and convert it to an f4v.
Can you suggest any? Everything i've found is horrible or jammed with ads and crap.
What would you use? Any suggestion?
(please don't just say ffmpeg - I know it can do it but we need to good simple GUI)
Thanks!
Have you checked http://handbrake.fr/

Converting uploaded videos to .flv and having them added to my website

I plan to open a smaller and more specialised Youtube like site where users can upload their videos in a variety of formats and it will be converted to .FLV, and then posted on the website.
Most of the code I can handle myself, but I wanted to get some feedback on the uploading and converting stage of this. I'm planning to have the converting done on a separate server, independent of the one hosting the site. How would I go about converting the videos?
I checked out ffmpeg, would this be the best option to use? I want the videos in both high and low quality so it would be preferable to choose the bitrate.
Thanks.
Yes, ffmpeg would be the best option. It's simplest and most versatile.
Take a look at videopress.com - the video sharing service for wordpress.com. The entire solution is open source and uses ffmpeg to transcode video into multiple formats for embedding in websites.
You can access the code at http://code.trac.wordpress.org/
You should be able to either use this out of the box or customise if for your particular project.
You might also find something like Panda (http://pandastream.com) useful. It's an open source video encoding service.

Resources