Page 1 of 5
CHPlayer V3
Posted: Wed Nov 25, 2020 11:04 pm
by puste
New version of Version3 of CHPlayer. Try it out.
It has been redesign. And it now uses Embedded Microsoft Media Player and
CSCore An advanced audio library, written in C# Library to stream Audio to a second Audio Device.
This is the first version and there can be some bug.
https://github.com/puste1/CHPlayer
Re: CHPlayer V3
Posted: Thu Nov 26, 2020 4:03 pm
by puste
Uploaded Bug Fix V3.0.1.

Re: CHPlayer V3
Posted: Mon Nov 30, 2020 10:14 pm
by puste
Total bug fix. First 2 version of CHPlayer v3 only played files in mono.
This has now been fixed in Version CHPlayer V3.0.2

Re: CHPlayer V3
Posted: Tue Dec 15, 2020 6:27 pm
by puste
puste wrote: Mon Nov 30, 2020 10:14 pm
Total bug fix. First 2 version of CHPlayer v3 only played files in mono.
This has now been fixed in Version CHPlayer V3.0.2
Added Version V3.0.3.
Minor Bug: Added check for Audio file exist.

Re: CHPlayer V3
Posted: Mon Dec 21, 2020 5:02 pm
by redgreencolor
Thank you very much @puste. This version 3 is much better than version 2

Re: CHPlayer V3
Posted: Tue Dec 22, 2020 10:02 pm
by book_guy
Thanks very much for making this. Can I get a primer on how to use it? I'm not particularly computer-INcompetent, but I'm not exactly a programmer either. A one-two-three set of steps would be great, thanks if you can!
Re: CHPlayer V3
Posted: Wed Dec 23, 2020 1:49 am
by puste
Thanks for a little feedback. Then I know it was all worth it to develop this program.
Here comes a quick guide.
1) First you need an extra sound card. I would recommend a simple USB sound card.
I actually do not think that e-stim requires any very expensive sound card.
I use a small USB adapter sound card my self.
It is also shown in the PDF file which can be downloaded from github.
Remember that this second sound card is what you have to connect to you E-stim device.
2) install the program like all other windows programs.
You have to unzip file before you can install the program.
There is 2 files setup.exe and Setup_CHPlayerV3.msi. Press/execute setup.exe.
(You can check MD5 on both files before install just to be sure no change is made)
3) Once the program is installed, just start it.
In Windows 10, the program is always displayed in the start menu
under recently added at the top of the start menu.
4) Before you load any files you have to select the 2. sound card you have installed
This is shown under Audio Device at the top windows.
When you have loaded files this is gray out. If you have to change audio device you have to close the program
and start it again.
5) After starting the program and selected Audio Device, now select a Video file to play. Ex. MP4 Video file.
This is selected either with the first button at the top left.
It says "Select Video" when the mouse is held over the button.
You can also select the same in File - Open Video
Remember that when you select a Video file, it will automatically select the corresponding MP3 file in the same folder.
it is this selected MP3 Audio file that is then played via sound card number 2.
6) Or you can select another MP3 file with second bottom.
It says "Select Audio" when the mouse is held over the button.
7) Thats it. Now you can start playing the Video like all other video player.
There is a play bottom and stop / pause bottom etc.
At the top left you can se haw long the file you have select is. When you play it show
time on both Video and Audio to se it is in sync.
The last button with arrows in each direction is to activate full sreen
There is more help to be found in the Help Index in the programs help file.
Happy Stim.
Re: CHPlayer V3
Posted: Mon Dec 28, 2020 3:44 pm
by puste
New version V3.0.4 uploaded on GtiHub. CHPlayerV3.0.4.zip.
Added Setup Menu:
Added link for System Audio Settings
Added link for App Volume and Device preferences
Added Master Volume show in menu. Change when select new Audio Device or select new Audio/Video File.
Added this in the Help File.
Happy New Year.

Re: CHPlayer V3
Posted: Tue Dec 29, 2020 9:46 pm
by redgreencolor
Thanks @puste, the program is getting better

Re: CHPlayer V3
Posted: Sat Jan 22, 2022 6:37 am
by eismann12
Today i have tried to run CHPlayer 3.0.4.
I selected my usb soundcard, the video and audio file from my external usb HDD.
Always after pressing the play button it follows the shutdown of the program.
I tried to check the help index, but the program cannot find the file.
Where is the mistake? What am I doing wrong? Can anyone help?
Thanks in advance!
Re: CHPlayer V3
Posted: Sat Jan 22, 2022 2:05 pm
by JBK
Huh, I just tried this and it works great! Up till now, I've been manually synchronizing audio to video
Very nice program!
Re: CHPlayer V3
Posted: Sun Jan 23, 2022 7:31 pm
by puste
JBK wrote: Sat Jan 22, 2022 2:05 pm
Huh, I just tried this and it works great! Up till now, I've been manually synchronizing audio to video
Very nice program!
Thanks. Glad you like it.
Re: CHPlayer V3
Posted: Mon Jan 24, 2022 11:52 am
by ramen
Thank you very much for creating this! Great work, puste.
I've found an issue, just letting you know in case this can be fixed or a workaround exists:
- Spoiler: show
-
- When skipping the video ahead, the estim audio sometimes get muted... and only restarting the app fixes this. I noticed this happens usually with longer/heavier files, and only when skipping into the later parts. Skipping to the early parts of the video seems to work just fine, until the audio gets muted.
- Sometimes the estim audio simply stops and you have to restart the app... if you are in the middle of a long video is a bit annoying since you can't simply skip to where you left.
This happened to me when playing Twisted Tales (link to the thread), around the 10 minute mark. At first I thought it was a problem on my end, but I restarted the video a few times and it happens consistently. However the first time playing this file this didn't happen -- perhaps it's a memory leak?
EDIT--
I also noticed that when you load a video, the matching mp3 is auto-loaded, but not always plays "right". I just did some tests and it seems that sometimes the auto-loaded file sounds like a simple bleep (mono sine wave), but loading manually the mp3 gets you a different, more complex audio... and it'll let you skip the video ahead without problems.
Hope this helps!
Re: CHPlayer V3
Posted: Mon Jan 24, 2022 7:24 pm
by puste
Thanks @ramen for the feedback. I have noticed some odd thing about bigger files.
I can't tell if it is a memory leek off some kind. But I will try to test some more to see if I can come with at solution.
Just remember that if you have more than 1 mp3 files in the same folder. It will allwais load the first in the list.
So if you have another mp3 file with simple bleep (mono sine wave) then this could be the problem.
All my files is placed in different folders for each pair of files (mp4 and mp3).
Hope this help to understand what the program does. I think I will implement some info what files
actly is been loaded so this not confused what has been loaded.
The problem is that if it is a memory leek, then I am sure it must be in the plugin I am using.
I will also see if there are some update on this.
But you are the first that has done a feedback on this. Thanks for that.

Re: CHPlayer V3
Posted: Mon Jan 24, 2022 8:21 pm
by ramen
puste wrote: Mon Jan 24, 2022 7:24 pm
Just remember that if you have more than 1 mp3 files in the same folder. It will allwais load the first in the list.
Ahh so that's it. I was really confused about this for a moment. If that is the case, I don't think it has a memory leak at all!
I believe the problem (rather, MY problem) is that skipping beyond the audio length stops the audio, for example with a video that's longer than the audio.
Good idea, perhaps you could display the filename of the audio and video that's currently loaded, just to make things clear for new users. Or emphasize this in the documentation, I totally missed it.