As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i want to play sound according to text of the label.is this possible to generate sound from text.?
It depends on what you mean by "generate sound from text."
If you want to read aloud the text of a label, there's no built-in text-to-speech framework for iPhone developers. Some third-party companies (like Acapela) claim to offer TTS services for iPhone, but I haven't tried them and can't speak for their usability.
If, on the other hand, you just want to play one of a set of predetermined sound files based on the text of the label, that's relatively easy - just determine which file you want to play from the label, then play it with your preferred audio framework. You'll need to include all the files in your project and only determine which one to play at runtime.
If you want to play arbitrary text, check out the Flite text-to-speech library. Flite is simple and is written entirely in C - so you can modify the makefile to build it for the iPhone's ARM processor. It will do basic (but very robotic sounding) text to speech for you. If you hand it more than a few sentences, there is a noticeable pause before it starts speaking - but all and all it's not bad.
Getting this working does require some work, and I would definitely suggest using predefined audio files if possible.
Look at the Accessibility options in 3.0. Otherwise you have to use the libraries mentioned.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working on an Mac OS X application, and I would like to know a few things:
What are log files that will be updated when an application is run? and their paths? Would it be possible to turn off logging (programmatically)? If so, would it be possible to do that for a particular application? I want my app to run covertly. so, any other ideas?
There isn't any standard "Here's every application that was ever launched" log on the system, nor do applications automatically log anything in particular upon launch. For GUI apps, the "Recent Applications" preference will be updated. But any number of things could be updated in response to something your application does, and there's not any finite list of these things or where they might be located (e.g. I could write a custom script that watches for program launches and writes the name of the program and the file handles it holds to ~/Documents/InnocuousFile.tbz).
Basically, as long as you don't log anything yourself, you're doing about as much as you reasonably can do on this front. But this doesn't really make your app covert in any meaningful way, as there are many ways to notice a program's presence other than logs, and I wouldn't even think logs are a big one.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to know if there are any tool to design a layout of passbook.
I didn't find any in xcode. Experienced designer can read and write a simple json but it is much better if there are any tool help to speed up this design process.
The Pass Designer is available at http://create.passkit.com
You can use it for free to easily design and create Passes that appear in the web interface exactly as they appear in Passbook.
And with a Developer Account you can quickly build your own income stream! Details to be announced soon.
You need to understand the Passbook app, as you are limited to what you can change from Apple.
There is a Session Video called
Session 301 - Introducing Passbook, Part 1
you can see it in a web browser as well.
This will explain you the model and what can you change as types, colors, texts.
If you're only trying to find a PhotoShop file to "play around", give Takahashi Alex it's own Passbook GUI PSD a go.
I'm one of the creator of Passdock, that is exactly what you are looking for. It's a web design tool that let you create a Pass without knowing anything of the JSON structure. It's free and you can also use it to delivery the passes to the devices.
I'll be happy to help you if you have any question.
You can make passbook file via http://passsource.com .
In this site, you can test customization of passbook.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How does GameMaker compare to XCode/Objective-C for iPhone development?
I have an idea of GameMaker being really easy to use, but rather restricted in its functionality, while XCode/Objective-C is a lot harder to use but of course as flexible as can be (by design).
I am thinking about picking up a book on one of the two (GameMaker or XCode/Objective-C), as I would like to develop iPhone apps, but am finding it hard to figure out the pros and cons.
Any input will be appreciated :) :)
You can develop almost everything with Game Maker, but why you shouldn't is because it has really bad performance. I have read lot of reviews telling about games done with GM that are completely draining the battery. I won't choose this option.
I would rather look for something like Unity3D who's badass, or something cheaper like Corona SDK. The best way is still by using the native tools like xCode for iOS, and Eclipse Java for Android. But that's a choice that depends of the amount of time you want to spend for the development.
Update: The way to go is cocos2d-x.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there a fully featured cocoa sample application you can recommend I look at?
I've seen the sample's on the developer.apple.com website, but they are usually focused on a single feature.
Looking for something that is not so simple, and is written with clean code etc.
There are tons of them out there, but they are definitely hard to find. Here's a list of ones I can think of off the top of my head. Although do note that these will probably look very overwhelming if you're just starting with OS X development (sorry but I don't have enough reputation to make these all actual links).
QuickSilver is a very complicated application launcher that has recently started being under active development again.
nvALT is a note taking application that syncs with SimpleNote
QuickCursor is a small menu bar utility for opening copied text in different editors.
Kod which is an unfinished programmers text editor. Even being only half way completed (it is no longer under active development) it's still a great app.
Colloquy which is a IRC application.
Chuck is a very minimal application launcher.
Adium (as mentioned by Rob) is an IM application with a ridiculous amount of features.
http://cocoadev.com/wiki/CocoaOpen has a list, of which at least Adium and MacHg look decent.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'd like to create a flowchart/map visualization of how my project works, what is the best software available for this purpose? I'm not looking for something to do it automatically, I'd like to manually create the flowchart.
This is for a project done in Objective-C if that helps/matters.
OmniGraffle is pretty good. It even creates class diagrams from an Xcode 3.x project.
Other web applications that do this, that are not already mentioned:
draw.io, is free and uses Google Drive or Dropbox for storage (including Google Drive Realtime). I co-founded this.
Lucidchart is native JavaScript, like draw.io.
Creately and Cacoo are Flash implementations, although Cacoo are moving away from Flash.
Aside from my obvious bias, I would suggest Lucidchart or Gliffy (mentioned above).
If you (a) like gliffy and (b) want a desktop-based app that does the same thing, take a look at yEd. Supports BPMN and traditional flowcharts (as well as myriad other drawing notations). Nice and easy to use, cross-platform. Oh, and free :-)
hth.