A new version of the Bluetooth Macro app is available on Google Play
As much as I like gaming, one thing that irritates me is "Quick Time Event" button mashing game mechanism which requires the player to repeatedly bash a button usually in response to a cinematic event, for example:
Interrogation Scene - Metal Gear Solid
As protagonist Snake is interrogated, the player is required to mash a button to resist the electrocution.
Pooping - South Park: The Stick of Truth
A more immature example is mashing a button to poop.. it is South Park, after all.
So I've updated the Bluetooth Macro app to include a 'button mash' function.
Usage
The new functionality can be found by swiping left past the voice recognition section screen.
Enter the keys to send in the text-to-send box, and use the slider to set the frequency (The minimum is 1/sec, max 100/sec).
Note that while the app strives to keep these times as accurate as possible, there will be some limitations based on the hardware that you use.
Click start to begin 'mashing' the button - it will continue until you click stop.
Randomising time
A lot of third party game controllers can include a rapid-fire button that the player can simply hold down. Some games (such as MGS) could detect these (presumably because such a solution would send button presses at a predictable set interval, whereas a human player would have marginal inconsistencies in the spacing of the button presses.)
The randomise checkbox aims to overcome this by introducing a small variation between the keypress delays.
Support/Feedback
Unfortunately I'm not in a position to offer any kind of official
support for this, so use entirely at your own risk. If you have any
trouble with it, then feel free to get in touch, and I'll try to help as and when I can, but I make no
guarantees!
Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts
Wednesday, 17 January 2018
Monday, 17 April 2017
App Update: Bluetooth Macro and Voice Input v2.0
The Macro Input
System app has undergone a significant overhaul.
Macros are now
stored in an internal database, and can have categories assigned.
Download
Select the menu,
then Create Macro. Give the macro a name, short description, category
and the actual macro content (in the same format as previous versions
of the app), hit create.
If you have multiple
macros in the same category, they will be nested in the macro list.
Useful for keeping similarly themed snippets together – terminal
commands, code snippets, etc.
To send a macro
Tap on the macro in the list. Alternatively, long press on the macro
in the list, and from the pop-up, select Send. If you want to preview
the text that will be sent before sending, tick the Preview checkbox.
If you select this, then when you tap on the macro, a pop-up will
appear displaying the text and ask for confirmation before sending.
To edit a macro
Long press on the macro in the list, and from the popup, select Edit,
where you’ll be taken to the same screen as in the screenshot above and be able to edit the description, category and content.
To delete a macro
Long press on the macro in the list, and from the popup, select
Delete.
To import macros
from previous versions
There’s two way you can do this:
1) From the menu, select Create Macro, then from the options menu
again, select Load from File. You’ll be presented with a file list
as you would have in previous versions of the app. Navigate to the
macro you want to import. The Create Macro dialog will populate with
the name and content of the macro. From here you can edit the
category and description, and save it to the database.
2) From the menu, select Quick Import. You’ll be presented with a
file list as you would have in previous versions of the app. Navigate
to the macro you want to import. The macro will be immediately
imported, with the file name as it’s title, and “Quick Import”
as it’s category. You can edit this later if need be.
Note that once imported, editing the macro will need to be done via
the edit function outlined above. Changing the file on your phone
will not update the macro.

