I have been working in AVAudioPlayer and I would like to draw a wave form which looks look like this:
Following project source code can help you:
https://github.com/ioslovers/ATTabandHoldAudioRecord
Other than this, apple provides this sample code:
https://developer.apple.com/library/ios/samplecode/SpeakHere/Introduction/Intro.html
Other same stack overflow replays which is showing real time ploting:
https://stackoverflow.com/a/2402899/905514
Related
I am implementing an iPhone application, in which I have implemented the following functionalities:
Select photo
Capture photo
Now I want to give a sketch effect to that photo like this one.
How could I do this?
If I may once again recommend it, my open source GPUImage framework has a built in filter that does just this. The GPUImageSketchFilter uses Sobel edge detection to highlight edges in black on images or video, leading to the exact same effect as seen in that application:
The above image was drawn from this answer, where I describe how that filter works, as well as show a couple other filter examples.
In fact, the SimplePhotoFilter example application that comes with the framework does exactly what you describe (capture a photo, apply a sketch filter to it, and save it to the photo library), so I'd start there if you want to get this up and running quickly.
OpenCV can be used to give sketch effect on image in iphone.
Refer iphone-how-to-convert-a-photo-into-a-pencil-drawing link and get helped.
Core Image filters are probably the best way to go.
http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Reference/CoreImageFilterReference/.
Ah ... where to start ,Before I learn the iphone app develop
I found a very interesting app : The Elements
You can see every object is rotatable like 3D
But it is by take many photos from every angle form objects
How to implement it ??(via Scroll view ???)
And I found Apple's new HTML5 sample
Looks like the HTML version is not smooth as the app version
Maybe it just because of the photos too less ...
So , my question is what if I have a series of pictures , how to change the picture when finger swipe the view ???And the swipe speed also effect the rotate speed.
Thanks for any reply or answers : )
I think you can look into FVImageSequence, However you may need to modify the code to auto-rotate the complete sequence.
A link to original post is here
The Elements app as described in your original question is just a sequence of photos that were taken on each degree by a professional Photographer.
hope that helps.
i think it has nothing to do with photos. Most likely its normal 3D rendering.
Nineveh GL 3D Engine allow you to import 3D objects models(like .obj models that you can create with some application like Google SketchUP) easily in your iPhone app, you can find some tutorials here. And as #GameBit said, i don't think that by changing images when the user scrolls is the best approach.
I'm trying to perform the task of taking a picture, but triggered by code instead of relying on the touching of the camera button in UIImagePickerController. Can this be done? I want to take a 10 pictures, 1 per second.
As answered here, check out Apple's AVCam sample. It shows how to get both still images and video from the camera.
You should look into the AVFoundation framework -- that makes it pretty easy to do.
I was going through the iPhone samples available here.
There is one sample code named Color Slider Puzzle, but the link to the download is not working.
Does anyone have a working download link to this sample code?
This specific sample may have been removed by Apple, but you will find plenty of samples here:
iOS Reference Library: Sample Code
I'm wanting to put together an application which plays video fullscreen with an interface overlaying it that basically chooses the video that is played underneath it (think 'Gym Babes' but nowhere near as risqé!). I don't wish to use private headers so MPMoviePlayerController is out of the question.
I've been digging through stackoverflow for a while and have come to the conclusion that I would need to use some sort of custom codec/video library that I assume would be written in C.
My question is basically has anyone had success doing this? And can anyone share any code, tutorials etc they can share?
You probably want to take a look at AVPlayerLayer: http://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVPlayerLayer_Class/Reference/Reference.html it gives you basic playback abilities with no (read fully customizable) interface…