Cool thanks! I'll try and use the API if I can to make it neater.diglet wrote: Thu Jun 15, 2023 5:25 am
Sure, go ahead.
I think it's easier to integrate with the api, but if you want to copy the code that's fine.
Restim: e-stim audio generation software
Moderator: andyp
Re: Restim: e-stim audio generation software
Re: Restim: e-stim audio generation software
Tried a different electrode placement with restim: left-tip, common-balls, right-below balls.. Was thinking that this setup usually gives me more defined stroking feeling.. It kinda worked after calibration, however there were some "silent" spots on the circle that I couldn't get rid of.
Also since the signals no longer matched the programmed motion when restim was connected to intiface, I converted alpha and beta to polar coordinates and rotated it.
Have you tried anything similar?
Also since the signals no longer matched the programmed motion when restim was connected to intiface, I converted alpha and beta to polar coordinates and rotated it.
Have you tried anything similar?
Re: Restim: e-stim audio generation software
Switching around the electrodes should not make a difference in sensation. In theory you should be able to change the calibration parameters in such a way that it feels identical regardless of the electrode order. I haven't tested this theory.
Not sure when I get around coding it, but rotating the phase diagram is a planned feature.
I have tested a few other electrode positions. What I did is printing this thing:

Red line indicates conductive rubber. This allows quick testing of various configs, as the rubber can be threaded through different holes. Alternatively, you can hold the CR in place with rubber bands.
I tried to map out some electrode positions (red) and the resulting stroking feeling (green):



Not sure which setup is the best yet. I like the setups with 2 electrodes on the head, this offers much more resolution in the head area. I found that stimulating the lower shaft / balls area doesn't really turn me on.
I ordered some flat rubber to experiment with. The plan is to create some sort of clamp that sandwiches the head between 2 pieces of rubber. And then a third electrode somewhere on the shaft.
Not sure when I get around coding it, but rotating the phase diagram is a planned feature.
I have tested a few other electrode positions. What I did is printing this thing:

Red line indicates conductive rubber. This allows quick testing of various configs, as the rubber can be threaded through different holes. Alternatively, you can hold the CR in place with rubber bands.
I tried to map out some electrode positions (red) and the resulting stroking feeling (green):



Not sure which setup is the best yet. I like the setups with 2 electrodes on the head, this offers much more resolution in the head area. I found that stimulating the lower shaft / balls area doesn't really turn me on.
I ordered some flat rubber to experiment with. The plan is to create some sort of clamp that sandwiches the head between 2 pieces of rubber. And then a third electrode somewhere on the shaft.
Re: Restim: e-stim audio generation software
New release: v1.9.0: https://github.com/diglet48/restim/releases
This release has two major changes: improvements to the calibration process and axis limits.
You can now click on a diagram to make small adjustments to the calibration parameters. The idea is to click along the edge of the diagram, on the spot where the intensity is lowest. Continue doing this until you can't identify the lowest spot anymore.

If you happen to have an electrode configuration where neutral is not at the top of the stroke, of you want to rotate/resize the phase diagram for some reason, you can do that now. See below:

Also have been testing more electrode positions. I find it really hard to get consistent and pain-free results with electrodes below the balls and the design in the previous post has some usability problems. Here is my latest attempt for positioning electrodes on the left/right side of the shaft:

The idea is to insert 2 ~3cm pieces of flat omega rubber on the inside. Then the design clamps around the shaft, compliant springs make sure the rubber stays parallel and provide some clamping pressure. The final electrode is a loop around the glans. With no electrodes below the balls the stroking sensation is less deep, but it feels nicer imo.
This release has two major changes: improvements to the calibration process and axis limits.
You can now click on a diagram to make small adjustments to the calibration parameters. The idea is to click along the edge of the diagram, on the spot where the intensity is lowest. Continue doing this until you can't identify the lowest spot anymore.

If you happen to have an electrode configuration where neutral is not at the top of the stroke, of you want to rotate/resize the phase diagram for some reason, you can do that now. See below:

Also have been testing more electrode positions. I find it really hard to get consistent and pain-free results with electrodes below the balls and the design in the previous post has some usability problems. Here is my latest attempt for positioning electrodes on the left/right side of the shaft:

