Restim: e-stim audio generation software

Discussion about Cock Hero and other sexy videos.

Moderator: andyp

UFungus
Explorer
Explorer
Posts: 42
Joined: Mon Jan 17, 2022 8:13 pm

Re: Restim: e-stim audio generation software

Post by UFungus »

For some reason, dunno if it's the latest intiface update, I can't connect restim to intiface anymore. I get a "Connected to buttplug. buttplug error: The remote host closed the connection" from restim and this is what I get from intiface.

"Device Websocket Device restim (00000000) found.
[D] Global Loggy: Device 00000000 allowed via configuration file, continuing.
Global Loggy: Starting websocket server connection event loop.
[D] Global Loggy: Looking for protocol that matches specifier: Websocket(WebsocketSpecifier { names: {"restim"} })
[D] Global Loggy: No viable protocols for hardware Websocket(WebsocketSpecifier { names: {"restim"} }), ignoring.
Global Loggy: Websocket server connector owner dropped, disconnecting websocket connection.
[D] Global Loggy: Exiting Websocket Server Device control loop."

I tried reinstalling intiface, going back to an older version, an older version of restim etc. Nothing works. Wondering if anyone could please give me a hand.
Electro
Explorer At Heart
Explorer At Heart
Posts: 562
Joined: Thu Feb 13, 2020 9:45 am

Re: Restim: e-stim audio generation software

Post by Electro »

I feel like this might be a big ask, but I'm wondering if it's possible to save configuration profiles for the funscript/t-code section of preferences?
The reason I ask is when I go from one video to another, some videos work better with a specific pulse width range, are designed for a specific pulse frequency range, or some settings I've occasionally configured for certain types of funscripts and electrode configurations that are way different than what Restim is designed for, etc.
If I could save different settings and restore them before loading a video, it would save me from typing them all into a notepad and manually swapping the values each time.
diglet
Explorer At Heart
Explorer At Heart
Posts: 390
Joined: Sun Dec 11, 2022 5:43 pm

Re: Restim: e-stim audio generation software

Post by diglet »

UFungus wrote: Mon May 27, 2024 12:35 am For some reason, dunno if it's the latest intiface update, I can't connect restim to intiface anymore. I get a "Connected to buttplug. buttplug error: The remote host closed the connection" from restim and this is what I get from intiface.

"Device Websocket Device restim (00000000) found.
[D] Global Loggy: Device 00000000 allowed via configuration file, continuing.
[I\] Global Loggy: Starting websocket server connection event loop.
[D] Global Loggy: Looking for protocol that matches specifier: Websocket(WebsocketSpecifier { names: {"restim"} })
[D] Global Loggy: No viable protocols for hardware Websocket(WebsocketSpecifier { names: {"restim"} }), ignoring.
[I\] Global Loggy: Websocket server connector owner dropped, disconnecting websocket connection.
[D] Global Loggy: Exiting Websocket Server Device control loop."

I tried reinstalling intiface, going back to an older version, an older version of restim etc. Nothing works. Wondering if anyone could please give me a hand.
There was an update of intiface last week that changed some things. It is not no longer supported to manually edit the config file. I need to update the documentation. I was able to get it to work with these steps:
  1. make sure websocket device manager is enabled in Intiface Central.
  2. In Intiface Central, devices tab, add a new device with name "restim" and protocol "tcode-v03".
  3. Connect Restim to Intiface Central as normal.
Electro wrote: Mon May 27, 2024 5:15 am I feel like this might be a big ask, but I'm wondering if it's possible to save configuration profiles for the funscript/t-code section of preferences?
The reason I ask is when I go from one video to another, some videos work better with a specific pulse width range, are designed for a specific pulse frequency range, or some settings I've occasionally configured for certain types of funscripts and electrode configurations that are way different than what Restim is designed for, etc.
If I could save different settings and restore them before loading a video, it would save me from typing them all into a notepad and manually swapping the values each time.
This is a planned feature, the idea is to store another file along with the funscripts that stores the configuration on a per-video basis. Not sure when it will be implemented.
UFungus
Explorer
Explorer
Posts: 42
Joined: Mon Jan 17, 2022 8:13 pm

Re: Restim: e-stim audio generation software

Post by UFungus »

diglet wrote: Mon May 27, 2024 8:11 am There was an update of intiface last week that changed some things. It is not no longer supported to manually edit the config file. I need to update the documentation. I was able to get it to work with these steps:
  1. make sure websocket device manager is enabled in Intiface Central.
  2. In Intiface Central, devices tab, add a new device with name "restim" and protocol "tcode-v03".
  3. Connect Restim to Intiface Central as normal.
