|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #540 on: 9 Mar '11 - 16:53 » |
Quote
|
Hi  JOBnik,
Is there an option in SoundTouch to reset phase at specific points in the timestretching process? I think one of the key differences between this time stretching algorithm and others out there is that others reset phase on percussive transients. This serves to reduce the amount of echo/flamming you hear when slowing down songs. Is there any way to combine beat detection and the phase vocoder to do this? Have you ever experimented with this? If it was possible and had any sort of effect, it would be great to get this option included in BASS_FX. Here's an answer from Olli: Phase reset is relevant and necessary in pitch/time shift algorithms that use frequency domain processing, but SoundTouch does processing in time domain which does not cause drifting of phase response.
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #541 on: 7 Apr '11 - 18:23 » |
Quote
|
Hi there's now version 2.4.7 is released 2.4.7 - 07/04/2011 ------------------ * BASS_FX: * Delphi unit updated: BASS_BFX_ENV_NODE = record, changed to BASS_BFX_ENV_NODE = packed record
* DSP: * Fixed bug in BASS_FX_BFX_VOLUME_ENV, being applied slightly early when "bFollow" is enabled. * BASS_FX_BFX_DAMP made effect parameter setting a bit more convenient. If fGain < 0 then leave the current value.
* iOS: * Added armv7 architecture support. * Combined the Device armv6/7 architectures and Simulator libraries into a single file.
|
|
|
|
|
Logged
|
|
|
|
|
RickC
Posts: 9
|
 |
« Reply #542 on: 10 May '11 - 13:56 » |
Quote
|
Hi folks  Maybe somebody can help me out, as I've just started working with BASS and the FX recently, and am trying to see if I can incorporate it into my product. An earlier poster mentioned a delay with the tempo change taking effect, and I am experiencing the same issue, a 3-5 second delay. Relevant code looks like this: // Init player. if( !BASS_Init(m_BASSDevice, 44100, 0, m_dlg->m_hWnd, NULL) ) { DispMsg("[Error] Can't initialize BASS library"); } BASS_SetConfig(BASS_CONFIG_BUFFER, 200);
// Create stream channel from memory buffer. m_BASSChannel = BASS_StreamCreateFile(TRUE, m_filebuffer, 0, m_nFileBufferSize, BASS_STREAM_DECODE | BASS_SAMPLE_FLOAT | BASS_STREAM_PRESCAN); m_BASSChannel = BASS_FX_TempoCreate(m_BASSChannel, BASS_FX_FREESOURCE);
// Get original freq value, so we can reset if needed after changes. BASS_ChannelGetAttribute(m_BASSChannel, BASS_ATTRIB_FREQ, &m_BASSOriginalFreq);
In the SetTempo function. // Set the tempo change from slider value. BASS_ChannelSetAttribute(m_BASSChannel, BASS_ATTRIB_TEMPO, (float)nTempo);
Just for reference, this is on a Win 7 64 bit system, Core i5, 4 GB machine. Using VS 2003 with all the latest core components and libs. BASS works fine, and so far everything in FX seems to work fine, other than the tempo change delay. It seems to be some sort of buffering issue, and I've tried changing the buffer size as you can see, but no joy. Any ideas...?
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15259
|
 |
« Reply #543 on: 10 May '11 - 17:04 » |
Quote
|
That code looks fine. To confirm whether the problem is due to something specific to your app or a more general issue, you could try the pre-compiled TEMPO.EXE example in the BASS_FX package and see if you have the same problem with that.
Also, does the format (eg. sample rate) of the file that you are playing make any difference to the delay?
|
|
|
|
|
Logged
|
|
|
|
|
RickC
Posts: 9
|
 |
« Reply #544 on: 10 May '11 - 18:29 » |
Quote
|
Hi Ian, thanx for the shout back  Can't see any diff as far as sample rate, and the TEMPO.EXE works ok. But a thought came to mind... I'm attempting to replace the old XAudio decoders I've used for many years (for various reasons), but I also have modeless windows open in the background, that are using DirectShow for video playback, as well as the XAudio DirectSound interfaces open. I'm wondering if having them all running at the same time, is causing a conflict...? I'm going to try and disable my XAudio decks, since so far I've been wrapping your BASS library with some bools to test it out. I like it so far, and if all goes well, you'll be hearing from me  If you have any other ideas, I'd love to hear them -- as it will take me some time to disengage the old players. What I'd like to do, is have the option to use either decoder in my software, so the end use can make a choice as to the features available. Some like the simple playback, and some want the more advanced features that BASS can provide. Cheers, Rick
|
|
|
|
|
Logged
|
|
|
|
|
RickC
Posts: 9
|
 |