The idea is to insert 2 ~3cm pieces of flat omega rubber on the inside. Then the design clamps around the shaft, compliant springs make sure the rubber stays parallel and provide some clamping pressure. The final electrode is a loop around the glans. With no electrodes below the balls the stroking sensation is less deep, but it feels nicer imo.
Re: Restim: e-stim audio generation software
Diglet, is that design an STL file for 3d printing? If it is, I'm interested in printing and experimenting with it.
I usually print entire electrodes using electrically conductive PLA(I use Protopasta), but in this case, I'd print a small strip and heat it up and thermoform it in place with either a heat gun or almost boiling water to fit the shape, and then using a heat gun fuse it together to this printed design. Alternatively CA glue(superglue) could attach them instead of heating them together, but I've had good luck carefully making it work without deforming the plastic I'm attaching it to if I use enough printed walls and don't overheat things or press too hard.
I usually print entire electrodes using electrically conductive PLA(I use Protopasta), but in this case, I'd print a small strip and heat it up and thermoform it in place with either a heat gun or almost boiling water to fit the shape, and then using a heat gun fuse it together to this printed design. Alternatively CA glue(superglue) could attach them instead of heating them together, but I've had good luck carefully making it work without deforming the plastic I'm attaching it to if I use enough printed walls and don't overheat things or press too hard.
Re: Restim: e-stim audio generation software
Yes, I printed it in plain PLA. The rubber is held in place with friction only and can be removed easily for cleaning.
I uploaded the clamp design (stl and fusion) to mega, feel free to share/modify/redistribute. https://mega.nz/folder/EWkyWRDZ#qytwEBxlHhlUDLVwYEPcBQ
I uploaded the clamp design (stl and fusion) to mega, feel free to share/modify/redistribute. https://mega.nz/folder/EWkyWRDZ#qytwEBxlHhlUDLVwYEPcBQ
- Kelvinator
- Explorer At Heart

- Posts: 152
- Joined: Fri Aug 27, 2021 1:05 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Location: US
Re: Restim: e-stim audio generation software
Hi Diglet, I installed and ran Restim V 1.9.0 in tri-phase mode with Chemical Crush and Overdrive 4. It was a very pleasant experience. The new mouse driven calibration graphical user interface (GUI) is really neat. I played around with it for quite a while, experiencing real-time the changes in intensity levels at various points along the alpha back and forth, beta top to bottom cycle. I settled on settings that had no noticeable high or low spots on the unit circle. I haven't tried the axis angle shift feature yet, but will do so in the future. All in all, I continue to enjoy Restim and the interactive, real-time estim response it provides. And yes, I am one of those stimmers that enjoys the relatively low, deep, throbbing estim frequencies. It takes me a while to adjust to them, but once I'm in the zone, there is nothing quite as enjoyable. K
Re: Restim: e-stim audio generation software
Diglet,
I've just finished reading through this as well as the original 15 page post. I am relatively inexperienced with coding and software, but was able to download restim and intiface, and was able to successfully connect everything to faptap within half an hour! I'm looking forward to my maiden voyage with the software in the coming days.
Thank you for this tremendous contribution to this community! Based on everything I read in the previous posts, I am confident that this software will be a monumental advancement for estim.
I am especially interested in how various electrode placements can lead to different sensations across the penis. Like many have pointed out, stimming can generate sensations that are so much more than just the up-down stroking motion of a funscript. I'm hopeful that different electrode configurations can help to improve the monotonic up-down of most funscripts…
with that being said, there are endless combinations of electrode configs that can be employed, so my question to you is: in your recent testing, is there a particular arrangement that you have found to be the most enjoyable? The single electrode at the base, with two at opposite sides of the glans seems interesting to me… also, with these new types of configurations, are there certain funscripts or audio files that you have found work better than others?
Thanks again, and I can't wait to see what the future holds for this amazing software, and the coder behind it!
I've just finished reading through this as well as the original 15 page post. I am relatively inexperienced with coding and software, but was able to download restim and intiface, and was able to successfully connect everything to faptap within half an hour! I'm looking forward to my maiden voyage with the software in the coming days.
Thank you for this tremendous contribution to this community! Based on everything I read in the previous posts, I am confident that this software will be a monumental advancement for estim.
I am especially interested in how various electrode placements can lead to different sensations across the penis. Like many have pointed out, stimming can generate sensations that are so much more than just the up-down stroking motion of a funscript. I'm hopeful that different electrode configurations can help to improve the monotonic up-down of most funscripts…
with that being said, there are endless combinations of electrode configs that can be employed, so my question to you is: in your recent testing, is there a particular arrangement that you have found to be the most enjoyable? The single electrode at the base, with two at opposite sides of the glans seems interesting to me… also, with these new types of configurations, are there certain funscripts or audio files that you have found work better than others?
Thanks again, and I can't wait to see what the future holds for this amazing software, and the coder behind it!
Re: Restim: e-stim audio generation software
I almost always use the electrode arrangement with one loop around the glans, and 2 electrodes left/right in the middle of the shaft with the clamp design introduced a few posts back. Having two electrodes on the glans and one ring on the shaft might be better, but this needs a different design because the clamp can slip off easily, especially with electro lube.
My body reacts differently to different clamp placements. With the clamp placed close to the head, there's not much stroking sensation but it feels very intense, frequently body shaking intense. I can ride the waves for a while (about an hour) and it feels really good. With the clamp placed lower on the shaft, there is more stroking sensation, usually no shaking. When it starts to feel good I usually climax very fast, quite difficult to ride for longer session.
I'm guessing the nerves on the head are more biased towards pleasure / wanting more / motor units, and the nerves on the shaft are more biased towards signaling the brain penetration was successful and ejaculation can occur. But that's just speculation, I have no idea if that makes biological sense.
As for content. The sensations the clamp design delivers are quite consistent between hard/soft states, so I have been exploring with some slower video's. One favorite is Ultimate Edging Challenge - Massage Edition, I edited the funscript a bit so the slow downward strokes are replaced with pauses so restim automatically reduces the volume (I use 30% lower volume, 30s ramp). The action sequences in this cock hero are quite short, about 30s, usually followed by a 10-20s pause. This pattern does seem to feel more intense than constant pounding. With older electrode configurations, the sensation was more sensitive to hardness so this type of content didn't work well for me.
My body reacts differently to different clamp placements. With the clamp placed close to the head, there's not much stroking sensation but it feels very intense, frequently body shaking intense. I can ride the waves for a while (about an hour) and it feels really good. With the clamp placed lower on the shaft, there is more stroking sensation, usually no shaking. When it starts to feel good I usually climax very fast, quite difficult to ride for longer session.
I'm guessing the nerves on the head are more biased towards pleasure / wanting more / motor units, and the nerves on the shaft are more biased towards signaling the brain penetration was successful and ejaculation can occur. But that's just speculation, I have no idea if that makes biological sense.
As for content. The sensations the clamp design delivers are quite consistent between hard/soft states, so I have been exploring with some slower video's. One favorite is Ultimate Edging Challenge - Massage Edition, I edited the funscript a bit so the slow downward strokes are replaced with pauses so restim automatically reduces the volume (I use 30% lower volume, 30s ramp). The action sequences in this cock hero are quite short, about 30s, usually followed by a 10-20s pause. This pattern does seem to feel more intense than constant pounding. With older electrode configurations, the sensation was more sensitive to hardness so this type of content didn't work well for me.
- Kelvinator
- Explorer At Heart

