Sign In:     


Forum: VirtualDJ Technical Support

Topic: I Found a Sampler bug & diagnosed what the issue was and I fixed my issue that I had
I don't know what caused the problem to start happening because I had the same sampler bank set up since 2023. It could have been a Windows 10 update or a Virtual DJ update but, I just recently started to notice it.

Instead of telling you my trouble shooting methods, I will just tell you what my conclusion was. The thing that caused an issue was a High Resolution photo. The image was 7200 x 5400 png file that I converted to VDJSAMPLE file that was 5,763 kb which was the same size as the PNG image. It's weird that I've had this same sample in my Virtual DJ for 3 1/2 years and it never gave me this issue. I will say it is a huge file. I reduce the resoultion down to a normal image file size 3600 x 2700 and the file size is 1,913 kb and now I can switch to the sampler tab and be on that bank with no music stopping issue or hesitation with loading each sampler bank like it was before.

The weird thing is and I thought it was what was going to be causing the issue was that, I used a .mp4 video and created a VDJSAMPLE file that was 17,232 kb and it wasn't what caused the issue.

This is what was happening. If I loaded my Virtual DJ and my sampler tab wasn't already opened on that sample bank...when I switched to it while audio or a video was playing, it was pausing Virtual DJ for a second. After that sampler bank loaded, I could switch back and forth between the tabs and it would pause anymore. It seemed like a buffer issue.

I ran my own troubleshooting.
- I disconnected my controller and tried loading my Virtual DJ and then playing a song and then selecting the sampler tab with my bank already selected and got that 1 second pause.
- I repeated the same test but, disconnect my external mechanical hard drive and the same issue happened.
- I then transferred that sampler bank xml file and the VDJSAMPLE files to my older Desktop PC which doesn't have a controller and same sound pausing issue occured. It wasn't that it was just on my ASUS Gaming PC.
- I made a copy of the xml file and and ran the same tests and had the same Virtual DJ pausing issue.
- I did process of illumination from that point on. I started with removing the Video sample because it was the largest. I removed it from my xml file. That wasn't problem. I finally found that Hi-Res PNG image and after removing it from my .xml file used for that Sampler Bank and I realize it was that image that was causing it. Once I removed it from my XML file or did removed it from the bank manually through the Virtual DJ Sample Bank area, I stopped having pausing issues on both computers.

To me, I understand why loading a large image like that could cause Virtual DJ to pause like that but, what I don't understand is why this buffer issue just started to happen with my Virtual DJ after having that same Sampler Bank there for a while and I use that same bank for Logos on the video screens at the clubs I play at. Possibly all of the recent sampler updates caused the issue to start happening.

The issue is there now for using image with too large of a resolution. Maybe Virtual DJ can come up with a size converter for PNG or image files to help prevent this issue from happening.

I am going to run further tests with images that are high resolution like 7200 x 5400 and smaller resolutions and see if they too cause the same issue. I will try other sizes too. There probably could be a recommend max size for images added somewhere in the instuction manual. Using a PNG at 3600 x 2700 worked but, it's still a very large image file and I could probably make it smaller without degrading the image too much.



 

Posted Fri 24 Jan 25 @ 3:31 pm
I too have noticed pauses when loading sample banks since the 2025 change to the sampler.

Sometimes now when I'm quickly switching through banks, it seems there's a bank missing, but actually it's just not loading as fast as they did previously.

As for the image size, what's the resolution of the screen you're (presumably) outputting to? Ideally everything should be set to that res. I stream at 720p so all the graphics I use for that are changed to 720p.
 

In the early access changlelog for the next update, it mentions that the newer version of Virtual DJ will Improve loading speed of sample banks with many or large images. Hopefully that happens. I was too scared open my sampler at my last show for fear the music would momentarily pause. I will be happy if that gets fixed.

https://es.virtualdj.com/products/virtualdj/changelog.html?view=advanced

BUILD 8516 (2025-01-31)

-Improve loading speed of sample banks with many or large images
-delete_cue script also supports indexed types like ‘delete_cue 1 marker’
-Update beatport/beatsource plugin
-fix date_added and date_created swapped for rekordbox export
-Support for Rekorbox Library Plus with CDJ Export