Numbers Guessing Game
Your Numbers Game
Get
clueYour
answerYour
ScoreClue? Score 0/0
-
Recent Posts
- PHP Exif Quiz Geographicals Tutorial
- PHP Exif Quiz Tutorial
- PHP Exif Retention off iPhone Images Tutorial
- List to Grid Layout CSS Media Query Tutorial
- List to Grid Layout Primer Tutorial
- Out and About WordPress Blog Content Tweaks Just with iPhone Tutorial
- Command Line History By Date Tutorial
- Overseas Travel Global Roaming Mobile Primer Tutorial
Categories
- Ajax
- Android
- Animation
- Anything You Like
- Code::Blocks
- Coding
- Colour Matching
- Data Integration
- Database
- Delphi
- Eclipse
- eLearning
- ESL
- Event-Driven Programming
- Games
- GIMP
- GUI
- Hardware
- Installers
- iOS
- Land Surveying
- Moodle
- Music Poll
- NetBeans
- Networking
- News
- Not Categorised
- OOP
- Operating System
- Photography
- Projects
- Signage Poll
- Software
- SpectroPhotometer
- Tiki Wiki
- Trips
- Tutorials
- Uncategorized
- Visual Studio
- Xcode
Meta
Tags
Ajax animation background button canvas command line CSS Did you know DOM dropdown email emoji event form game Google Google chart hashtag HTML IFRAME image iOS Javascript MAMP media mobile navigation onclick overlay PHP popup programming select share sharing SMS SVG table text textarea tutorial url video web browser webpageYour Background Image
OnTopList
Tag Archives: microphone
Speech to Text Survey Tutorial
On top of yesterday’s Speech to Text ESL Tutorial we add, for the first time, a “Survey” functionality not needing a two player setup. This leaves the right hand table cell to be able to contain an HTML form element, used to “survey” the user on the survey questions you set up when selecting a new “Survey” HTML select element (dropdown) option. And so this is where our language of design, PHP, comes to the fore, as a useful language to process the potential for huge amounts of data related to the survey you design. We design the web application “Survey” component, so as to be able to email off either/both … survey form as an HTML email attachment via the PHP mail method survey form results as an HTML email link via an a mailto: link to the default email client application of the user PHP has it over HTML … creating email as per the first option above … and … being able to post process method=POST data from an HTML form element, where much more data can be handled This new functionality can be accessed via an option of the dropdown of this live run link, or a “cut to the chase” survey link for today’s changed PHP code of speech_supervisor.php. Previous relevant Speech to Text ESL Tutorial is shown below. When you involve audio input into a web application it is likely that that web application can become useful with learning a language, such as with ESL (English as a second or foreign language) usage, especially as such learning has … spoken reading writing … components to it. As you would appreciate, once the learner is speaking and then that (spoken content) is written out (as a transcript), and the learner is then reading that content, the web application can be a “double whammy” effective learning tool. We extend the web application’s functionality from yesterday’s Speech to Text Primer Tutorial using a technique we often use, that being changing the original (guinea pig usage) word “Quiz” into it plus other options presented in a … HTML select (dropdown) element … as per HTML “onload” event … <body onload=”document.getElementById(‘preq’).innerHTML=dds(‘Quiz’); document.getElementById(‘kb’).focus(); pickq();”> … call of the Javascript … function dds(qwhat) { var selbit=”<select id=selbit onchange=’ location.href=document.URL.split(\”#\”)[0].split(\”?\”)[0] + \”?mode=\” + this.value; ‘><option value=0>” + modes[0] + “</option></select>”; for (var iselbit=1; iselbit<modes.length; iselbit++) { if (mode == iselbit) { selbit=selbit.replace(“</select>”, … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged API, array, artificial intelligence, ESL, eval, form, Google, Google Translate, HTML, Javascript, microphone, PHP, post, programming, speech to text, survey, Text to Speech, tutorial
Leave a comment
Speech to Text ESL Tutorial
When you involve audio input into a web application it is likely that that web application can become useful with learning a language, such as with ESL (English as a second or foreign language) usage, especially as such learning has … spoken reading writing … components to it. As you would appreciate, once the learner is speaking and then that (spoken content) is written out (as a transcript), and the learner is then reading that content, the web application can be a “double whammy” effective learning tool. We extend the web application’s functionality from yesterday’s Speech to Text Primer Tutorial using a technique we often use, that being changing the original (guinea pig usage) word “Quiz” into it plus other options presented in a … HTML select (dropdown) element … as per HTML “onload” event … <body onload=”document.getElementById(‘preq’).innerHTML=dds(‘Quiz’); document.getElementById(‘kb’).focus(); pickq();”> … call of the Javascript … function dds(qwhat) { var selbit=”<select id=selbit onchange=’ location.href=document.URL.split(\”#\”)[0].split(\”?\”)[0] + \”?mode=\” + this.value; ‘><option value=0>” + modes[0] + “</option></select>”; for (var iselbit=1; iselbit<modes.length; iselbit++) { if (mode == iselbit) { selbit=selbit.replace(“</select>”, “<option value=” + iselbit + ” selected>” + modes[iselbit] + “</option></select>”); } else { selbit=selbit.replace(“</select>”, “<option value=” + iselbit + “>” + modes[iselbit] + “</option></select>”); } } return qwhat.replace(‘Quiz’,selbit); } … that sets off onchange event logic to … reload the webpage with a URL ?mode= argument flagging this that is … detected via … var mode=location.search.split(‘mode=’)[1] ? eval(decodeURIComponent(location.search.split(‘mode=’)[1].split(‘&’)[0])) : 0; var modes=[“Quiz”,”Tongue Twisters”,”Haiku”]; var arraynames=[“questions”,”tongue_twisters”,”haiku”]; var delims=[“?”,”~”,”`”]; var bcols=[“yellow”,”lightgreen”,”lightblue”]; … enabling, as necessary the … “mapping” of other usage arrays (we are responsible for garnering) onto the original (guinea pig) array “questions” (within “dds” function above) via … if (mode != 0) { eval(arraynames[0] + “=” + arraynames[mode]); document.getElementById(‘tdm’).style.backgroundColor=bcols[mode]; } That leaves, apart from the extra content duties, a new scoring mechanism, one new one of which analyzes question words against answer words and scores positive word length score components for answer words found in question words and negative word length score components for question words not found in answer words. Again, feel free to have a look at today’s changed PHP code of speech_supervisor.php‘s “Speaking Quiz plus ESL Others”. Previous relevant Speech to Text Primer Tutorial is shown below. There was some great advice that had us dipping our toes into “Speech to Text” web application thoughts. You probably know yourself about the brilliant Google Translate and its “Text to Speech’ capabilities … Continue reading
Posted in eLearning, ESL, Event-Driven Programming, Tutorials
Tagged API, array, artificial intelligence, ESL, eval, Google, Google Translate, HTML, Javascript, microphone, PHP, programming, speech to text, Text to Speech, tutorial
Leave a comment
Speech to Text Primer Tutorial
There was some great advice that had us dipping our toes into “Speech to Text” web application thoughts. You probably know yourself about the brilliant Google Translate and its “Text to Speech’ capabilities (or read some of our postings here such as Italian French Spanish Verb Conjugation Text to Speech Tutorial)? Well, it’s Google again supplying the brilliance for the obverse ideas used today in our “Speaking Quiz” web application idea. “Speaking”, that is, if you are using a recent enough version of the Google Chrome web browser, some HTML aspects of which are eloquently explained by this very useful link utilizing the wonderful Google Speech to Text API. If you are interested in “Speech to Text” you should also check out the very interesting Diagflow … Speech to Text. Thanks everyone, for these artificial intelligence “dipping our toes” encouragement. Feel free to have a look at today’s PHP code of speech_supervisor.php‘s “Speaking Quiz”. Previous relevant Italian French Spanish Verb Conjugation Text to Speech Tutorial is shown below. In following up on Italian and French and Spanish Verb Conjugation Event Tutorial as shown below we’ve increased functionality of English translations by adding Google Translate Text to Speech capabilities to … Italian French Spanish … via a new “loudspeaker” icon. Some of the talking points with today’s changes involve … a “reveal” idea whereby the showing of an HTML element is controlled by its Javascript DOM [element].style.width CSS property, whereby the element is effectively invisible at width:1px and in our case today becomes visible, at width:20px, and, thus, clickable, for Google Translate popup window translation and text to speech capabilities via the control of … binary decision making GUI ease of using HTML input tag type=checkbox and the associated Javascript DOM document.getElementById([element]).checked … because … UX-wise it is good to forewarn users with an option when it comes to functionality involving sound use of Javascript DOM document.getElementsByTagName(‘img’) as a means by which to manipulate HTML elements that are not necessarily provided with an ID global property As per the other tutorials in this thread, even with new Google Translate Text to Speech and Translation capabilities, nothing changes today about the techniques used today doing away with any need for a server side language by channelling the Ajax jQuery thoughts we presented with Ajax jQuery Primer Tutorial to make the most of the great resource that WordReference.com is. This happens in our … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged API, artificial intelligence, Google, Google Translate, HTML, Javascript, microphone, PHP, programming, speech to text, Text to Speech, tutorial
Leave a comment
Microphone Recording Audio Primer Tutorial
The blog posting Webcam Mobile Tutorial set us up for using navigator.getUserMedia and on that occasion we used it mainly in conjunction with a device webcam and web application video element along with a web application canvas element, this all being very HTML5’y by nature. Today, we add another mode of use, presented in a new HTML select element dropdown, to this same web application as per … Webcam and Microphone Audio/Video display Webcam Video display Microphone Audio display and capture … suitable to capture a Voice Memo This new Microphone Audio display and capture functionality’s basis has been used before when we presented YouTube Embedded Video in Iframe API RegEx Tutorial directly “hotlinked” to the wonderful mattdiamond/Recorderjs GitHub project‘s live run demonstration webpage. But today, we do not “hotlink”, and we comply with Open Source licencing requirements by leaving unchanged Javascript code that is now referenced by all modes live run and microphone audio mode live run links that now involves the HTML and Javascript of webcamtest.htm that changed in this way regarding this new Microphone Audio capture web application functionality, consisting of … a microphone device connection via navigator.getUserMedianavigator.MediaDevices.getUserMedia … but this time … navigator.getUserMedia({video: false, audio: true}, handleAudio, videoError);navigator.MediaDevices.getUserMedia({video: false, audio: true}).then(function(mediaStream) { handleAudio(mediaStream); }).catch(function(err) { videoError(err) }); the recording of recorded audio capture in .wav format via a user click to Start Recording clicking the same button to Stop Recording then sets up the chance to … click Save button to download the .wav file, as required, to your local (client) file system We hope you get some ideas here. Previous relevant Webcam Mobile Tutorial is shown below. Am hoping most of you laptop and desktop computer users were able to see a webcam working with our web application we left off last with Webcam Photobooth Tutorial as shown below, and that’s great if that is the case, but the fact is that lots of platforms, predominantly mobile ones, it would appear do not support a Javascript call like … navigator.getUserMedia({video: true, audio: true}, handleVideo, videoError); … alas and alack! However, for all you long suffering (mainly mobile device) blog readers … thanks for reading … for what we taketh away, let us now putteth innereth a bitteth today. The webcam is a “streaming” video, but the next best thing we can do short of “streaming” is to loop an existing video, wouldn’t you say? Even … Continue reading
Posted in eLearning, Event-Driven Programming, Tutorials
Tagged audio, capture, download, getUserMedia, media, microphone, programming, recording, tutorial, voice memo
Leave a comment
YouTube via iPad Video Editing Tutorial
We’ve talked before about the ease with which, on an Apple iPad, you can upload to Google’s YouTube self made videos, using the Camera app’s Video mode when we presented YouTube via iPad Photos App Primer Tutorial as shown below. Are there video editing facilities up at YouTube, with an iPad, once you’ve uploaded? Not a great deal, except to be able to change Privacy setting and Tags, but not to physically change the video. However, before you upload the video via the iPad’s Photo app YouTube Share option, substitute in the use of an iPad (iOS) mobile app we’ve started to use called YouTube Capture to … create your own video using the app accessing the iPad’s camera and microphone … and/or bring up videos you’ve already made in the past and … piece together spliced bits of video, which we didn’t do today … and/or … add a soundtrack, which we wanted to do today … and then let the app upload to YouTube for you. Today we show you all this in two PDF slideshow parts, namely … slideshow showing the non third-party way of uploading a Camera app Video mode video of “Kitty Woo and Luna and Nala” via the Photo app YouTube Share option to YouTube, and then add Tags resulting in … … followed by … slideshow showing (just after) installing (via the App Store app) and opening the iPad (iOS) YouTube Capture app to add the soundtrack “Morning Mood” onto the pre-existing video, as above, to create a new video “Luna and Kitty Woo and Nala” uploaded to YouTube … Hope this gives you ideas. Previous relevant YouTube via iPad Photos App Primer Tutorial is shown below. When it comes to (online digital) media (matters) there is good crossover between the major mobile players of Google/Android (and YouTube) and Apple/iOS if you are approaching it in an optimistic or open ended framework (of thinking, perhaps). Today I’m missing the MacBook Pro … really missing it … and shaped to see what it is like explaining something on an Android (the Google Android Photos app on a Samsung mobile phone got updated) and seeing what it’s like videoing the goings on using the Apple iOS Camera app (in video mode) on an iPad, using the Sharing option “YouTube” (cute, huh?!) … and you can have a laugh at this at … … in my … Continue reading
Posted in eLearning, iOS, Tutorials
Tagged Apple, Apple Store, camera, Google, iOS, iPad, media, microphone, mobile, mobile app, mobile application, photo, publish, soundtrack, tablet, tutorial, upload, video, YouTube
Leave a comment


Thanks. Since then, a Shower Songs project at https://www.rjmprogramming.com.au/HTMLCSS/shower_songs.html is an improvement regarding "Radio Play" on mobile platforms.