- Posts: 152
- Joined: Fri Aug 27, 2021 1:05 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Location: US
Re: Restim: e-stim audio generation software
Hi Diglet, Interesting
I'd like to give your edited funscript file a shot. Would you post a link to it? K
Re: Restim: e-stim audio generation software
I just published the modified funscript here: viewtopic.php?p=351901#p351901
Re: Restim: e-stim audio generation software
I uploaded a new version, v1.10.0: https://github.com/diglet48/restim/releases
This release contains one new feature, randomized modulation interval:

Some background on this feature, recently I have been reading some scientific literature to better understand how different signals effect the nerves. One improvement suggested in literature is to randomize the pulse interval. We *think* this *may* improve:
- Less modulation buzz, feels slightly more natural in long sessions.
- Slows down numbing.
- Reduces pain when suddenly increasing the volume or in fast movements.
I would like to have your feedback on this change. To make this as scientific as possible, use your usual electrode config, pick one of your usual cock hero's, increase modulation frequency by 10 or 20 from your usual, set random to 40%. Do you notice anything different? If you don't notice anything different, that's valuable feedback too.
This release contains one new feature, randomized modulation interval:

Some background on this feature, recently I have been reading some scientific literature to better understand how different signals effect the nerves. One improvement suggested in literature is to randomize the pulse interval. We *think* this *may* improve:
- Less modulation buzz, feels slightly more natural in long sessions.
- Slows down numbing.
- Reduces pain when suddenly increasing the volume or in fast movements.
I would like to have your feedback on this change. To make this as scientific as possible, use your usual electrode config, pick one of your usual cock hero's, increase modulation frequency by 10 or 20 from your usual, set random to 40%. Do you notice anything different? If you don't notice anything different, that's valuable feedback too.
Re: Restim: e-stim audio generation software
In the previous version, v1.10.0 released last week, I introduced a bug that causes waveforms to become increasingly choppy if you leave Restim running for several days. I ran tests with this and I didn't notice any difference in sensation, but just to be on the safe side don't use v1.10.0.
v1.10.1 fixes this issue. https://github.com/diglet48/restim/releases
v1.10.1 fixes this issue. https://github.com/diglet48/restim/releases
Re: Restim: e-stim audio generation software
Took me a few tries to get everything connected, but once i did manage to get everything sorted out, calibrated with the instructions by the quickstart quide on github and connected with faptap. Oh boy does it work well. I sure know what I will be doing tonight!
Works really really well! Thank you for vreating an AWESOME piece of software!
Works really really well! Thank you for vreating an AWESOME piece of software!
Re: Restim: e-stim audio generation software
Version v1.11 is out: https://github.com/diglet48/restim/releases
This version adds pulse-based generation, it should feel the same as the old algorithm but there are minor improvements in safety, as well as making the user interface simpler.

I also added device selection. When selecting the mk312/2B profile it uses the old continuous algorithm and the frequency can be reduced down to 10hz. Supposedly a frequency around 100hz works best on the 312, however I do not have one of these boxes to test. These low frequencies should not be used on stereostim devices for obvious reasons.

Happy stimming.
This version adds pulse-based generation, it should feel the same as the old algorithm but there are minor improvements in safety, as well as making the user interface simpler.

I also added device selection. When selecting the mk312/2B profile it uses the old continuous algorithm and the frequency can be reduced down to 10hz. Supposedly a frequency around 100hz works best on the 312, however I do not have one of these boxes to test. These low frequencies should not be used on stereostim devices for obvious reasons.

Happy stimming.