Using Speech
Recognition
Either hit the speech recognition button or swipe to access the
Speech Recognition screen. On that screen, hit Start Voice
Recognition to begin. When the prompt appears, start speaking. When
you’re done, stop speaking, and the results will be processed, and
a list will appear of options that the system thought it heard,
starting with the highest probability.
If the recognised speech matches the name of one of your saved
macros, it will be added to this list.
As with the other macros, tap to send the text.
You can also save speech recognition macros for later use – just
longpress on the macro and select Save from the menu. They will be
saved under the category “From Speech Recognition”
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.
Sunday, 12 February 2017
App Update: Soundboard 1.8.0
A new update to the Soundboard application on Google Play has been released.
What's New
A new Tone Generation feature, which allows the user to generate sine-wave tones and play them back.
Also a bug fix - on the DTMF screen, swiping between the screens would effectively have the effect if the DTMF buttons being stuck in a pressed state, causing a continuous playing of the tone. The layout of that screen has been amended to reduce the occurrence of this happening.
Usage
From the app's start screen, use the Tone Generator button, or swipe across to access the tone generation module. On that screen, use the slider or text box to select your chosen frequency, set the duration, and hit generate to play the tone The module is also subject to the volume controls of the rest of the application - go to preferences in the menu and you'll be able to choose whether or not to dynamically set the volume level on playback, and set the volume level if you so wish.
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.
Download
What's New
A new Tone Generation feature, which allows the user to generate sine-wave tones and play them back.
Also a bug fix - on the DTMF screen, swiping between the screens would effectively have the effect if the DTMF buttons being stuck in a pressed state, causing a continuous playing of the tone. The layout of that screen has been amended to reduce the occurrence of this happening.
Usage
From the app's start screen, use the Tone Generator button, or swipe across to access the tone generation module. On that screen, use the slider or text box to select your chosen frequency, set the duration, and hit generate to play the tone The module is also subject to the volume controls of the rest of the application - go to preferences in the menu and you'll be able to choose whether or not to dynamically set the volume level on playback, and set the volume level if you so wish.
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.
Download

Wednesday, 7 September 2016
App Update - Soundboard Version 1.7
What's New
- DTMF Tone generator
- Bug fix - playback volume level didn't change after initial set, now fixed.
- Bug fix - Text-to-Speech playback ignored the playback volume level, now fixed.
Usage
On open the user will be presented with three buttons to load the following sections. or alternatively swipe between them:
- Load files from Storage - This will load the regular soundboard as in previous versions and display the files in a list ready for playback. Note, if you swipe across to the soundboard screen from the start of the app, you will need to select Load from the options menu to populate the list.
- Generate speech from Text - This will load the text-to-speech interface, where they can enter text and play it back to inject custom phrases into their soundboard.
- DTMF Tones - This new feature allows you to generate DTMF (dual-tone multi frequency) tones - which are the noises generated when pressing the numerical buttons on a telephone keypad. Useful for, say, messing with annoying robocallers.
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.

Thursday, 4 August 2016
App Update - Bluetooth Macro Input v.1.5
What's New
- Command support - now send keystrokes for non-character keys - function keys, CTRL, ALT, etc.
- Bug fix - Bluetooth no longer connects on application load - this prevents some crashing on open. Connection happens when the first bit of text is sent.
On first run, use the menu button, select settings from the menu and set the options you wish to use.
The most important settings to choose here are "Use Bluetooth Connection" and the bluetooth MAC address for your device. If you do not set a directory for storing your macro files, the default directory is a folder called "BluetoothMacroFiles" under your devices storage location (e.g. /storage/emulated/0/BluetoothMacroFiles).
Once that's done, you can swipe between the two main screens. The first is the voice recognition screen. Tap the button, speak, wait for Google voice recognition to process your speech and a series of possible options are presented.
Tap your chosen option and the device will attempt to send that text through to the bluetooth adapter.
The second screen allows you to select a text file from the menu and send that via bluetooth. The new functionality allows you to define keystrokes for non-character keys - handy for sending commands. For example, a text file containing the following:
{F11}Hello World
will 'press' the F11 key, and then type "Hello World". The extra keys you can type in this manner are:
|
|
In order to get the command functionality working I had to amend the arduino sketch - revised version below:
void setup() { Serial1.begin(115200); Keyboard.begin(); } void loop() { if (Serial1.available() > 0) { byte inChar = Serial1.read(); Keyboard.write(inChar); Serial1.write(inChar); delay(10); } }
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.

Previous Versions
The original app
First update
Saturday, 28 May 2016
App Update - Soundboard Version 1.5.1
What's New
- Text-to-speech support added to enable use within the soundboard.
- Intro screen provides more detail about usage, front screen button auto loads file list on main soundboard.
Usage
On open the user will be presented with a two buttons, one will take them to the new Text-to-speech interface, where they can enter text and play it back to inject custom phrases into their soundboard.
The second button will load the regular soundboard as in previous versions, but will automatically load the files into the list (no need to select Load from the options menu).
It is also possible to swipe between the screens as well, so pre-recorded audio can be mixed with TTS-generated speech.
Note, if you swipe across to the soundboard screen from the start of the app, you will need to select Load from the options menu to populate the list.
Support
As with all my apps, it is free, and as such, I am not in a position to offer any kind of official support, so use entirely at your own risk.
If you have any trouble with it, then feel free leave a comment or tweet and I'll try to help as and when I can, but I make no guarantees.

