For basic help, see the wiki: https://github.com/diglet48/restim/wiki
Recent changes:
- Single executable
- Select audio device, audio start/stop
- Integrated Funscript converter, in tools menu
Moderator: andyp













Interesting stuff, I Honestly don't even understand it, but that file you are looking at is meant to be played as stereostim dual channel, not in triphase. It seems to me that you are analyzing it as if its triphase no?diglet wrote: Fri Mar 10, 2023 2:59 pm I decided to spend a bit more time reverse engineering exiting stimfiles, because data science is addicting, yo. I'll be looking at ch_eroclip stimfile by BoundSquirrel viewtopic.php?t=22889
The orientation of the diagrams below equals the orientation in the software (neutral = up)
Each circle in this image shows 5 seconds of movement. This gives a nice overview of the script. What's nice to see is that the volume is higher towards the bottom of the circle. I believe this stimfile was generated by copy-pasting small good-feeling segments from other stimfiles. The amount of variety is impressive, especially considering the method of construction.
I found this sequence interesting, the sensation starts low and gradually moves to the head (assuming neutral is head). The graphs show a clear relation between power and alpha, indicating power decreases as the sensation becomes more focused at the head. The volume ramp / tremolo is not as strong as I would expect.
Here is a segment which focuses the sensation towards the bottom (or left and right electrode). The volume is clearly higher than in the previous segments.
Some segments turn into a bit of a mess... audacity gives a closer view of what's going on: this particular segment of the file consists of two separate tracks that were probably never intended to be combined. My algorithm can't make much sense of garbled mess.
Here is one more segment from the end:
This analysis was performed with 500 non-overlapping windows per second, output is not smoothed. Analysis is very fast (1s per 1 hour of audio). It is very feasible to convert these patterns into funscript.
tl;dr: converting audio to funscript and then back into audio with restim works well in most cases.
I always played this one as a dual Channel, I believe that was the creators intention with the file. AFAIK in my limited understanding of electricity in a dual channel config, the channels are isolated from each-other. So the left track is one set of electrodes, and the right track is another set of electrodes. In practice this seems true because I can turn off one channel, and still have the same exact sensation in the active channel. in other words there should not be any current flowing between the channels in dual channel. Again, that my understanding I'm clearly not as learned as you are in the subject.diglet wrote: Fri Mar 10, 2023 4:24 pm I'm analyzing it as three phase, users report the file working fine in that configuration. I tried to analyze many different files and the stimfiles from this author were by far the most complicated looking.
This wiki page might help understanding the diagram. The labels are intended for three-phase, I'm sure the same math works for dual channel, but I still need to work out the right interpretation of the data. In think in a dual channel setup, left/right controls whether the current flows through the left or the right channel, and up/down controls the amount of current flowing between the channels.

I just caught up on this thread.diglet wrote: Fri Mar 10, 2023 2:59 pm I decided to spend a bit more time reverse engineering exiting stimfiles, because data science is addicting, yo. I'll be looking at ch_eroclip stimfile by BoundSquirrel viewtopic.php?t=22889
The orientation of the diagrams below equals the orientation in the software (neutral = up)
Each circle in this image shows 5 seconds of movement. This gives a nice overview of the script. What's nice to see is that the volume is higher towards the bottom of the circle. I believe this stimfile was generated by copy-pasting small good-feeling segments from other stimfiles. The amount of variety is impressive, especially considering the method of construction.
I found this sequence interesting, the sensation starts low and gradually moves to the head (assuming neutral is head). The graphs show a clear relation between power and alpha, indicating power decreases as the sensation becomes more focused at the head. The volume ramp / tremolo is not as strong as I would expect.
Here is a segment which focuses the sensation towards the bottom (or left and right electrode). The volume is clearly higher than in the previous segments.
Some segments turn into a bit of a mess... audacity gives a closer view of what's going on: this particular segment of the file consists of two separate tracks that were probably never intended to be combined. My algorithm can't make much sense of garbled mess.
Here is one more segment from the end:
This analysis was performed with 500 non-overlapping windows per second, output is not smoothed. Analysis is very fast (1s per 1 hour of audio). It is very feasible to convert these patterns into funscript.
tl;dr: converting audio to funscript and then back into audio with restim works well in most cases.

You need to clone one of the tcode devices using the button immediately right of the device dropdown, rename it, and then add/remove axis until the device configuration is as in the image on the wiki. https://github.com/diglet48/restim/wiki/mfp-setupKelvinator wrote: Thu Mar 16, 2023 9:21 pm However, I think I'm missing something. As per diglet's MFP setup section on his restim wiki, I tried (unsuccessfully) to addI need restim as a device in MFP version 1.24. When I click on Settings icon in the top menu bar, and select Device, the only two options I get are Tcode-03 and Tcode-02. The edit icon is grayed out. I would like to add restim, but can't figure out how to do it. I'm stumped. Help, anyone?

That worked, Diglet. Thanks for the help and quick response. I'm going to give this restim / MFP / MPV integrated system a test run tomorrow. I'll let you know how it goes.diglet wrote: Thu Mar 16, 2023 9:48 pm You need to clone one of the tcode devices using the button immediately right of the device dropdown, rename it, and then add/remove axis until the device configuration is as in the image on the wiki. https://github.com/diglet48/restim/wiki/mfp-setup