I must've tried for about 3 hours without trying the simplest thing. Thanks a bunch. It worked right away.
KofFinland
Curious Newbie
Curious Newbie
Posts: 2
Joined: Mon May 23, 2022 7:09 pm

Re: Restim: e-stim audio generation software

Post by KofFinland »

First thanks a lot for this fantastic software Restim.

I've been trying to figure out if it is possible for Restim to sync with some VR video player, like Whirligig? If I have the funscript (converted to alpha and beta) at restim, how to get it to sync to VR video played with Whirligig?

I can use Scriptplayer to sync with Whirligig for Launch, using funscripts, and I can get Restim to sync with VLC for estim fun, but can I somehow get estim fun also with VR videos?
diglet
Explorer At Heart
Explorer At Heart
Posts: 390
Joined: Sun Dec 11, 2022 5:43 pm

Re: Restim: e-stim audio generation software

Post by diglet »

KofFinland wrote: Sun Jun 30, 2024 10:38 am First thanks a lot for this fantastic software Restim.

I've been trying to figure out if it is possible for Restim to sync with some VR video player, like Whirligig? If I have the funscript (converted to alpha and beta) at restim, how to get it to sync to VR video played with Whirligig?

I can use Scriptplayer to sync with Whirligig for Launch, using funscripts, and I can get Restim to sync with VLC for estim fun, but can I somehow get estim fun also with VR videos?
You can connect Restim to heresphere VR player. Whirlygig is not supported directly.

If you really want to use whirlygig, you can also use multifunplayer or scriptplayer+intiface as an intermediary.
diglet
Explorer At Heart
Explorer At Heart
Posts: 390
Joined: Sun Dec 11, 2022 5:43 pm

Re: Restim: e-stim audio generation software

Post by diglet »

New release https://github.com/diglet48/restim/releases

Changes in v1.17:
  • Add kodi video sync
  • Add funscript axis for pulse rise time
  • Fix some VLC issues.
Changes in v1.18:
  • Add A/B testing capabilities.
  • Fix an issue where signal would be generated with incorrect carrier frequency after switching device.
To use the A/B test, select the A/B test waveform instead of the pulse waveform in the device setup. This functionality is very useful for comparing signals and performing experiments.

Image
ZeeWWW

Re: Restim: e-stim audio generation software

Post by ZeeWWW »

Hi - I hope this is the right place to post a question about multifunplayer and Restim.

I have the following message appear when trying to connect to the WebSocket:

Error when connecting to websocket:

System.TimeoutException: The operation has timed out.
at MultiFunPlayer.Common.TaskExtensions.<WithCancellation>g__DoWaitAsync|2_0(Task task, Int32 millisecondsDelay)
at MultiFunPlayer.Common.TaskExtensions.<WithCancellation>g__DoWaitAsync|2_0(Task task, Int32 millisecondsDelay)
at MultiFunPlayer.OutputTarget.ViewModels.WebSocketOutputTarget.RunAsync(CancellationToken token)

Any idea on how I correct this?

Thanks.
diglet
Explorer At Heart
Explorer At Heart
Posts: 390
Joined: Sun Dec 11, 2022 5:43 pm

Re: Restim: e-stim audio generation software

Post by diglet »

ZeeWWW wrote: Sat Jul 13, 2024 8:21 am Hi - I hope this is the right place to post a question about multifunplayer and Restim.

I have the following message appear when trying to connect to the WebSocket:

Error when connecting to websocket:

System.TimeoutException: The operation has timed out.
at MultiFunPlayer.Common.TaskExtensions.<WithCancellation>g__DoWaitAsync|2_0(Task task, Int32 millisecondsDelay)
at MultiFunPlayer.Common.TaskExtensions.<WithCancellation>g__DoWaitAsync|2_0(Task task, Int32 millisecondsDelay)
at MultiFunPlayer.OutputTarget.ViewModels.WebSocketOutputTarget.RunAsync(CancellationToken token)

Any idea on how I correct this?

Thanks.
The error suggest that either Restim isn't listening for websocket connections or multifunplayer is connecting to the wrong address.

In Restim settings, I have websocket port set to 12346 and localhost only disabled.

In multifunplayer, I connect to ws://127.0.0.1:12346/ws

It works on my machine with these settings.
ZeeWWW

Re: Restim: e-stim audio generation software

Post by ZeeWWW »