« Reply #545 on: 11 May '11 - 12:25 » |
Quote
|
I figured out the problem Ian, but it brought up another... I don't want to clutter this thread up, so I'll open a new topic 
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #546 on: 1 Jul '11 - 12:35 » |
Quote
|
Hi there's now version 2.4.7.1 is released 2.4.7.1 - 01/07/2011 -------------------- * BASS_FX: * Documentation updated.
* DSP: * Fixed a small issue in BASS_FXGetParameters for BASS_FX_BFX_VOLUME effect, as it would change the lChannel value when the global volume (lChannel=0) is requested.
|
|
|
|
|
Logged
|
|
|
|
|
gcip
Posts: 1
|
 |
« Reply #547 on: 9 Aug '11 - 02:15 » |
Quote
|
Hello (: JOBnik!  May i change tempo in BASS_FX , but not change pitch? As in program http://www.ronimusic.com/slowdown.htmI made the samples: http://dl.dropbox.com/u/37653221/Music/tishina.zipp.s. Sorry for my bad english =( p.p.s. Вы русский язык понимаете? Встретил на вашем сайте Российский флаг =) А то на англ. сложно выразить мысли, особенно, когда его не знаешь =) Я так понял, что модуль BASS_FX основан на библиотеке soundtouch. У них есть консольная утилитка, которая показывает возможности их библиотеки. ВОт эта утилитка, умеет замедлять звуковой файл, не изменяя высоту звуков. Значит ли это, что BASS_FX умеет делать тоже самое, только в реальном времени?
|
|
|
|
« Last Edit: 9 Aug '11 - 06:37 by gcip »
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #548 on: 10 Aug '11 - 12:41 » |
Quote
|
Hi  With BASS_FX you can change Tempo/Pitch/Speed in Real time and in decoding/encoding as well. Please check the Tempo example in BASS_FX package to see the demonstration and the code behind the Real time change. All SoundTouch features are implemented in BASS_FX.
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #549 on: 30 Aug '11 - 19:31 » |
Quote
|
Hi  OSX package has been updated with support for x86_64 architecture 
|
|
|
|
|
Logged
|
|
|
|
|
p.abd
Posts: 33
|
 |
« Reply #550 on: 19 Sep '11 - 07:13 » |
Quote
|
Hey, Artur! I just installed the recently released Windows 8 Developer Preview, and spotted that all BASS FX apps crash at their startup, with the exact same error:  Libraries used: BASS 2.4.8.1 & 2.4.7.1, BASS FX 2.4.7.1, and if it helps - I tried only Delphi app demos. Do note that pure BASS apps (such as 'BassTest') do not crash. Guess, there is a some issue with the BASS+BASS FX couple.
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #551 on: 19 Sep '11 - 10:14 » |
Quote
|
Hi  Can you please check if the precompiled C/bin examples run without crash?
|
|
|
|
|
Logged
|
|
|
|
|
p.abd
Posts: 33
|
 |
« Reply #552 on: 19 Sep '11 - 11:42 » |
Quote
|
Hey, what is up! The precompiled sample programs do not operate as well:   I also tried to add tempo.exe to the DEP exclusions (then rebooted indeed), but that did not help.
|
|
|
|
|
Logged
|
|
|
|
|
Art60
Posts: 135
|
 |
« Reply #553 on: 19 Sep '11 - 12:56 » |
Quote
|
Hope this is because W8 is still in Beta 
|
|
|
|
|
Logged
|
|
|
|
|
radio42
Posts: 4012
|
 |
« Reply #554 on: 19 Sep '11 - 13:05 » |
Quote
|
I recently got a user reporting the following error: Error Message: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND)) Error Type: System.Runtime.InteropServices.COMException Error Source: Bass.Net.Boolean BASS_FXSetParameters(Int32, System.Object)
The code being called when the exception was thrown is basically: _fxVolEnv = Bass.BASS_ChannelSetFX(_sourceStream, BASSFXType.BASS_FX_BFX_VOLUME_ENV, 0); BASS_BFX_VOLUME_ENV volenv = new BASS_BFX_VOLUME_ENV(...); Bass.BASS_FXSetParameters(_fxVolEnv, volenv);
The same code workes on various other machines - just on one machine I get this error. The thing what puzzles me is, that it is a COM error, which idicates, that a cetain COM object could not be found. So I was wondering what COM object BASS_FX is using with a BASS_FX_BFX_VOLUME_ENV ? Any idea?
|
|
|
|
|
Logged
|
|
|
|
|
(: JOBnik! :)
Posts: 984
|
 |
