88 points · by dutchbrit · 14y ago · 43 comments
Our goal is to build an open source application that can run in your browser and on iOS/Android without being dependent on app stores.
We currently have a working "sneak preview" version viewable over here: http://frontend2.com
Want to dig into the source? https://github.com/SchizoDuckie/project-maya
We recommend you to check it out in Google Chrome/iOS/Android.
Our team currently consists of 5 people. If you think you'd be a good addition, please shoot me an email, sam.granger@gmail.com
Feedback so far is more than welcome!
* generate wav files of words via the google translate api
* save these wav files into the database (base64 encoding was an (unfortunately failed) experiment
* do initial setup and fill of the words database
* showing an html5 clickable grid with words and an icon, based on the database query, of all the words found.
todo: * create multiple pages from database, list them and switch
* allow queuing of multiple phrases, and play them as a sentence
* add custom words via web ui and a little php servicelayer
* html5 offline storage for all wav files
* get tablet browsers to fix data uri's for the <audio> tag!
* have a proper design with customizable icon lib
Not bad for a project kickstart in half an evening. Are we infringing on any patents yet?...whoever without authority makes, uses, offers to sell, or sells any patented invention, within the United States or imports into the United States any patented invention during the term of the patent therefor, infringes the patent.
Whatever happens when you try to install it, use it, or modify it on US soil is not something you can hold me personally accountable for. (right?!?! citation needed)
[edit]Or wait.. Should we not even use github for this due to this crazyness?[/edit]
Don't even think of looking, and sing loudly with your fingers in your ears if anyone tries to inform you. Otherwise you are willfully infringing and the damages are trebled.
http://heinonline.org/HOL/LandingPage?collection=journals...
Basically, anyone that creates a soundboard with tiles that you can reorganize and that play a sound is fucked.
Anyone with some law experience in the house? Are we allowed to do this without being sued overseas? Should we move away from github?
Right now the grid buttons can't be unclicked, it seems (on a Galaxy Note/Android 4.0.3 here). Is that intentional? I can't scroll either. I assume a reset button will be coming eventually, along with a play-phrase button. How are you thinking of organising the words into panes?
In its current state I can't see this violating any patents, since it's essentially a soundboard. ( http://en.wikipedia.org/wiki/Soundboard_%28computer_program%... ) It would be hilarious if it turned out soundboards (those programs/pages that play funny phrases and sounds when you click on buttons) actually violated PRC's patents.
Will you (eventually) be bundling the app as .apk/.ipa for distribution? That seems like a great way to ensure it stays out in the wild forever (better still if the audio can be included, so it won't break).
Pages haven't been coded yet, but are already available in the database. A simple sqlite crud interface should suffice for that.
More important, as you notice is the UI. Right now it just show the toggle, gets the wav file and hits play. This will be fixed hopefully tonight, so that you can gather a couple of audio files in a que to form a prhase. Should be peanuts, but is was 02:30 am for me last night. This is the progess up to that.
And indeed, it's just a sound board, but in my opinion so is the software that started all this.
We haven't decided yet on packaging, but since i believe everyone on the team are mobile developers, that should not be a problem at all.
Agreed, and that's why this is the Lord's work you're doing. Heck, you might invent some better methods for users along the way. Keep going man.
Previous HN post about Maya's story: http://news.ycombinator.com/item?id=4103344
Preview: http://frontend2.com
Features:
* Massively cleaned up codebase. Removed images folder, pure css3 styling.
* Created a words list, that holds tiles to build a sentence
* Created play and clear button to operate on the words list
* Hacked around with setTimeout to play next in queue because audio onended is not fired??
More to come soon :)The reason is that its a high-performance cross-platform tool that can be used to target Android, iOS, NaCl (Chrome), Windows, Linux and Mac OSX. You can write one codebase which will run on all of those platforms, and I think you will be very much more productive with this toolkit, which is designed for exactly this kind of use (multimedia/graphics/audio content - i.e. games).
Please check this out, honestly. MOAI is the perfect tool for this application - HTML5 is not, due to the problems with audio playback involved in HTML5 clients right now.
Sure, what it promises is nice, but no.
Plus there's that whole "sound is utter crap in HTML5" thing, yo.
Also, moai can run where html5 cannot.
visting your frontend2.com-site, I encountered, that I am not able to scroll in Chrome and that I am not able to activate a sound twice.
So "give me more and more" would not be possible.
But keep up the great work, please.
-List of milestones/tasks so other people can work on this as well -SCM (Bug Tracking etc) system setup (Any suggestions for a hosted free version of SCM Systems HN?)
Hopefully I will have this done tonight. I want to get as many people involved as possible as I think we can do a lot more than just help these people!
I remember reading that they tried out lots of different products before settling on SfY, so there may be issues that aren't immediately obvious to people who don't have a lot of experience with AAC.
The application detected that I was a first time user and injected some sounds into the database +1
There is a 1-2 second delay between the tap and the sound.
Guess you guys are already working to sort these out. Looking forward to see this application in its full glory. Any twitter handles to follow ?
I was looking into hacking google translate myself, but failed, or perhaps did not spend enough time. Can you guys post a code on how to tap into word translation speech in google?
https://github.com/SchizoDuckie/project-maya/blob/master/aud...
side note: any idea in this Maya project or others, is it against the law to use those in your non- or commercial project?
now another approach: you could produce all the wav-s in-browser. see my (100% open source) mvp at http://lalo.li/ - yeah, you would need to do a lot of tuning/optimization of the speech-synthesizer to get a decent voice, but it would be possible.
think in the long term it would be a much more scaleable approach ... there are a lot of words out there .... than storing wav-s in the browser.
My original prototype (that worked) was to store the wave files as a base64 encoded data URI into the database, but that's been rendered obsolete by this. Now we'll have to rely on pure wave files. Nothing that we cannot overcome, but it would have made the whole concept even more portable.
When you have some free time, do you mind organizing some milestones and tasks on github so random people can help without being active on the project?
I would not mind adding/fixing planned things from time to time.