Tuesday, 15 March 2016
New App: Soundboard
My latest Android app is now available on Google Play.
A simple soundboard application. Save some MP3 or OGG files to your phone, load up the app and play them at the touch of a button.
![]() |
Tap the file names to play |
To keep the sound playback levels constant, the app allows you to set a volume level independent of the current volume. On playback, the app sets the volume to that level, plays the sound clip, then returns the volume to it's previous level.
Designed to be used with phones using an adapter such as the one described in my previous post, the app also works well with Xbox Live headsets (Xbox 360), and in theory should work with any device you're capable of connecting your phones audio output to.
The app was built for and tested on an HTC One M9, but should work with any recent flavour of Android.
Usage
Initially, copy the audio files to your devices storage, into a directory called SoundboardFiles.
Open the app, hit the menu button and select load, and you'll get a list of the files as in the first screenshot above.
Go to preferences in the menu and you'll be able to choose whether or not to dynamically set the volume level on playback, and set the volume level if you so wish.
Going back to the main screen, simply tap the filenames to play the file (the app will deal with the volume adjustments automatically.
![]() |
The volume control menu |
See this post for a guide on creating sound clips from YouTube videos and other online sources.
Support
As with my other apps, it is free, with a simple ad banner at the bottom of the main screen.
As such, there is no official support, although I will respond to any comments via this site or twitter as best I can.
Sunday, 21 September 2014
New App/Update: Bluetooth Macro and Voice Input
This new app is an update to my previous Bluetooth Macro Input app. Unfortunately, for technical reasons, I could not issue this as an update to the existing app.
The new version focuses more on the voice recognition and transcription features of the app,
Now any macros you store in the Macros subfolder can be selected by voice. For example, if you store your macros in
<DEVICE STORAGE>/BluetoothMacroFiles/
and have a macro called
<DEVICE STORAGE>/BluetoothMacroFiles/Macros/Hello world.txt
Then the voice command "Hello World" can be used to load and play back that macro.
Usage
Usage guide for the original file-based macro system can be found here.
Previous update notes are available here.
Requirements Changes
Companion hardware is still required, see the original post for details.
The minimum required version of android is Honeycomb (Android 3.0)
The new version focuses more on the voice recognition and transcription features of the app,
Now any macros you store in the Macros subfolder can be selected by voice. For example, if you store your macros in
<DEVICE STORAGE>/BluetoothMacroFiles/
and have a macro called
<DEVICE STORAGE>/BluetoothMacroFiles/Macros/Hello world.txt
Then the voice command "Hello World" can be used to load and play back that macro.
Usage
Usage guide for the original file-based macro system can be found here.
Previous update notes are available here.
Requirements Changes
Companion hardware is still required, see the original post for details.
The minimum required version of android is Honeycomb (Android 3.0)
Sunday, 24 August 2014
New app / Major Update: Web Media Grabber
This is a replacement for my previous 'RSS Media Grabber' app. This version is no longer restricted to RSS feeds, and can retrieve media from most web sources - RSS, Web page, Twitter feed, etc. It is also no longer limited to certain media types, and can retrieve any file extensions listed by the user.
The previous version will remain available on the Play Store for a while, until users have migrated over (this version couldn't be released as a simple update due to an issue with package signing keys)
Usage
When using the app for the first time, use the menu button and select "Add New Source".
On the next screen, enter the URL for the feed, and give a folder name (this will be where the app stores the files it downloads - eg, if you enter "MyFolder", the directory will be sdcard/MediaGrabber/MyFolder/)
Enter the file types you wish to extract, separated by spaces as per the example, eg "jpg gif mp3" etc.
Select OK to return to the main screen, and select menu->Load sources. This will list all the sources you've added.
Select one of the sources to be prompted to retrieve the feed. Select OK and it will load the feed, grabbing any media with your chosen file extensions, and saving them to the folder.
You'll then be able to view the downloaded media through your app of choice.
Wednesday, 30 July 2014
App Update: Bluetooth Macro Input
The Bluetooth Macro Input app has been updated and is now available on Google Play.
New Features
As well as it's existing ability to send text files stored on phone, it is now possible to use voice recognition to transcribe voice to text and send that text via bluetooth in the same way, effectively allowing your phone to act as a dictation machine for your computer, without needing to install additional software on your computer.
Please note the voice recognition uses Google's voice recognition API. As a result, I do not have any control of the quality or accuracy of the voice recognition. It does also mean that Internet access is required to use the voice recognition feature.
Usage guide for the original file-based macro system can be found here.
Requirements Changes
Companion hardware is still required, see the original post for details.
The minimum required version of android is now Honeycomb (Android 3.0)
New Features
As well as it's existing ability to send text files stored on phone, it is now possible to use voice recognition to transcribe voice to text and send that text via bluetooth in the same way, effectively allowing your phone to act as a dictation machine for your computer, without needing to install additional software on your computer.
Please note the voice recognition uses Google's voice recognition API. As a result, I do not have any control of the quality or accuracy of the voice recognition. It does also mean that Internet access is required to use the voice recognition feature.
Usage guide for the original file-based macro system can be found here.
Requirements Changes
Companion hardware is still required, see the original post for details.
The minimum required version of android is now Honeycomb (Android 3.0)
Tuesday, 10 June 2014
Android App: RSS Media Grabber
My second android app is now available on the Google Play store. It's a port of a desktop Java application I wrote a while back, which will retrieve image media from RSS feeds - useful for web comics/cartoons, pic-of-the-day sites etc.
Usage
When using the app for the first time, use the menu button and select "Add New Source".
On the next screen, enter the URL for the feed, and give a folder name (this will be where the app stores the files it downloads - eg, if you enter "MyFolder", the directory will be sdcard/RSSMediaGrabber/MyFolder/)
Select OK to return to the main screen, and select menu->Load sources. This will list all the RSS feeds you've added.
Select one of the feeds to be prompted to retrieve the feed. Select OK and it will load the feed, grabbing any image media, and saving them to the folder.
You'll then be able to view the downloaded media through your photo app of choice.
Future development plans
Support/Feedback
As with my other apps, it's free (ad-supported), and I welcome feedback. Unfortunately I'm not in a position to offer any kind of official support for this, so use entirely at your own risk. If you have any trouble with it, then feel free to contact me on twitter/G+/leave a comment, and I'll try to help as and when I can, but I make no guarantees!
Any feedback, particularly with regard to different phone/tablet hardware and android versions is appreciated.
Usage
When using the app for the first time, use the menu button and select "Add New Source".
On the next screen, enter the URL for the feed, and give a folder name (this will be where the app stores the files it downloads - eg, if you enter "MyFolder", the directory will be sdcard/RSSMediaGrabber/MyFolder/)
Select OK to return to the main screen, and select menu->Load sources. This will list all the RSS feeds you've added.
Select one of the feeds to be prompted to retrieve the feed. Select OK and it will load the feed, grabbing any image media, and saving them to the folder.
You'll then be able to view the downloaded media through your photo app of choice.
Future development plans
- Wider media selection (MP3 for podcasts etc).
- Integrated media viewer/player
- Scheduling to check feeds at set intervals.
Support/Feedback
As with my other apps, it's free (ad-supported), and I welcome feedback. Unfortunately I'm not in a position to offer any kind of official support for this, so use entirely at your own risk. If you have any trouble with it, then feel free to contact me on twitter/G+/leave a comment, and I'll try to help as and when I can, but I make no guarantees!
Any feedback, particularly with regard to different phone/tablet hardware and android versions is appreciated.
Thursday, 22 May 2014
Android App: Bluetooth Macro Input
UPDATE - Please note this version of the Bluetooth Macro Input app is no longer supported. Although it's still on the Play store, it will not be updated in future. Please consider migrating to the new Bluetooth Macro and Voice Input app instead.
A while ago I posted this snippet of Arduino code for an upcoming project. Unfortunately with a looming redundancy and several courses on the go at the moment I've not had the free time to follow up until now.
All the code does is read a character from the serial pins of the arduino, then outputs that character as a keyboard keystroke using the keyboard emulation functionality of the Arduino Leonardo variants.
The rest of the hardware is very simple - just a bluetooth serial module, such as one of these - connected to those pins. There's just 4 pins - power, ground, TX and RX.
With that done, and the arduino sketch uploaded, the rest of the work is in the android application, which is now available for download by clicking the button below.
What it does
You can provide a library of snippets of text on your devices external storage (any ASCII filetype is fine), and then this app can access them, and send them via bluetooth to the arduino hardware, which emulates a USB keyboard and types the contents out.
This is handy for maintaining a library of code/command snippets that you might want to use across different computers or devices. (Or if, say, your day job requires you to often type the same thing on a computer that you have little control over software/config wise...)
Requirements
Usage
To run the app, first turn on bluetooth.
When you first run the app, you'll need to enter the MAC address of your bluetooth device - you should be able to find this in the docs of your serial device (or printed on it). Once done it should automatically connect.
Create or move your text snippet files to the a folder on the SD card under BluetoothMacroInput directory.
Use the Menu key in the app to bring up the menu, which is basically just the folder structure of the directory - click on your chosen file and it'll load it into the text view. Click 'Type' to have the device start typing your text.
Depending on your external hardware, you might need to adjust the delay value (if the typed text is garbled, then you need to increase the number)
Future Development plans
Support/Feedback
Unfortunately I'm not in a position to offer any kind of official support for this, so use entirely at your own risk. If you have any trouble with it, then feel free to contact me on twitter/G+/leave a comment, and I'll try to help as and when I can, but I make no guarantees!
Any feedback, particularly with compatibility on different hardware (both android devices and Bluetooth/keyboard hardware) will be much appreciated.
A while ago I posted this snippet of Arduino code for an upcoming project. Unfortunately with a looming redundancy and several courses on the go at the moment I've not had the free time to follow up until now.
All the code does is read a character from the serial pins of the arduino, then outputs that character as a keyboard keystroke using the keyboard emulation functionality of the Arduino Leonardo variants.
The rest of the hardware is very simple - just a bluetooth serial module, such as one of these - connected to those pins. There's just 4 pins - power, ground, TX and RX.
With that done, and the arduino sketch uploaded, the rest of the work is in the android application, which is now available for download by clicking the button below.
What it does
You can provide a library of snippets of text on your devices external storage (any ASCII filetype is fine), and then this app can access them, and send them via bluetooth to the arduino hardware, which emulates a USB keyboard and types the contents out.
This is handy for maintaining a library of code/command snippets that you might want to use across different computers or devices. (Or if, say, your day job requires you to often type the same thing on a computer that you have little control over software/config wise...)
Requirements
- The hardware described above.. Without it, the app is kinda pointless.
- Supports versions of android from 2.2 (Froyo) upward, though only tested on a Samsung Galaxy S3.
- Bluetooth serial device (115200 bps)
- Permissions
- Requires bluetooth and external storage access.
Usage
To run the app, first turn on bluetooth.
When you first run the app, you'll need to enter the MAC address of your bluetooth device - you should be able to find this in the docs of your serial device (or printed on it). Once done it should automatically connect.
Create or move your text snippet files to the a folder on the SD card under BluetoothMacroInput directory.
Use the Menu key in the app to bring up the menu, which is basically just the folder structure of the directory - click on your chosen file and it'll load it into the text view. Click 'Type' to have the device start typing your text.
Depending on your external hardware, you might need to adjust the delay value (if the typed text is garbled, then you need to increase the number)
Future Development plans
- One-button input for frequently used commands.
- Mouse emulation using phone touchscreen/sensors
- Dynamic macro recording (using USB host passthrough for a keyboard)
- General UI improvements..
Support/Feedback
Unfortunately I'm not in a position to offer any kind of official support for this, so use entirely at your own risk. If you have any trouble with it, then feel free to contact me on twitter/G+/leave a comment, and I'll try to help as and when I can, but I make no guarantees!
Any feedback, particularly with compatibility on different hardware (both android devices and Bluetooth/keyboard hardware) will be much appreciated.
Subscribe to:
Posts (Atom)