Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - c0dybrown

Pages: 1
1
Hello,

Just saw this topic. I have been experiencing this exact behavior, just wanted to add the thread I started under Questions for completeness. I have done some research on this, it doesn't seem to be caused by the underlying BASS libraries

https://getmusicbee.com/forum/index.php?topic=23718.0

2
Questions / Re: Random Tempo Changes Between Tracks
« on: January 02, 2018, 04:59:33 AM »
I became a bit obsessed after discovering Un4seen's libraries and tried to reproduce this behavior a few ways using WPF in .NET:



It's probably the .NET wrappers making everything child-proof for me, but I can't reproduce the behavior. I tried reusing a few objects during song transitions, using/not using BassAsioHandler.Stop() and Bass_StreamFree(), and a few other things. I could see this kind of thing happening if I used C++ and reused the stream for efficiency or something similar. You must be working magic to get the sample rate from DSD files.

Really great work on this product, MB is seriously impressive. If you like Windows Forms by the way, I really recommend WPF. I bet you'd like what they've done.

3
Questions / Re: Random Tempo Changes Between Tracks
« on: January 01, 2018, 09:55:51 PM »
Steven, stupid question:

Are you actually setting the device rate and channel rate from the file information or are you using the default one provided in the BASS_CHANNELINFO struct? It seems to work OK for me when I set the two rates using:

Code
BASS_ASIO_ChannelSetRate(0, 0, 88000);
BASS_ASIO_SetRate(88000);
chan=BASS_DSD_StreamCreateFile(FALSE,"file.dsf",0,0,BASS_DSD_DOP|BASS_SAMPLE_FLOAT|BASS_STREAM_DECODE|BASS_SAMPLE_LOOP,0);
... (play file)

BASS_ASIO_ChannelSetRate(0, 0, 41000);
BASS_ASIO_SetRate(41000);
chan=BASS_MusicLoad(FALSE, "file.wav", 0, 0, BASS_SAMPLE_LOOP | BASS_STREAM_DECODE | BASS_SAMPLE_FLOAT | BASS_MUSIC_RAMPS | BASS_MUSIC_PRESCAN, 0)
...

4
Questions / Re: Random Tempo Changes Between Tracks
« on: January 01, 2018, 08:08:33 PM »
as an experiment could you try this version:
http://musicbee.niblseed.com/V3_2/MusicBee32_Patched.zip

you need to unzip and then replace the existing musicbee application files

Thanks for your help on this. Just tried that one, same thing occurs unfortunately.

I am trying to write a program that uses BASS_ASIO to see if it's just an interaction between their libraries and Schiit's ASIO driver somehow.

I noticed that you can use BASS_ASIO_SetRate() and BASS_ASIO_GetRate() after pulling the relevant property from the file.

I will try adding a call BASS_ASIO_GetRate() and have it log to the error log every time a song is played. If the number is correct, then there is likely an issue with its interaction with the driver and I will make a post on their site.

Does MB have a more verbose debug log? ActivityLog.dat appears to be binary, not sure what that is

5
Questions / Re: Random Tempo Changes Between Tracks
« on: January 01, 2018, 06:01:26 PM »
Yes, I noticed this happens with the visualizer as well a while ago. I tried updating all of the BASS libraries directly from their website (un4seen.com) and it does not change. I am pretty sure it has something to do with the sample rate. I am going to run this program in IDA to see if I can figure out what's going on.

Repro steps:

Add audio files with vastly different sample rates to MB library.
Use ASIO driver output
Play last song in high sample rate album, allow MB to move to the lower sample rate song
Appears to continue sampling the lower sample rate song as quickly as it was sampling the previous song

This could be the ASIO driver or how BASS uses the ASIO driver.


Example of change in sample rate that causes this issue:


Thanks

6
Questions / Random Tempo Changes Between Tracks
« on: December 31, 2017, 12:24:50 AM »
Hello,

I have a strange music library that has all types of lossless files with varying sample rates (44.1kHz - 192kHz), and varying bitrates (320k - 16937k 5.1 DSD). I use an ASIO driver for my Schiit Modi DAC set to 10ms/24bit/convert DSD to PCM. I am not sure if any of this is even relevant. I run MusicBee with high priority on my CPU and load the entire music file into memory.

An issue I experience is that randomly the tempo of the songs will change when switching between albums. Sometimes this will speed up the song drastically (the playback timer will run very fast), other times it will slow it down. Restarting MusicBee fixes this problem. The original album playing sounds normal, but any song from the album it switched to when shuffling will play very fast or very slow until MusicBee is restarted.

I am not sure if this is specific to the sound driver I am using or something else about my setup specifically, but it still occurs after changing a bunch of settings around. This does not occur in Foobar, but Foobar misses a lot of nice features and settings so I cannot replicate MB settings exactly.

I have tried MB 3.1 and MB 3.2.6567

If anyone can see that I am missing something obvious or has experienced this before, would really appreciate any advice! I tried searching the forums, but could not find anything similar. Thanks!

Pages: 1