Folks,
In my android app, I need to display a musical instrument such that the user (mostly children) could press a key and I play the music note through the speaker.
I am trying to understand what it takes to generate a music note under Android. The examples on sound that I saw mostly use MediaPlayer or SoundPlayer to play media files. I am looking for sending a specific tone with duration to the speaker.
I would appreciate your help in pointing me in the right direction.
Thank you in advance for your help.
Regards,
Peter
Check out this question for 1 possible implementation of Tone Generating.
Playing an arbitrary tone with Android
Related
I am working on android app in which i want to do similar work as Voicechanger App which is available on playstore.
I know how to record sound from mic but i don't have any idea of how to change the recorded sound to the different effects like Robot, Mega phone etc .
Any help in this regard will be appreciated. Thanks in advance.
I'm developing a Chromecast application (receiver, HTML5 and Javascript) which communicates with an Android app, all is fine, but I have a problem trying to play two "sounds" at a time in the receiver.
It's a kind of game where I need to play a song at the beggining and play some sound effects during it.
Is this possible? And if it is anyone could help me to do it? I have tried it and it works nice in the browser but in the Chromecast only one of the "sound" is played, the song or the effect, never both.
Thank you very much
You cannot have more than one active Media Element in your DOM in chromecast. For what you want to do, however, you can use Web Audio APIs and accomplish the same for short audio files.
I need a web based video player that provides "time duration for which a user played a video" and "instance at which the video stopped playing".
It would be great if it can provide details like the time at which the video was started (if he has skipped to a certain location when the video has started) and the stop time of the video.
Could anyone please suggest a ready made player available in market which provides all these information OR some alternate approach to achieve the same.
I want to achieve the same for iOS and Android devices. Is this something possible? And if yes please help me on its feasibility with Phonegap?
Thanks in advance
You won't need a speical player for this. The mediaelements audio and video already have a property called played.
I am a little miss guided here and it seems i am totally lost. I am developing an android app and its core idea is to develop a video recorder and video player that applies some sound effects on the voice of the people or any sound that it records. Sound effect means that if i make a video of a person who is giving some speech then there should be no effect on video but his/her voice should appear like voice in talking tom cat app. I hope you understand the idea. Similar app is Helium Booth you can check it here. I am trying to use libraries like libSonic, libpd and tried to use XUGGLE too.
Read somewhere that Xuggle is not really developed for mobile devices so left it. Now what i want is that it should apply this effect on voice on the run time i.e while recording the pitch of the sound should be alterd and saved immediately. And what i am getting with these libraries is that i can apply sound effect after video is recorded. So it means i need to rip the audio from the video and then apply the change in pitch and frequency and again concatenate this audio file with the old video file. And i have no idea how to do it.
Please show me the right approach and tools if possible.
Regards
I'm going to make an app related to sound modulation , where i need to record a sound and after recording the sound i need to play it in different modulation or sound effects like Reversing,Resampling,Pitchshifting,Robatization effect when I press the play button .Now I have the code to record a sound ,but don't know how to modulate the recorder sound as the above effects.
I search the whole web but did not find any solution.how do i implement this effects?
There are many apis which helps to accomplish this. For example-
Open SLES. AudioTrack.
Please have a look at this page.
I think it may help you.