In multifunplayer, I connect to ws://127.0.0.1:12346/ws

This worked; many thanks for our help :-)
kinkyhorizons
Explorer
Explorer
Posts: 48
Joined: Sat Jul 01, 2017 12:10 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Restim: e-stim audio generation software

Post by kinkyhorizons »

I just had some questions around the additional width and pulse files that are appearing on more recent uploads. I've done some searches through this topic and checked the wiki, but it still just gives the following advice for setup.

Image

Should Pulse Rise Time, Width etc just be configured on additional device lines, does the name matter at all as long as the funscript names match, and is there anything specific that should be put in for the default values?

Sorry if these seem obvious questions, I just want to make sure I get it correctly configured.
User avatar
edger477
Experimentor
Experimentor
Posts: 1114
Joined: Mon Nov 29, 2021 8:24 pm
Location: underfloor

Re: Restim: e-stim audio generation software

Post by edger477 »

kinkyhorizons wrote: Wed Jul 17, 2024 8:45 am I just had some questions around the additional width and pulse files that are appearing on more recent uploads. I've done some searches through this topic and checked the wiki, but it still just gives the following advice for setup.

Image

Should Pulse Rise Time, Width etc just be configured on additional device lines, does the name matter at all as long as the funscript names match, and is there anything specific that should be put in for the default values?

Sorry if these seem obvious questions, I just want to make sure I get it correctly configured.
You configure MultiFunPlayers according to axis names (L0, L1 etc), you have to give your own names in both restim settings and MFP (matching names of course) if you want to pass these through multifun player. The files are loaded automatically if you sync from restim and skip usage of MFP.
My estim creations: https://mega.nz/folder/73pxmBBQ#X6ylDzRafzTt9wanZ0dacw
And in E-Stim Index: viewtopic.php?t=27090

Try creating your own estims with my restim script generator!
Spoiler: show
You can also thank me with crypto: https://trocador.app/anonpay?ticker_to= ... e+a+coffee
kinkyhorizons
Explorer
Explorer
Posts: 48
Joined: Sat Jul 01, 2017 12:10 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Restim: e-stim audio generation software

Post by kinkyhorizons »

edger477 wrote: Wed Jul 17, 2024 8:58 am You configure MultiFunPlayers according to axis names (L0, L1 etc), you have to give your own names in both restim settings and MFP (matching names of course) if you want to pass these through multifun player. The files are loaded automatically if you sync from restim and skip usage of MFP.
I was just trying to understand if the names link to anything specific, for example can you just set pulse as L4 as long as you've got the funscript name as .pulse_width. As as long as you've got the funscript name linking to the correct file is that all you really need?
Last edited by kinkyhorizons on Wed Jul 17, 2024 9:09 am, edited 1 time in total.
User avatar
edger477
Experimentor
Experimentor
Posts: 1114
Joined: Mon Nov 29, 2021 8:24 pm
Location: underfloor

Re: Restim: e-stim audio generation software

Post by edger477 »

kinkyhorizons wrote: Wed Jul 17, 2024 9:00 am
edger477 wrote: Wed Jul 17, 2024 8:58 am You configure MultiFunPlayers according to axis names (L0, L1 etc), you have to give your own names in both restim settings and MFP (matching names of course) if you want to pass these through multifun player. The files are loaded automatically if you sync from restim and skip usage of MFP.
I was just trying to understand if the names link to specific, for example can you just set pulse as L4 as long as you've got the funscript name as .pulse_width. As as long as you've got the funscript name linking to the correct file is that all you really need.
When you use MFP, the MFP loads files and restim does not know what are file names, it just receives tcodes with the axis names (like L0/L1/L2 etc). So you can map anything to anything :)
My estim creations: https://mega.nz/folder/73pxmBBQ#X6ylDzRafzTt9wanZ0dacw
And in E-Stim Index: viewtopic.php?t=27090

Try creating your own estims with my restim script generator!
Spoiler: show
You can also thank me with crypto: https://trocador.app/anonpay?ticker_to= ... e+a+coffee
kinkyhorizons
Explorer
Explorer
Posts: 48
Joined: Sat Jul 01, 2017 12:10 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch

Re: Restim: e-stim audio generation software

Post by kinkyhorizons »

edger477 wrote: Wed Jul 17, 2024 9:03 am When you use MFP, the MFP loads files and restim does not know what are file names, it just receives tcodes with the axis names (like L0/L1/L2 etc). So you can map anything to anything :)
Just what I needed to know, cheers for helping clear that up for me!
Post Reply