openstatic.org openstatic.org

Midi-Lovense Bridge

This tool is designed to make it easy to control your lovense toys with a midi controller

Why?

I've always been a fan of the MIDI protocol, its a great way to control and automate simple devices. This software translates the 0-127 value from control sliders and note messages to a simple 0-20 value for the target device. Part of my inspiration came from the movie "Barbarella" where Durand-Durand uses an organ of sorts to control his odd sex machine. The possibilities are endless, you can use just about any MIDI device from the Rock Band Pro guitar to a simple DJ control surface.

How do I use it?

I tried to make usage really simple and straightforward. This software utilizes the LAN API provided by the "Lovense Connect" app. This app should automatically recognize your toy a few seconds after it's been paired with the Lovense Connect app on your phone. In order for everything to work your phone and computer must be on the same Wifi Network.

Once your toy becomes visible from the "Midi Lovense Brige" all you need to do is plug in your MIDI controller. All available hardware MIDI controllers should be listed on the left hand side of the app. To connect to a device simply check it off.

Creating a rule

"Rules" are mappings from your MIDI controller to your lovense device. You can create a rule by double-clicking on the toy you wish to create a rule for.

Select Command - This lets you choose between control change messages and Note On/Off Messages

Select Channel - Choose which MIDI Channel to listen on

Select CC# - Select which control change number to listen for

Data Range - How to interpret the message data FULL (0-127) - Map the output from 0-127 to the Toy TOP (64-127) - Only the top half of the slider should control the toy (basically middle is off) BOTTOM INV (63-0) - Only the bottom half of the slider should control the toy (basically middle is off) FULL INV (0-127) - Map the output from 127-0 to the Toy (reverses direction of slider)

Toy Output - Select how to control the toy VIBRATE - Controls the toys Vibrate function VIBRATE1 - Control Vibrator 1 (edge) VIBRATE2 - Control Vibrator 2 (edge) ROTATE - Control rotation (nora) AIR - Control Air (max)



Once you've set all the parameters for your rule. Just click "Create Rule" you can go back and edit a rule at any time just by clicking on it (rules are listed at the bottom of the interface)

Source Code (github)

Download

Latest Build: July 17 2020 03:39:03 PM EDT

About

MidiLovenseBrige was written in pure java. The exe provided was generated using the launch4j maven plugin.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.