Zebra2 Latest Version: 2.1 - Jan 19 2007

Official support for: u-he.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Okay, I was a bit quick with my last post.

The beta team and I had two depressing days homing in on an obscure bug that would randomly put an instance or all instances into silence, or sometimes even freeze a system.

Today we came encouragingly close to the cause, meaning that we found the sympthom for the silence. It's a bunch of samples that have been divided by zero. Ugh - You will all remember from back in school that you can't divide anything by zero, and so can't even the fastest processors... so now I'm starting to zoom in to the cause by further testing and hours of staring at puzzeling code.

Can't wait to kick that bug to hell!

Later,

;) Urs

Post

Rookie mistake! :P :hihi:
Image

Post

beej wrote:Rookie mistake! :P :hihi:
Most likely, yes :cry: :cry: :cry:

(maybe I should have studied computer science then maybe I could find a better excuse...)

;) Urs

Post

Damn... that bug is nasty.

I couldn't stare at code anymore, so I did something for Win users: I bought a library with very optimised math operations and managed to speed up some stuff in the oscillators (FFT/iFFT...) by factor 3-4 over the current implementation. It's machine dependent, but the overall speed improve is noticable.

Drawback: I have to install some more .dlls and execute a batch script from the installer. Nothing serious, but yet another part of Win development that I have to learn carefully.

If anybody of you knows how to set a library search path (%path% or something) to C:\Program Files\u-he\Support\bin, I'd be very happy. Remember that "Program Files" is localized, thus "Programme" in German, "Programmi" in Italian, etc. - the installer can pass arguments... or does "Program Files" do the trick in every language?!?

Cheers,

;) Urs

Post

Does this help at all:
http://www.comsci.us/dos/path.html

and:
http://en.wikipedia.org/wiki/Environmen ... .25PATH.25

As for the language independent location of "Program Files":

How about %programfiles%
I assume that's what tells the place of the "Program Files" folder no matter what language?

http://en.wikipedia.org/wiki/Environmen ... amFiles.25

There are also some links at the bottom of that page that might prove useful.

One of them even says how to add to the %path% variable, so you don't loose what's already there (scroll down a bit):

http://vlaurie.com/computers2/Articles/environment.htm

There is also info on some utility if you need to set the path permanently (but I don't know if this is needed).

Post

Maybe another dead end road, but if you're programming in Microsoft Visual Studio 2003 or higher, you can get around the whole .dll installation/registration problem by using ilmerge (http://research.microsoft.com/~mbarnett/ILMerge.aspx) to merge your purchased library dll with your compiled .exe into a single combined .exe. E.g. to merge Zebra2.exe with fastfft.dll and fastifft.dll do ilmerge /target:winexe /out:ZebraCombined.exe Zebra2.exe fastfft.dll fastifft.dll /v1.1

Post

If you are using visual studio, use the /localpath variable - that will set the default path to the installation path of the program regardless of what it is called.

Mike

Post

Those might be more elegant solutions. (I myself am no programmer, just an old BAT file tinker from yesteryear :-).)

Post

Cubase can divide by zero. It's true. Also Logic.
Image
:: FL Studio v9.0.3 :: u-he Zebra2 v2.5 :: u-he MFM v2.0.2b5 :: u-he Uhbik v1.1 :: EnergyXT v1.4.1/v2.0.2 ::

Post

Thanks for the suggestions!

That /localpath thing could be the right way to do it!

We'll see...

Later,

;) Urs

Post

Hi Urs!

If you are using MKL you should be able link statically to the library. Have you tried that or is this to restrictive for you concerning supported CPUs?

Cheers, Eric

Post

Frettchen wrote:Hi Urs!

If you are using MKL you should be able link statically to the library. Have you tried that or is this to restrictive for you concerning supported CPUs?

Cheers, Eric
Well, I tried to... but it still wants one lib as .dll - I think there's something weird going on in the Microsoft linker, since my stuff stupidly also wants msvcr71.dll...

Cheers,

;) Urs

Post

There is a bug in MKL 8.1 relating to static linking, maybe this article helps you

http://www.intel.com/support/performanc ... 022905.htm

Cheers, Eric

Post

Did master tuning make it into Z2?

Make my life a whole bunch easier.

Thanks

Dave

Post

Oh Man......I is a idjit.....sorry guys & gals.

Playing a job tonight and I looked down and,,,there it was...in Global/FX..."Fine"

How sweet. Thanks!!!
Dave

Post Reply

Return to “u-he”