Is it possible to fire action through voice command ios 7 - iphone

I want to develop a video recording application. When ''start'' button is pressed camera will be opened to record video after that- voice command will be used that is ''START'' on this voice command recording will start.

For that you could speechKit and in your app you would have to make speechKit listen as app start's or video interface is present. Now whatever user would say it will record and send it to it's server and give you back the text of what server fetch from user's voice. Then put a check if any STOP word come's and stop your recording of video ,and vice-versa for START keyword. Here's a link-raywenderlich just for how to use speechKit. Now go ahead and give it a try and let me know if you need anything else.

Related

How to record the telephone call session when voice recorder activated?

I'm using flutter_sound package on my flutter app. It seems okay when it's recording the sound. But, problem appear when I also need to capture the telephone call session. The recording still running but when I open the record, only the telephone call session doesn't appear and no sound came out from it.
How can I make the telephone call session also appear on my recorded sound?

streaming single audio to one user using wowza and flowplayer

I'm trying to develop a website with a music player in all the pages and music files for the user to select and play. When the user first selects a song in a page it plays as expected and everything is okay. But when he/she opens the website in another tab or window and selects another song it also plays while the other one is still playing.
Is there any way to play only one song even in multiple tabs or windows using wowza media server and flowplayer?
well If you look at how sites such as http://www.reverbnation.com/ do thier music player you will notice that they use a wrapper div that has something similiar to JQUERY's Load(); function. So that the player will stay static and not change its content even if you click on an href. Try looking into this http://api.jquery.com/load/ and it might solve your problem.

Turn off mic in iphone

I am using openEars to detect speech. It takes one second of silence to detect the end of command.
What I want is to disable the microphone for 1 second.
Can anyone tell me that how to disable mic for 1 second?
As already said in How to mute mic while Recording using UIImagePickerController? :
If you want your app to be in app store , then there is no apple
approved method to actually mute whole iPhone.There are certain
libraries but they are not approved.
Apple's documentation on Audio Session
According to the documentation you can only ask the user to have the
phone silenced physically and you can respond to certain audio changes
such as other sounds,phone calls, email sounds but you cannot mute
programmatically.
Also See this Documentation on Programming in iPhone See the part 3.3
for Audio.(Events that can be accessed and performed in iOS).
Regards,

How can I record currently playing audio on the iPhone?

I'd like to record what the iPhone is currently outputting. So I'm thinking about recording audio from Apps like Music (iPod), Skype, any Radio Streaming App, Phone, Instacast... I don't want to record my own audio or the mic input.
Is there an official way to do this? How do I do it? It seems like AVAudioRecorder does not allow this, can somebody confirm?
Officially you can't. The audio stream belongs to the app playing it ,and iOS.
The Sandbox paradigm means that a resource owned by your App can't be used by another App. Resource here means Audio/Video stream or file. Exceptions are when a mediator like Document interaction controller are used.
If you want to do this you'd have to start with deducing AVFoundation's private methods and find out if theres a way there. Needless to say this it wouldn't be saleable on the App store and will probably only be possible on a jailbreak.
Good Luck.
TLDR;
This is only feasible only from time to time, as it's a time expensive process.
You can record the screen while listening your songs on Spotify, Music or whatever music application.
This will generate a video on your Photos application. That video can be converted on MP3 from your computer.
Actually, this is not true. The screen recordings will not actually have the audio from Apple Music at all, as it blocks it. Discord also uses this pipe as well, so you cannot record Discord audio either this way.

streaming data from a server

I would like to have all my data on a server be streamed into my iphone app.
How does this work?
e.g. images, text and sound
Should this be read into an array and then manipulated?
As I would like the app to be update-able whenever new content is added to the server.
This obviously means building the app in such a way that it wont crash or have errors due to updates.
How is this done? Is there single folder for each which is streamed in e.g. sound clips folder.
Thanks
What i understood from your question is that you want to play sounds, videos on your iphone app over the internet.
Images:
To display image on your iphone over the internet is very easy all you have to do is publish your website somewhere then iphone will use the hyperlink of that image meaning like when you browse any image in your browser you get e.g:
http://www.google.com/images/logos/ps_logo2.png your iphone app will just call this URL to display the image.
For Sound And Videos
They both will also be published on the website and they will have URL so that your iPhone App can access them to pause & stop the sound/video you just have to stop buffering & as a precaution you can save the location of buffer & if you want to Resume just start buffering from the saved buffer location