buttplugio / buttplug

Rust Implementation of the Buttplug Sex Toy Control Protocol
https://buttplug.io
Other
843 stars 62 forks source link

RFP: ToneEmitterCmd #333

Closed qdot closed 1 year ago

qdot commented 4 years ago

Name of Outgoing Message, if any:

ToneEmitterCmd

Message Fields:

Describe message usage scenario Used for tones on shock collars and other sound emitting devices. Assumption is that output will be a single tone emitted for a short period of time.

Additional context Duration here may be difficult as some tones may be momentary?

blackspherefollower commented 4 years ago

You might want to specify that this is not intended for driving audio vibes (which would also need a tone generator and might be emitted from such a device)

blackspherefollower commented 4 years ago

And just for consistency/because such a device will turn up if you don't, shouldn't this accept an array of tone emitters?

qdot commented 4 years ago

Yeaaaaaaaaaaaaaaaaaaaaaaaaah I'm sure some asshole will put 2 tone emitters on a homemade collar just to spite me.

And maybe I should change the name? ToneEmitterCmd?

blackspherefollower commented 4 years ago

SoundCmd? Oh... What if one of these devices with prerecorded moans goes BLE with the ability to trigger those clips?

What if it's an off the shelf MP3 module and you get to specify filename? (I think we can ignore this case for now: I'm way into theoretical hardware)

qdot commented 4 years ago

Nah this is for an extremely specific kind of tone generator. SoundCmd/SoundPlaybackCmd/Whatever would be something different.

blackspherefollower commented 4 years ago

Also, am I that asshole? I'm not sure I would be in this case... Collars aren't really my thing.

qdot commented 4 years ago

You are most definitely not that asshole.

Many people on telegram have potential to be that asshole, though.

blackspherefollower commented 4 years ago

Back to the tone generation, are tones specific to the device, or are there different ones?

Selected by number, representative of particular frequencies? Or potentially by frequency directly?

If there aren't any known devices with selectors like this yet, we can always add it later with appreciate MessageAttributes to describe the additional control.

qdot commented 4 years ago

So far, all I've run into is devices that make a single beep, sometimes with a duration. This is so far true of the 2 collars I have, and the pavlok. There's no choice in the way of tone frequency, and I'd kinda like to keep this message simple.

For something where tone output might vary, I'd want to have a frequency attribute, but we might just leave that as a new message that'd be like "VariableToneCmd" or something?

I suppose I could maybe call this "BeepCmd"? Beep is a little more narrow than tone.

qdot commented 4 years ago

Haaaaaaaaaaaaaaaaaahahahahaha.

The fucking Pavlok has a percentage setting in its app for tone.

Each percentage setting is actually a different tone. It's not setting a volume.

I quit.

blackspherefollower commented 4 years ago

Do those tones increase in frequency, or is it just 100 different random tones?

qdot commented 4 years ago

It's just 10 different frequencies (they only allow setting in 10% increments). There's no order to it. So we could probably just stepcount this and call it good.

qdot commented 1 year ago

Just calling this a no-go for the foreseeable future. We don't have any non-collar devices that emit tones, and I don't want to support collars.