Restim: e-stim audio generation software
Moderator: andyp
Re: Restim: e-stim audio generation software
@Electro Thanks for the feedback.
Restim can't do everything yet, but my vision is that you will be able to reproduce those segments in Restim with funscripts. For example, the Good Boy segment can be reproduced with the vibration tab or a high resolution volume funscript. It is not as flexible as supercollider, but it can get the job done. Please tell me if you need additional scripting axis, to keep it simple I only implemented a few in this release.
I already published alpha/beta files for MistressAndBox, they are very accurate. I might work on publishing the volume files as well. I didn't publish them earlier because MFP can't handle them and actually the volume axis is very difficult to calculate.
Like Edger477 says, it'd be useful to figure out what the 'spicy' segments actually do so we can reproduce them in Restim, either by implementing them with existing functionality or by adding new features.
I think calibration will become very difficult when combining signals from multiple sources. The idea that a stimfile only works well with one particular electrode setup sounds very unsatisfying to me.
@Edger477
The easiest approach is to call audio_start() right after audio_stop() in funscript_mapping_changed() in mainwindow.py. You will get a small gap in the audio every time you do this.
Python is an interpreted language (technically it compiles to a light bytecode).
Restim can't do everything yet, but my vision is that you will be able to reproduce those segments in Restim with funscripts. For example, the Good Boy segment can be reproduced with the vibration tab or a high resolution volume funscript. It is not as flexible as supercollider, but it can get the job done. Please tell me if you need additional scripting axis, to keep it simple I only implemented a few in this release.
I already published alpha/beta files for MistressAndBox, they are very accurate. I might work on publishing the volume files as well. I didn't publish them earlier because MFP can't handle them and actually the volume axis is very difficult to calculate.
Like Edger477 says, it'd be useful to figure out what the 'spicy' segments actually do so we can reproduce them in Restim, either by implementing them with existing functionality or by adding new features.
I think calibration will become very difficult when combining signals from multiple sources. The idea that a stimfile only works well with one particular electrode setup sounds very unsatisfying to me.
@Edger477
The easiest approach is to call audio_start() right after audio_stop() in funscript_mapping_changed() in mainwindow.py. You will get a small gap in the audio every time you do this.
Python is an interpreted language (technically it compiles to a light bytecode).
- edger477
- Explorer At Heart
- Posts: 691
- Joined: Mon Nov 29, 2021 8:24 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
- Location: Europe
Re: Restim: e-stim audio generation software
Many thanks... I expected small gap, of course it will be there :), I usually test stuff at lower volume, but I skim through files with reverb controller and mouse (for master volume control on wheel), and without automatic start after every trigger+right (next item) I would need a keyboard (with some simple shortcut?) and another pair of eyes outside of vr to press it...diglet wrote: ↑Fri Feb 09, 2024 11:40 am @Edger477
The easiest approach is to call audio_start() right after audio_stop() in funscript_mapping_changed() in mainwindow.py. You will get a small gap in the audio every time you do this.
Python is an interpreted language (technically it compiles to a light bytecode).
my estim creations: https://mega.nz/folder/73pxmBBQ#X6ylDzRafzTt9wanZ0dacw
-
- Explorer
- Posts: 89
- Joined: Tue Jan 28, 2020 4:37 pm
Re: Restim: e-stim audio generation software
Wow, I didn’t expect this « standalone » version to come out so quickly !
I immediately downloaded it to my MacBook Air (M1).
Well, everything works perfectly
I just had to switch the language from french to english in VLC (in fact I struggled for a while before trying this ) for Restim to communicate correctly with VLC (it was stuck at the message « Connected, no file loaded »). It’s no problem at all, I’m just mentioning it in case it might help someone else.
Many thanks to you, Diglet, for your fantastic work
Edit : Diglet already fixed it (see below) !
I immediately downloaded it to my MacBook Air (M1).
Well, everything works perfectly
I just had to switch the language from french to english in VLC (in fact I struggled for a while before trying this ) for Restim to communicate correctly with VLC (it was stuck at the message « Connected, no file loaded »). It’s no problem at all, I’m just mentioning it in case it might help someone else.
Many thanks to you, Diglet, for your fantastic work
Edit : Diglet already fixed it (see below) !
Last edited by frenchdude on Sat Feb 10, 2024 8:40 pm, edited 1 time in total.
Re: Restim: e-stim audio generation software
I can confirm VLC only works when the interface language is set to english. I just fixed it, thanks for mentioning that.
Last edited by diglet on Thu Feb 15, 2024 10:31 am, edited 1 time in total.
-
- Explorer
- Posts: 5
- Joined: Tue Jun 20, 2023 3:25 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: Restim: e-stim audio generation software
please add ths commands to wiki for mac users:
Code: Select all
python3 -m pip install -r requirements.txt
python3 restim.py
-
- Explorer
- Posts: 53
- Joined: Sun Feb 27, 2022 5:02 am
Re: Restim: e-stim audio generation software
I cant figure anything out...Lol I can follow instructions but have no clue how to get MPC-HC to work. Can someone helpdiglet wrote: ↑Thu Feb 08, 2024 5:47 pm
- Improved device configuration screen, configurable safety limits.
- Media sync and Funscript support builtin. Supports MPC-HC, VLC and HereSphere. For VLC you need to follow the video instructions here. The others are easy enough to figure out on your own.
- Ability to create audio files (mp3) from the UI.
-
- digitalparkinglot
- Explorer At Heart
- Posts: 397
- Joined: Thu Mar 09, 2017 7:20 pm
Re: Restim: e-stim audio generation software
I was having trouble with MPC-HC as well. Then I clicked this and it magically started working.samsonjude1776 wrote: ↑Sun Feb 11, 2024 12:06 am
I cant figure anything out...Lol I can follow instructions but have no clue how to get MPC-HC to work. Can someone help
Open MPC-HC. Under the 'View' menu go all the way down to 'Options...'. Click on 'Web Interface' and then click to turn on the 'Listen on port:' button. The 13579 should already be correct in Restim.exe. That's all it took for mine to start working.
Good Luck!
-dpl
Please enjoy my other creations:
- Spoiler: show
-
- Explorer
- Posts: 53
- Joined: Sun Feb 27, 2022 5:02 am
Re: Restim: e-stim audio generation software
That worked. Thanks!digitalparkinglot wrote: ↑Sun Feb 11, 2024 1:14 amI was having trouble with MPC-HC as well. Then I clicked this and it magically started working.samsonjude1776 wrote: ↑Sun Feb 11, 2024 12:06 am
I cant figure anything out...Lol I can follow instructions but have no clue how to get MPC-HC to work. Can someone help
- Kelvinator
- Explorer At Heart
- Posts: 147
- 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
I had a nice stim session last night playing Tranquilizer, Mistress Remote Box, and Amyl Zombie with Diglet's latest version of Restim V1.13. I used MultiFunPlayer to link all the various parts together. Everything worked fine, especially the volume and frequency funscript files in Tranquilizer. I also got Restim's new Sync Media feature to work, after following DPL's tip above. Nice job, Diglet! You've really streamlined this. K
Re: Restim: e-stim audio generation software
Tried out the new version tonight! It seems you've fixed the weird glitchiness that would happen with an internal pattern speed greater than 6. But maybe that was only happening on my machine? Something to do with PC hardware? I think it was skipping samples or something - resulted in random spikes.
Gave pulsed mode a shot and was quite delighted to find it enjoyable now! Granted, last time I tried it was toward the tail end of a session (probably already desensitized), and I didn't really experiment much with trode placement or calibration. At that point it felt too sharp, like only the peaks of the signal were getting through.
Some small bits of feedback:
Gave pulsed mode a shot and was quite delighted to find it enjoyable now! Granted, last time I tried it was toward the tail end of a session (probably already desensitized), and I didn't really experiment much with trode placement or calibration. At that point it felt too sharp, like only the peaks of the signal were getting through.
Some small bits of feedback:
- It would be nice if, when seeking around in a video, the movements of signals were a bit more buffered. I know MultiFunPlayer does this by default, and I've always preferred that behavior to, say, ScriptPlayer + MPC-HC. When you seek and land on a radically different point in the circle, it'll gradually ramp over there, rather than jump all at once.
- Similar to above, when hitting "mirror" in the Adjust Limits section, maybe the dot could reverse direction from its current point rather than jumping across the circle.
- MPV support would be great, I really love the A-B loop feature you get there.
Re: Restim: e-stim audio generation software
@diglet and @Kelvinator: I have tried most of your suggestions. I discovered that I had a faulty adapter on one of my cables that was going in and out. I thought that was the problem, but after I replaced it, I still have the same issue with sensation. I tried out Kelvinator's single channel test files, and they performed as expected. But for some reason, I can't get Restim configured properly.Kelvinator wrote: ↑Tue Feb 06, 2024 3:58 am For Lorada, Here are some suggestions:
1. Check your DIY stim box signals in a non-Restim mode using these 30 second test files: 30 Sec Stereo Ch 1 Only Track.mp3, 30 Sec Stereo Ch 2 Only Track.mp3, and 30 Sec Stereo Track.mp3 found in:
https://mega.nz/folder/5KdCCD7K#1U1ByzDV1cOTrYufR5GCuw
You should hear / feel signals on channel 1 only, channel 2 only, and on both channels respectively. FYI - Puste's CHPlayerV3 is great for playing cock hero videos and stim files:
viewtopic.php?p=291045#p291045
2. If your DIY stim box is outputting signals on both channels and you can hear / feel them comfortably, then:
3. Open Restim and use Tools > Funscript Conversion (1D > 2D) to create alpha and beta funscript files.
4. Here are some Restim settings that work on my DIY TroniC MidiStim box:
a. Tools > Device Selection > StereoStim, Three phase
b. Tools > Preferences > Threephase (make sure L0 and L1 limits are -1.0 to 1.0, and that the Remote Control boxes are checked.
c. Three Phase Tab> Calibration > Neutral Power, try -8 setting. Get your electrodes hooked up, Set the Pattern Generator to Mouse or Circle and Start Audio. Note: I have to increase the sound card volume on the computer to 50% or higher in order to feel the signal. Adjust the volume on your stim box so that you feel the stim signals at a comfortable level.
d. Adjust the Neutral, Right, and Center Power levels until you get the signal strengths you want / enjoy.
I hope this helps you troubleshoot, identify any problems, and tune your system to your individual Restim setups and preferences. Any advice or tips from other users would be appreciated. Good Luck! K
I did notice, after further testing, that I had not been describing the sensation as accurately as I thought. While using the circle pattern for configuration, with all the power levels at zero, I detect sensation beginning when the marker is at the R+ symbol on the circular diagram. The sensation increases as the marker travels along the circle, peaking at the Neutral symbol, then decreasing on the way down to the L+ symbol. There is no sensation at all between the L+ and R+ symbols.
When I decrease the Neutral power, eventually all sensation fades, so I increase the volume to compensate. Only now the sensation begins after the R+ symbol, peaks again at the Neutral symbol, and fades out again before the L+ symbol. When I repeat these steps (decrease Neutral power, increase volume), the window of sensation continues to shrink.
This is the opposite behavior that I have been expecting. Have I somehow reversed my electrodes?
Re: Restim: e-stim audio generation software
Indeed it is the opposite of what is supposed to happen. What you describe is exactly what I feel with all zero calibration settings, reducing the neutral setting should gradually equalize the sensations at top and bottom position.
I think you can only get this behavior if your computer outputs a mono signal or the left/right channel are shorted together in your box somehow. But if that were the case, you would easily spot it with the test Kelvinator mentioned. You might want to test, with a dual-channel setup, whether Restim actually outputs a higher voltage on the left channel when position is left in the diagram. But I suspect you already tested this. I have no further Idea's.
I think you can only get this behavior if your computer outputs a mono signal or the left/right channel are shorted together in your box somehow. But if that were the case, you would easily spot it with the test Kelvinator mentioned. You might want to test, with a dual-channel setup, whether Restim actually outputs a higher voltage on the left channel when position is left in the diagram. But I suspect you already tested this. I have no further Idea's.
-
- Curious Newbie
- Posts: 1
- Joined: Wed Feb 14, 2024 10:09 pm
- Gender: Male
- Sexual Orientation: Straight
Re: Restim: e-stim audio generation software
Hey :) I'm quite new to all of this, but I'm making my way trough (a lot of reading and trial and error...). Maybe someone can comment on this ability to create audio files from the UI (Bake Audio). I think I read somewhere (maybe on eroscript?) that this feature is basically the same as funstim (on a technical/coding level). Because I'm still trying to get used to restim (wiki), it might render results more quickly if I start using funstim first (generate mp3 and synch video/audio manually) before diving deeper :D Thanksdiglet wrote: ↑Thu Feb 08, 2024 5:47 pm New release: V1.13
https://github.com/diglet48/restim/releases
- Improved device configuration screen, configurable safety limits.
- Media sync and Funscript support builtin. Supports MPC-HC, VLC and HereSphere. For VLC you need to follow the video instructions here. The others are easy enough to figure out on your own.
- Ability to create audio files (mp3) from the UI.
- Fix carrier frequency adjustments over T-code not working for pulse-based generator.
- Fix syncing issue with HereSphere.
If you have a media player connected, stim audio will play only when the video is playing, not paused.
Remaining issues: there is no way to offset the funscripts to compensate for latency. The patterns don't work when a funscript is loaded. Wiki needs updates.
Re: Restim: e-stim audio generation software
The bake audio feature is for those that can't use Restim to generate audio in real-time, for example those using a tablet to play, or those creating audio files for other releases.Ella_94 wrote: ↑Thu Feb 15, 2024 12:26 amHey :) I'm quite new to all of this, but I'm making my way trough (a lot of reading and trial and error...). Maybe someone can comment on this ability to create audio files from the UI (Bake Audio). I think I read somewhere (maybe on eroscript?) that this feature is basically the same as funstim (on a technical/coding level). Because I'm still trying to get used to restim (wiki), it might render results more quickly if I start using funstim first (generate mp3 and synch video/audio manually) before diving deeper :D Thanksdiglet wrote: ↑Thu Feb 08, 2024 5:47 pm New release: V1.13
https://github.com/diglet48/restim/releases
- Improved device configuration screen, configurable safety limits.
- Media sync and Funscript support builtin. Supports MPC-HC, VLC and HereSphere. For VLC you need to follow the video instructions here. The others are easy enough to figure out on your own.
- Ability to create audio files (mp3) from the UI.
- Fix carrier frequency adjustments over T-code not working for pulse-based generator.
- Fix syncing issue with HereSphere.
If you have a media player connected, stim audio will play only when the video is playing, not paused.
Remaining issues: there is no way to offset the funscripts to compensate for latency. The patterns don't work when a funscript is loaded. Wiki needs updates.
If you can, it's much more convenient to generate the audio as the video plays. This makes it very easy to modify the settings and experiment with different signals, to find out what you like. I don't want people to miss out on this, which is why I hesitated implementing this...
Good feedback, added to main page.showfilm wrote: ↑Sat Feb 10, 2024 7:18 pmplease add ths commands to wiki for mac users:Code: Select all
python3 -m pip install -r requirements.txt python3 restim.py
Thanks for the feedback. I've never noticed the glitchyness with high pattern speeds, but I'm glad it's fixed.icehash23 wrote: ↑Mon Feb 12, 2024 9:31 am Tried out the new version tonight! It seems you've fixed the weird glitchiness that would happen with an internal pattern speed greater than 6. But maybe that was only happening on my machine? Something to do with PC hardware? I think it was skipping samples or something - resulted in random spikes.
Gave pulsed mode a shot and was quite delighted to find it enjoyable now! Granted, last time I tried it was toward the tail end of a session (probably already desensitized), and I didn't really experiment much with trode placement or calibration. At that point it felt too sharp, like only the peaks of the signal were getting through.
Some small bits of feedback:I think there were some other things, but I'm kinda out of it at this point and just glad I was able to post this at all
- It would be nice if, when seeking around in a video, the movements of signals were a bit more buffered. I know MultiFunPlayer does this by default, and I've always preferred that behavior to, say, ScriptPlayer + MPC-HC. When you seek and land on a radically different point in the circle, it'll gradually ramp over there, rather than jump all at once.
- Similar to above, when hitting "mirror" in the Adjust Limits section, maybe the dot could reverse direction from its current point rather than jumping across the circle.
- MPV support would be great, I really love the A-B loop feature you get there.
With the current code it is quite difficult to implement a slow start feature. I may look into implementing this in a different way by reducing the volume temporarily after a seek action or when audio first starts.
I will look into MPV at some point, probably not soon.
Who is online
Users browsing this forum: DildoBaggins, Speedofsound123 and 89 guests