Page 12 of 25
Re: Restim: e-stim audio generation software
Posted: Fri Jul 19, 2024 8:36 pm
by froog
Hi diglet. I've been successfully using restim on a Mac (v1.16), I tried building v1.18 recently and got this "division by zero" error when I ran it (in spoiler)
- Spoiler: show
Code: Select all
Exception occurred
Traceback (most recent call last):
File "/Users/froog/dev/restim-1.18/restim.py", line 4, in <module>
sys.exit(mainwindow.run())
^^^^^^^^^^^^^^^^
File "/Users/froog/dev/restim-1.18/qt_ui/mainwindow.py", line 460, in run
win = Window()
^^^^^^^^
File "/Users/froog/dev/restim-1.18/qt_ui/mainwindow.py", line 52, in __init__
self.setupUi(self)
File "/Users/froog/dev/restim-1.18/qt_ui/main_window_ui.py", line 43, in setupUi
self.graphicsView = PhaseWidgetAlphaBeta(self.frame)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/froog/dev/restim-1.18/qt_ui/widgets/phase_widget.py", line 134, in __init__
super(PhaseWidgetAlphaBeta, self).__init__(parent)
File "/Users/froog/dev/restim-1.18/qt_ui/widgets/phase_widget.py", line 95, in __init__
super(PhaseWidgetWithPoint, self).__init__(parent)
File "/Users/froog/dev/restim-1.18/qt_ui/widgets/phase_widget.py", line 62, in __init__
self.refreshSettings()
File "/Users/froog/dev/restim-1.18/qt_ui/widgets/phase_widget.py", line 111, in refreshSettings
self.timer.setInterval(int(1000 // settings.display_latency.get()))
~~~~~^^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: float floor division by zero
Hope this feedback is useful - ( I'm fine running 1.16 for now - that works just great, and builds without problems on the same machine)
Re: Restim: e-stim audio generation software
Posted: Fri Jul 19, 2024 8:50 pm
by diglet
Thanks, I fixed it.
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 12:18 pm
by darthjj
Just tried the Liya remix with multiple tracks and it's pretty awesome. Restim crashes when I try to open a zip with funscripts on Linux, some kind of utf-8 error? I'll see if I can fix it later..
Anyhow, with a funscript controlling volume it would be nice if the volume could also easily be calibrated. E.g. 30% (which the script uses during breaks) feels nothing at all, so it would nice if I could remap the range.
And one more feature request: The ability to generate a pre-configured pain signal on one channel for bdsm creations. E.g. you could set something like 700Hz at 100% volume in 1 second on, 2 second off bursts, and have it activated by one of the funscripts. Perhaps it would be technically impossible to do it at the same time as the normal stroking continues, so that might have to pause during the pain segments.
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 12:22 pm
by edger477
30% was intended to feel like nothing, but still even when you don't feel it, it does not desentizise you so much to have too big of a jump when it starts again.
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 1:10 pm
by diglet
darthjj wrote: Sun Jul 21, 2024 12:18 pm
Can you show me the stack trace? If it only occurs with the zip, you can extract the zip and delete or rename the zip to make sure it loads the local funscripts.
The volume range can be remapped in settings, the default is 0-1.
You can already generate pain sections with the appropriate funscripts. The misstress and remote control box "obey" signals come to mind. It's just a matter of increasing the volume a bit, combined with the pulse frequency/pulse width that best matches your idea of pain.
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 1:27 pm
by darthjj
diglet wrote: Sun Jul 21, 2024 1:10 pm
Can you show me the stack trace? If it only occurs with the zip, you can extract the zip and delete or rename the zip to make sure it loads the local funscripts.
The volume range can be remapped in settings, the default is 0-1.
You can already generate pain sections with the appropriate funscripts. The misstress and remote control box "obey" signals come to mind. It's just a matter of increasing the volume a bit, combined with the pulse frequency/pulse width that best matches your idea of pain.
Code: Select all
Exception occurred
Traceback (most recent call last):
File "/home/djj/Temp/restim/qt_ui/media_settings_widget.py", line 103, in open_add_funscripts_dialog
item = FunscriptTreeItem(Resource(pathlib.Path(filename)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/djj/Temp/restim/qt_ui/models/script_mapping.py", line 56, in __init__
self.script = Funscript.from_file(resource.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/djj/Temp/restim/funscript/funscript.py", line 51, in from_file
js = json.load(f)
^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 12: invalid continuation byte
Btw. this happens when I click "add funscript" and select the zip file, I'm not sure if that's the intended way, but it didn't autodetect the zip. I unpacked the zip and everything worked as intended.
Ah, I found the volume scale now, great!
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 3:05 pm
by diglet
I never thought about selecting a zip file using the "add funscript" button. I need to think about what should happen if you do that... It certainly doesn't work now.
It should detect the zip automatically if it's in the same folder as the file and has the same name.
Re: Restim: e-stim audio generation software
Posted: Sun Jul 21, 2024 10:09 pm
by froog
I would love it if you could manually select a zip file, this would mean I could have two different zipfiles for the same video, and choose between them.
Or not have the need for them to have the same name.
Happy for a default to be detect the zip with the same name, as currently.
(And thanks for fixing that error in v1.18 so quick. It works.for me now)
Re: Restim: e-stim audio generation software
Posted: Fri Jul 26, 2024 2:21 pm
by 47dahc
Been using restim since it's first release and love it. Just recently started using the media sync with VLC and the scripts loading automatically without the need for MFP. A lot simpler and less programs running to bog my old system down. What I have noticed is that some scripts sync fairly well and others are just a tad off. Is there a way to adjust delay to get the stim sync'd better without completely editing and redoing the script timestamps? If not, can it be added as a feature in a future release?
Re: Restim: e-stim audio generation software
Posted: Fri Jul 26, 2024 2:41 pm
by diglet
47dahc wrote: Fri Jul 26, 2024 2:21 pm
Been using restim since it's first release and love it. Just recently started using the media sync with VLC and the scripts loading automatically without the need for MFP. A lot simpler and less programs running to bog my old system down. What I have noticed is that some scripts sync fairly well and others are just a tad off. Is there a way to adjust delay to get the stim sync'd better without completely editing and redoing the script timestamps? If not, can it be added as a feature in a future release?
There is not. This feature has been on the todo-list for a long time, but I'm too distracted with research other projects. I'll implement it eventually.
Re: Restim: e-stim audio generation software
Posted: Sat Aug 17, 2024 10:22 am
by ZeeWWW
Hi - can anyone help me out? I've been using restim for a while and have played around with it getting some great results. My thing is RedLightGreenLight funscripts and I had retim set up so I had 100% volume during stroking activity and down to a low % such as 10% when there was no stroking activity. I'm using multifunplayer.
In restim I know have 50% volume when there is stroking activity and also 50% when there is no activity. I'm not sure what settings I've messed up. Previously I had 100% during stroking and 10% during the red light.
I have inactivity threshold set to 0.50
Ramp time 0.00
Reduce volume by [%] to 90%
Is my settings in restim that I've messed up or have I done something inadvertently in multifunplayer? Any ideas?
Thanks.
Re: Restim: e-stim audio generation software
Posted: Sat Aug 17, 2024 11:04 am
by diglet
Cool setup.
It still seems to work on my end.
Maybe you have a pattern selected in MFP, and that prevents Restim from entering idle?
It can also be an issue with the script, some scripts have a very slow ramp between the sections. You can check this in openfunscripter.
Re: Restim: e-stim audio generation software
Posted: Sat Aug 17, 2024 6:48 pm
by Electro
ZeeWWW wrote: Sat Aug 17, 2024 10:22 am
Hi - can anyone help me out? I've been using restim for a while and have played around with it getting some great results. My thing is RedLightGreenLight funscripts and I had retim set up so I had 100% volume during stroking activity and down to a low % such as 10% when there was no stroking activity. I'm using multifunplayer.
In restim I know have 50% volume when there is stroking activity and also 50% when there is no activity. I'm not sure what settings I've messed up. Previously I had 100% during stroking and 10% during the red light.
I have inactivity threshold set to 0.50
Ramp time 0.00
Reduce volume by [%] to 90%
Is my settings in restim that I've messed up or have I done something inadvertently in multifunplayer? Any ideas?
Thanks.
The problem comes when a funscript has the start and end of the pause at different positions. Basically what happens is there could be a 1 minute pause but if the position is at 0 at the start of the pause and 100 at the end of the red light pause, you aren't getting the inactivity trigger, instead you are getting a 1 minute crawl. The fix is to go into the funscript at the position where it is supposed to be stopped and add another position, say 100ms after the movement at the start of the red light that matches the end of the 'red light'. That way multifunplayer isn't sending a constant slow incremental update that Restim is then producing...because MFP is saying to do it and is following directions.
..alternatively you could lose the first or end movement at the start or end of the red light too, just change so the positions match. When editing the text file, everything is in milliseconds so some math is needed. 17:23 you need to take 17*60=1020+23=1043 so you'll be looking for something around 1043000 as the position and the one on the other end will have a large difference in time position.
Re: Restim: e-stim audio generation software
Posted: Sun Aug 18, 2024 12:00 am
by thebears73
just updated to 1.18 and getting some graphics issues on the set up?
Re: Restim: e-stim audio generation software
Posted: Sun Aug 18, 2024 9:45 am
by edger477
I guess try setting font size in windows to 100% until fix.