« Reply #555 on: 21 Sep '11 - 08:59 » |
Quote
|
Hi  I just installed Windows 8 Developer Edition and the C/bin examples run without any error...  I recently got a user reporting the following error: Error Message: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND)) Error Type: System.Runtime.InteropServices.COMException Error Source: Bass.Net.Boolean BASS_FXSetParameters(Int32, System.Object)
The code being called when the exception was thrown is basically: _fxVolEnv = Bass.BASS_ChannelSetFX(_sourceStream, BASSFXType.BASS_FX_BFX_VOLUME_ENV, 0); BASS_BFX_VOLUME_ENV volenv = new BASS_BFX_VOLUME_ENV(...); Bass.BASS_FXSetParameters(_fxVolEnv, volenv);
The same code workes on various other machines - just on one machine I get this error. The thing what puzzles me is, that it is a COM error, which idicates, that a cetain COM object could not be found. So I was wondering what COM object BASS_FX is using with a BASS_FX_BFX_VOLUME_ENV ? Any idea? BASS_FX has no use of any COM objects, just plain algorithms of its own 
|
|
|
|
« Last Edit: 21 Sep '11 - 09:06 by (: JOBnik! :) »
|
Logged
|
|
|
|
|
p.abd
Posts: 33
|
 |
« Reply #556 on: 21 Sep '11 - 11:17 » |
Quote
|
Hi  I just installed Windows 8 Developer Edition and the C/bin examples run without any error... Alright, we will keep an eye on it and await for more reports, if any. But could that happen to me because the new Windows did/does not recognize some devices? Obviously there is no way to download drivers from the manufacturer's website, because the new OS is not officially supported. Also, I noticed that you set different locale settings. Have you tried to keep them at defaults, and could this be a problem? Once again: there are no issues with the pure BASS playback, as well with the Windows Media Player.
|
|
|
|
|
Logged
|
|
|
|
|
Ian @ un4seen
Administrator
Posts: 15259
|
 |
« Reply #557 on: 21 Sep '11 - 13:27 » |
Quote
|
To confirm whether the problem is something specific to BASS_FX, do you get it with the pre-compiled examples included with other add-ons, eg. BASSenc or BASSmix? Btw, 0xc00000bb = STATUS_NOT_SUPPORTED, which is described as "The request is not supported". http://msdn.microsoft.com/en-us/library/cc704588.aspx
|
|
|
|
|
Logged
|
|
|
|
|
p.abd
Posts: 33
|
 |
« Reply #558 on: 27 Sep '11 - 20:45 » |
Quote
|
To confirm whether the problem is something specific to BASS_FX, do you get it with the pre-compiled examples included with other add-ons, eg. BASSenc or BASSmix? Hey, Ian! I have tested some examples for BASS, BASSenc, and BASSmix. All of those which have been actually launched — they operate fine on my Win-8 installation! Some screenshots follow: Just BASS  BASS Encoder (BASSenc) BASS Mixer (BASSmix) I've also installed and run a couple of third party audio players. All of them work okay:   (Winamp is of the most recent version, v5.621, release date is July 11, 2011)  (this is Windows Media Player included into the distribution; speed settings work okay as well) Summarizing, so far I have had problems only with the BASS FX apps. I run Windows 8 Developer Preview on real hardware, not on a virtual machine.
|
|
|
|
|
Logged
|
|
|
|
|
Gausi
Posts: 7
|
 |
« Reply #559 on: 28 Sep '11 - 20:40 » |
Quote
|
I have the same issues with the bass_fx.dll  . The precompiled samples don't work, as well as some self compiled binaries (I'm using Delphi 2009). The bass.dll alone works fine, also bass.dll with basscd.dll (tested with precompiled exe). I have the 64bit-version of the Windows8 developer preview (without the developer tools), running on real hardware.
|
|
|
|
|
Logged
|
|
|
|
|