Declipper not finding clipped samples

I have a heavily clipped piece of music I wish to declip.  If I scan the audio with Audition (CS6) “Amplitude Statistics”, it reports the number of clipped samples in their thousands.
If I scan within declipper, it reports none.  In fact even if I deliberately increase the amplitude on the audio by +10db or more, the declipper still reports no clipped samples.
The declipper tool is simply not working, and no matter what I try, it never reports clipped samples.
Any ideas anyone?

SteveD333 wrote:
You could have done the same thing at -20dB; the waveform would have looked the same, just lower in amplitude.  I wouldn’t call that clipping, I’d call it an example of what happens when a digital representation of the real waveform is inprecise. I would see your example as more accurately describing sampling errors, which due to the algorithm that seeks to recreate the true waveform, does the best it can, and hence you see the result.  It will work, it just isn’t right.
Clipping's not quite as straightforward as that, I'm afraid. If the samples are in the correct relative positions, then there has been no overload situation in the digital sense - but if you try to output the waveforms I created (which could occur quite legitimately), you'd almost certainly find that the D-A converter itself would clip, as you would have exceeded its analog output capability. But the samples, as I said, could be legitimate... and to be fair, most manufacturers these days recognise this situation, and allow sufficient headroom for the worst case output scenario.
Clipping is only a form of distortion - in other words, the arrangement of the samples does not represent the rates of change of the input signal. So any sample that's correctly in place at 0dB isn't clipped. Real-world clipping, when it occurs, has to occur either in the A-D or D-A conversion. So let's be very clear - clipping isn't a digital thing at all, and correcting it (since you have no original reference) is at best a statistical process. On a rising waveform, what you have to analyse is whether the rate of change increase that suddenly arises when a sample can't go as high as the previous several samples might indicate is correct or not. In the case of a string of 0dB samples, then there's an extremely good chance that they are incorrect (unless this is a high amplitude square wave...), but you still have no information, other than a spectral analysis guess from either side, as to what the correct positions should be.
And it's this that the Amplitude statistics can't work out, because there simply isn't time. And it's also what causes the clipping analysis sometimes to come up with results that don't appear to make sense. It really is a case of analysing where a waveform is rising, and where it falls again, and trying to correlate the samples in between to represent where it thinks the peak should be. Obviously the closer you get to the Nyquist limit, the easier this is, because in the limiting case, you can guarantee that a sample that appears to be too low (apparent increase in rate of change) actually is. The lower the rate of change though, the harder to analyse, and more imprecise, that process gets.

Similar Messages

  • I can not find clips in HD, only a project file...

    In Imovie 5, I can find each individual clips. I am using Imovie 6 now, can not find clips in anywhere only a project file under the Movies directory, can some one tell me please?
    Ruru

    Hi Ruru
    Addressing right forum (iMovie6) would give better answer.
    From iMovie 1 to 4 there was a media/project folder. iMovie 5 and 6 stores
    Your project in a project icon. Open it by ctrl-click on it and select: Show
    package content.
    Now You see folder in it and Captured material is in the media folder.
    When I tested iM5 and iM6 behaves in the same way. Am I missing something?
    Yours Bengt W

  • Esx sampler is not able loading samples

    hello,
    I am new in this forum and hope someone can help me out.
    Everytime when I open the Esx24 sampler and choose from the menu a sample, a window opens which says: progress, load audio sample for xxx . The window remains open and there is no progress. I can not close the window anymore and nothing happens. I have to force quit Logic. This also happens when I try to open older Logic 6.0 files with esx24 samples in it.
    I guess the Esx24 sampler can not find the samples. But they are located where they as I believe should: computer - Library - Application Support - Logic - ESX factory samples.
    Any suggestions? Excuse my bad mastery of the English language. I am a native German .
    Regards,

    Ashermusic,
    Excuse my late response. Thank you for your reply.
    {knip}
    Make sure your actual EXS24 instruments are in the
    Sampler Instruments folder in the Logic folder in the
    Application Support folder.
    They are located there - in my desperation even copied them as well into the Logic folder - Application Support folder - user
    If they are and this is still happening there are 2
    solutions:
    Aha. So this problem is known - occurs often?
    1. Buy Redmatica's EXSManager Pro and re-link the
    sampler instruments with the samples. (Best choice.)
    OK but I am broke ... again ... and have to head for a cheaper solution.
    2. Use Logic's Project Manager to do it. (more
    cumbersome but free.)
    Project Manager did find the instruments. How can I make a connection with the ESX24 sampler? Now it takes more than 15 minutes till the ESX24 sampler (or Project Manager?) finds the instrument and that Project Manager asks me if I want to use it.
    Is there any way to do this quicker? This is more than cumbersome
    I hope I am communicating understandable
    Imac, intel core duo   Mac OS X (10.4.9)  
    Imac, intel core duo   Mac OS X (10.4.9)  
    Imac, intel core duo   Mac OS X (10.4.9)  
    Imac, intel core duo   Mac OS X (10.4.9)  
    Imac, intel core duo   Mac OS X (10.4.9)  

  • I have a Flash Sample to rotate images and text but I not find a way to display special characters

    Hello everyone.
    I bought a very nice Flash application that rotate images, and text of any color and size. It use an XML input file.
    I've posted here, a complete copy, so any of you can download, view and use it freely.
    I would appreciate if any of you know how to do, so that the text displayed, including the characters I use in my language (Spanish), such as á, é, í, ó, ú, ñ, and other special characters.
    In fact, I could not find a way to do it, because I'm not expert Flash, and less in ActionScript.
    If any of you would help me on that, I thank you implement the appropriate adjustments and compressed into a. zip file, and let me know where to download it, or if you prefer you can send it to my email: [email protected]
    After all compressed in .zip format is a very small file: 430K.
    Click here to download the complete sample.
    Thanks.
    =====================================
    Translated using http://translate.google.es
    =====================================

    Hello Rinus,
    If I understood your last post correctly, then problem 2 is resolved, right?
    Regarding problem 3:
    I'm not asking you to share exact VIs.
    I just want to see a very simple VI that explains the concept of what you're trying to do, what should happen (this can be in words that refer to the front panel elements) and what you've tried.
    The terminology you're using isn't clear to me without an extra explanation.
    This could even be only a Front Panel with a few buttons on where you just describe what should happen with specific controls/indicators.
    Based on the first post it is not clear to me what you mean with:
    - A "button element":
      Are you talking about a control, an indicator, a cluster that contains multiple control?
    - The structure:
      Is this an event structure, case structure, for loop, ...?
    Is it seems like you want to programmatically control Front Panel objects, which on itself is no problem at all independent of how many objects you want to control.
    Please share with me simple example of what goes wrong and explain which things should happen on that specific Front Panel.
    This will allow me to help you and also allow me to guide you along the right path.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Logic X EXS not finding 3rd Party samples

    Hi- I am fairly new to Logic, but have a ton of third party EXS libraries and a number of patches when I attempt to load give me the file not found error.  I have followed every online thread I can find regarding the location of the instruments as well as the samples, both with aliases pointing to the samples as well as not.  I can not find any combination that works and it's very hit and miss whether it finds samples or not (all of which are held in the same parent folder, in one external location), which leads me to think this is more of a preference corruption issue.  I also have tried putting the samples on the internal drive & changing the options in EXS to local drives only.
    Am I alone here? Is anyone else having this issues?  Does anyone know where to find & trash the EXS prefs so I don't have to trash all the Logic prefs?
    Thanks!

    Hi
    Tom Hammer wrote:
    You're have a Spectrasonics plugin open on your second monitor and when you come back to that screenset it's in the same location?
    yep
    Starting from an empty project, I added 2 Instrument channels (Omnisphere and Kontakt 5. Open both plugin GUI's, move dthem over to my 2nd monitor then Locked the ScreenSet (SS 1)
    Switch to other S Set and back, K5 and Omni GIU's open where I left them (locked).
    Close Project and then re-open... still works OK
    CCT

  • Where can we find clip arts for iWork09 ?

    My wife and myself have bought iWork09. We could not find art clips with it? If it is not there, where can we get for cool free clip arts? Where is best tutor to learned to do iWork09? We can not watch video with out captions. Any big help will be appericated. Thanks your time..

    Free *Clip Art* is somewhat scattered on the web but try:
    http://www.AllSilhouettes.com
    http://www.colorburned.com/freebies
    http://www.gloomus.com
    http://www.dezignus.com
    http://www.craftsmanspace.com
    http://www.free-vectors.com
    http://www.deviantart.com
    http://www.multimedia-stock.com
    This is just a small collection. Search for the many free samples available as well.
    For *Training Videos* see Apple's videos at:
    http://www.apple.com/iwork/tutorials/#pages
    By all means go to the *Apple Store presentations* if one is close by, but you will find those a short overview and sales spiel, with some limited oportunity to ask questions,
    Peter

  • Why Hp does not find any solution for Noisy Fan systems ?

    I got DV6t  core i5  6gb ram + 1gb Ati Radeon Graphic Card (6490m) + bluetooth + Bluray 
    I have to return it because of that noisy fan ; i was a new member of Hp family and i never investigate about that product for Laptop. After it got that gorgeous Laptop , i got this fan issue ; and i research that fan is working normal/anormal ; what i find out is Hp has a Noisy Fan Issue on all of the Video clips , Forum Websites even its own website ; I realy didnt know till i got it. If that is a common issue , Why that big brand HP doesnt solve that problem since many years ? I sincerely doesnt want to return this item because of fan ; because there is no comparative product in others company has .... (Bluetooth + Bluray + Finger print + 1gb (Integrated Graphic) and $749 ; i can not find any brand or product which includes that options in this price ..... So UNFORTUNATELY i am returning that Beautiful Laptop Because of ridiculous fan noise ; is that really hard to install a fan which is really silence ??? I have a Toshiba brand laptop , even the fan is working  hard there is no bothering noise at all (Even its 4 years old) . I was thinking that Hp product has high performance equipment thats why this fan works hard or noisy because it could be stronger than my Toshiba which has core 2 duo technology 256 mb graphic card ; But i was wrong because of this video clip ; http://www.youtube.com/watch?v=-yLEXZGRGPY

    I got DV6t  core i5  6gb ram + 1gb Ati Radeon Graphic Card (6490m) + bluetooth + Bluray 
    I have to return it because of that noisy fan ; i was a new member of Hp family and i never investigate about that product for Laptop. After it got that gorgeous Laptop , i got this fan issue ; and i research that fan is working normal/anormal ; what i find out is Hp has a Noisy Fan Issue on all of the Video clips , Forum Websites even its own website ; I realy didnt know till i got it. If that is a common issue , Why that big brand HP doesnt solve that problem since many years ? I sincerely doesnt want to return this item because of fan ; because there is no comparative product in others company has .... (Bluetooth + Bluray + Finger print + 1gb (Integrated Graphic) and $749 ; i can not find any brand or product which includes that options in this price ..... So UNFORTUNATELY i am returning that Beautiful Laptop Because of ridiculous fan noise ; is that really hard to install a fan which is really silence ??? I have a Toshiba brand laptop , even the fan is working  hard there is no bothering noise at all (Even its 4 years old) . I was thinking that Hp product has high performance equipment thats why this fan works hard or noisy because it could be stronger than my Toshiba which has core 2 duo technology 256 mb graphic card ; But i was wrong because of this video clip ; http://www.youtube.com/watch?v=-yLEXZGRGPY

  • Could not find a valid Java virtual machine to load

    On a fresh copy of CFMX8, when I run updater 7, it responds
    'Could not find a valid Java virtual machine to load'.
    This is being installed on a Win2K3 server and this is on a
    'freshly minted' POC box solely for the purpose of
    installing/testing CFMX8 to determine how it compares to our
    CFMX6.1 environment.
    You will notice that it is NOT being installed in the default
    directory:
    JRun Version Information
    Vendor Macromedia
    Product Name JRun 4.0
    Build Number 108487
    Version Full Version
    License Type Trial License
    Serial Number JRD400-69341-58259-30688
    JRun 3.x Serial Number
    Restricted to Single IP No
    Installation Root D:\ISG\software\jrun4
    Expiration Date Mar 29, 2008
    Evaluation Days Remaining 29
    JDK path (JAVA_HOME): D:/ISG/software/jrun4/jre
    I do find it curious that I can run the Updater 6, and it
    seems to behave properly (it finds the VM). I ran it just as a
    test, then wiped everything to start over from scratch. For some
    reason do I need to direct Updater 7 to the installation that I did
    not have to do in Updater 6?
    Thank you in advance for your assistance - Jacques

    tried executing the following cmd, below is the following error:
    <<command i executed>>
    C:\Program Files\Java\jre1.5.0_09\bin>java -classpath "C:\Program Files\Java\jre1.5.0_09\lib\javaws.jar" com.sun.javaws.Main https://<IPddr>:8443/sample.jnlp
    Can you pls let me know how it can be resolved?Umm.. I am not sure, but I will start with
    a question. Why not do it this way?C:\Program Files\Java\jre1.5.0_09\bin>javaws https://<IPddr>:8443/sample.jnlp

  • Could not find stored procedure 'sp_start_job'

    I'm trying to run a ms sql server agent job from within my vb.net code using sp_start_job and getting exception...
    Could not find stored procedure 'sp_start_job'.
    ... so obviously I'm doing something wrong.  My vb code contains is ...
            jobCommand = New SqlCommand("sp_start_job", sqlConn)
            jobCommand.CommandType = CommandType.StoredProcedure
            jobParameter = New SqlParameter("@job_name", SqlDbType.VarChar)
            jobParameter.Direction = ParameterDirection.Input
            jobCommand.Parameters.Add(jobParameter)
            jobParameter.Value = "nameOfServerAgentJob"
            jobCommand.ExecuteNonQuery()
    Can someone show me how to run the SQL Server Agent job properly from my vb code?
    Thanks tonnes for any help, Roscoe

    Or directly redirect the connection upon creation of the connection string to the right database, e.g.
    string ConnectionString = "Data Source=YourServer;Initial Catalog=msdb;Integrated Security=True";
    See more samples of connection strings here:
    http://www.connectionstrings.com/sql-server/
    -Jens
    Jens K. Suessmeyer http://blogs.msdn.com/Jenss

  • Could not find schema information for the attribute 'filename'

    Can anyone help me.
    I download the VB.NET sample source and try to run the application and got this error.
    "Could not find schema information for the attribute 'filename'"
    and
    "Could not find schema information for the attribute 'url'"
    and
    "Custom tool warning:Schema validation warning:Schema item 'element' named 'AccountWS_AccountUpate_Input' from namespace 'urn:crmondemand/ws/account/' is invalid. Namespace 'urn:/crmondemand/xml/account' is not available to be referenced in this schema"
    Thanks
    Pitiporn

    Are these errors or warnings? If warnings, you should be able to just ignore them.

  • Could not find agent library on the library path or in the local directory

    Hi all,
    I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
    1) I've added #include <mysql++.h>
    2) and I've added mysqlpp::Connection      conn(false); (global variable)
    I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
    Below the code:
    -- analizer.cpp --
    #include <iostream>
    #include <stdlib.h>
    #include <jni.h>
    #include <string.h>
    #include <jvmti.h>
    #include <mysql++.h>
    #include "ClassDetail.cpp"
    #define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
    static void checkForNull(void *ptr, const char* file, int line) {
        if(ptr == NULL) {
            std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
            abort();
    static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
        jvmtiError errNum;
        char *name;
        errNum = jvmti->GetErrorName(err, &name);
        if( errNum != JVMTI_ERROR_NONE) {
            std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
            abort();
        return name;
    #define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
    static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
        if(err != JVMTI_ERROR_NONE) {
            char *name = getErrorName(jvmti, err);
            std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
            abort();
    static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
    static void startGCEvent(jvmtiEnv *jvmti_env);
    static void finishGCEvent(jvmtiEnv *jvmti_env);
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
    jrawMonitorID           lock;
    int                     gc_count;
    long                    heapSize = 0;
    bool                    heapCheck = false;
    mysqlpp::Connection      conn(false);
    JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
        std::cout<<"OnLoad\n";
        jint                rc;
        jvmtiEnv            *jvmti = NULL;
        jvmtiError          err;
        jvmtiCapabilities   capabilities;
        jvmtiEventCallbacks callbacks;
        rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
        if( rc != JNI_OK) {
            std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
            return -1;
        CFN(jvmti);
        err = jvmti->GetCapabilities(&capabilities);
        CJVMTIE(jvmti, err);
        CFN(&capabilities);
        capabilities.can_generate_garbage_collection_events = true;
        capabilities.can_tag_objects = true;
        CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
        CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
        callbacks.VMInit = &vmInit;
        callbacks.GarbageCollectionStart = &startGCEvent;
        callbacks.GarbageCollectionFinish = &finishGCEvent;
        CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
        return 0;
    JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
        std::cout<<"OnUnload\n";
    static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
        std::cout << "worker";
        for (;;) {
            CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
            while (gc_count == 0) {
                CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
                jvmti->RawMonitorExit(lock);
            gc_count = 0;
            jvmti->RawMonitorExit(lock);
            /* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
            if(!heapCheck) {
                heapCheck = true;
                jint        count;
                jclass    *classes;
                CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
                ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
                for(int i = 0; i < count; i++) {
                    char *sig;
                    CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
    CFN(sig);
    details[i] = ClassDetail(strdup(sig));
    CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
    heapSize = 0;
    CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
    std::cout << "Heap Memory : " << heapSize<<'\n';
    heapCheck = false;
    static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
    jclass clazz = jni->FindClass("java/lang/Thread");
    jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
    jthread _thread = jni->NewObject(clazz, mid);
    CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
    static void startGCEvent(jvmtiEnv *jvmti) {
    static void finishGCEvent(jvmtiEnv *jvmti) {
    std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
    gc_count++;
    CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
    if(tag != (jlong) 0) {
    std::cout << "Tag : " << tag<< '\n';
    ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
    char *sig = detail->getSignature();
    std::cout << "Class " << sig << " size : " << size<<'\n';
    heapSize += size;
    return JVMTI_ITERATION_CONTINUE;
    -- ClassDetail.cpp --class ClassDetail {
    private:
    char* signature;
    public:
    ClassDetail(char* signature){
    this->signature = signature;
    char* getSignature() { return this->signature;}
    --Makefile--########################################################################
    # Sample GNU Makefile for building JVMTI Demo waiters
    # Example uses:
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
    # gnumake JDK=<java_home> OSNAME=linux [OPT=true]
    # gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
    # Source lists
    LIBNAME=analizer
    SOURCES=analizer.cpp
    MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
    MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
    MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
    # Solaris Sun C Compiler Version 5.5
    ifeq ($(OSNAME), solaris)
    # Tell gnumake which compilers to use
    CC=cc
    CXX=CC
    # Sun Solaris Compiler options needed
    COMMON_FLAGS=-mt -KPIC
    # Check LIBARCH for any special compiler options
    LIBARCH=$(shell uname -p)
    ifeq ($(LIBARCH), sparc)
    COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
    endif
    ifeq ($(LIBARCH), sparcv9)
    COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
    endif
    ifeq ($(OPT), true)
    CXXFLAGS=-xO2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-z defs -ztext
    # Libraries we are dependent on
    LIBRARIES= -lc
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -G -o $@
    endif
    # Linux GNU C Compiler
    ifeq ($(OSNAME), linux)
    # GNU Compiler options needed to build it
    COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
    # Options that help find errors
    COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
    ifeq ($(OPT), true)
    CXXFLAGS=-O2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
    LDFLAGS += -lmysqlpp
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -shared -o $@
    endif
    # Windows Microsoft C/C++ Optimizing Compiler Version 12
    ifeq ($(OSNAME), win32)
    CC=cl
    # Compiler options needed to build it
    COMMON_FLAGS=-Gy -DWIN32
    # Options that help find errors
    COMMON_FLAGS+=-W0 -WX
    ifeq ($(OPT), true)
    CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
    else
    CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.obj)
    # Library name and options needed to build it
    LIBRARY=$(LIBNAME).dll
    LDFLAGS=
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=link -dll -out:$@
    endif
    # Common -I options
    CXXFLAGS += -I.
    #CXXFLAGS += -I../agent_util
    CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
    CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
    # Default rule
    all: $(LIBRARY)
    # Build native library
    $(LIBRARY): $(OBJECTS)
         $(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
    # Cleanup the built bits
    clean:
         rm -f $(LIBRARY) $(OBJECTS)
    # Simple tester
    test: all
         LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
         #LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
    # Compilation rule only needed on Windows
    ifeq ($(OSNAME), win32)
    %.obj: %.cpp
         $(COMPILE.cc) $<
    endif

    Did you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).

  • Could not find selected item in LOV

    hi i follow this sample http://www.scribd.com/doc/2633296/ADF-Learning-6-Dependent-List-Boxes ,but when i select my LOV am geting this error FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 100 of type: oracle.jbo.domain.Number in the list-of-values.
    am in jdeveloper 11.1.1.6.0

    the data type am selecting is number but displaying employee name my page is,the value 100 is the employeeid is in db
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelHeader text="panelHeader 1" id="ph1">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar">
                <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                  text="CreateInsert"
                                  id="cb1"/>
              </f:facet>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.DepartmentId.inputValue}"
                              label="#{bindings.DepartmentId.hints.label}"
                              required="#{bindings.DepartmentId.hints.mandatory}"
                              columns="#{bindings.DepartmentId.hints.displayWidth}"
                              maximumLength="#{bindings.DepartmentId.hints.precision}"
                              shortDesc="#{bindings.DepartmentId.hints.tooltip}"
                              id="it1" rendered="false">
                  <f:validator binding="#{bindings.DepartmentId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.DepartmentId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.EmployeeId.inputValue}"
                              label="#{bindings.EmployeeId.hints.label}"
                              required="#{bindings.EmployeeId.hints.mandatory}"
                              columns="#{bindings.EmployeeId.hints.displayWidth}"
                              maximumLength="#{bindings.EmployeeId.hints.precision}"
                              shortDesc="#{bindings.EmployeeId.hints.tooltip}"
                              id="it3" rendered="false">
                  <f:validator binding="#{bindings.EmployeeId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.EmployeeId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.Password.inputValue}"
                              label="#{bindings.Password.hints.label}"
                              required="#{bindings.Password.hints.mandatory}"
                              columns="#{bindings.Password.hints.displayWidth}"
                              maximumLength="#{bindings.Password.hints.precision}"
                              shortDesc="#{bindings.Password.hints.tooltip}"
                              id="it4">
                  <f:validator binding="#{bindings.Password.validator}"/>
                </af:inputText>
                <af:inputText value="#{bindings.UserId.inputValue}"
                              label="#{bindings.UserId.hints.label}"
                              required="#{bindings.UserId.hints.mandatory}"
                              columns="#{bindings.UserId.hints.displayWidth}"
                              maximumLength="#{bindings.UserId.hints.precision}"
                              shortDesc="#{bindings.UserId.hints.tooltip}" id="it2">
                  <f:validator binding="#{bindings.UserId.validator}"/>
                </af:inputText>
                <af:selectOneChoice value="#{bindings.DepartmentId1.inputValue}"
                                    label="#{bindings.DepartmentId1.label}"
                                    required="#{bindings.DepartmentId1.hints.mandatory}"
                                    shortDesc="#{bindings.DepartmentId1.hints.tooltip}"
                                    id="soc1" autoSubmit="true">
                  <f:selectItems value="#{bindings.DepartmentId1.items}" id="si1"/>
                </af:selectOneChoice>
                <af:selectOneChoice value="#{bindings.EmployeeId1.inputValue}"
                                    label="#{bindings.EmployeeId1.label}"
                                    required="#{bindings.EmployeeId1.hints.mandatory}"
                                    shortDesc="#{bindings.EmployeeId1.hints.tooltip}"
                                    id="soc2" partialTriggers="soc1">
                  <f:selectItems value="#{bindings.EmployeeId1.items}" id="si2"/>
                </af:selectOneChoice>
              </af:panelFormLayout>
            </af:panelHeader>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>my view is
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="VikUserViewObj"
      Version="11.1.1.61.92"
      InheritPersonalization="true"
      SelectList="VikUser.DEPARTMENT_ID,
           VikUser.EMPLOYEE_ID,
           VikUser.PASSWORD,
           VikUser.USER_ID"
      FromList="VIKUSER VikUser"
      BindingStyle="OracleName"
      CustomQuery="false"
      PageIterMode="Full"
      UseGlueCode="false">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.VikUserViewObj_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <EntityUsage
        Name="VikUser"
        Entity="model.VikUser"/>
      <ViewAttribute
        Name="DepartmentId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="DepartmentId"
        EntityUsage="VikUser"
        AliasName="DEPARTMENT_ID"/>
      <ViewAttribute
        Name="EmployeeId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="EmployeeId"
        EntityUsage="VikUser"
        AliasName="EMPLOYEE_ID"/>
      <ViewAttribute
        Name="Password"
        PrecisionRule="true"
        EntityAttrName="Password"
        EntityUsage="VikUser"
        AliasName="PASSWORD"/>
      <ViewAttribute
        Name="UserId"
        PrecisionRule="true"
        EntityAttrName="UserId"
        EntityUsage="VikUser"
        AliasName="USER_ID"/>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewObject>Edited by: user0994 on 2012/10/20 9:07 PM
    Edited by: user0994 on 2012/10/20 9:29 PM
    Edited by: user0994 on 2012/10/20 10:41 PM

  • Where can I find a sample ERD for a University

    Hello.
    I have to develop a program in C# that manages details about the students, taxes, courses, etc and prints some reports.
    It's for my license degree.
    The programming part is not that hard but the task that is killing me is designing the database because I have poor experience with data modeling.
    I don't have access to my university's database so I need to make one myself..and the teachers won't help..
    I tried to make a diagram but I realised that I cannot do it, I got stuck.
    An university database can get extremely complex and it's hard to make .. so I wonder if any of you know where can I find a sample ERD for a University. I need one as complete as possible.
    Any help is appreciated..

    jorjiana wrote:
    I don't have access to my university's database so I need to make one myself..and the teachers won't help..
    Unfortunately due to the quality of most of the homework questions on these forums I believe you when you say the teachers are no help. You should still discuss it with them and make clear you are not learning what they are supposed to be teaching.
    http://www.google.com/search?q=university+database+erd
    The top hit looks like a good start.

  • EXS sampler can't find the samples anymore...

    Hi there,
    there's hopefully/probably a simple solution to this problem but I'm too stupid to find it:
    Overall info:
    I bought a new Mac, installed a fresh OSX 10.5.5 system and used the immigration assistent to move my old user account including all applications from my old Mac (OSX 10.4.9) to the new one.
    Of course I had to re-new all serial numbers, get new authorization codes for all the plug-ins, etc., etc. and now I'm stuck with the EXS24:
    I had all my own samples on an external hard drive in a folder called Akai Samples. Then I had an Alias of this folder in the Library/Application Support/Logic. The Sampler Instruments ("xxxx.exs") are all located at User/Library/Logic/Sampler Instr.
    When I opened an EXS instrument, it obviously loaded the AIF samples from the external hard disk. In case I had saved samples together with a song project in a specific folder, EXS even showed me both sample location when loading the instrument with a new song.
    The problem:
    Now when I open a blank new song and add an EXS24 with any sampler instruments, it starts looking for the required audio samples and then this process takes forever. I mean, the maximum I handled to wait was like 30 min. Logic is not crashed, it seems, but I guess it does, as it won't search the hard disks or at least won't find anything and most of all doesn't stop looking.Clicking "cmd+." doesn't help.
    I also replaced this external hard disk with the samples with a new, additional internal hard disk. So if Logic searches for this old hard disk it's not there anymore.
    This is really tricky when trying to open old songs. It's simply not possible anymore. Now is there a way to sort of refresh the library, deleting the Logic preferences did not really help.
    Same situation also when I click on the Media button top right next to "Bouncing" and "Colors"... Once I click on sampler instrument, Logic starts looking and gets lost.
    I would really appreciate any input, what I should do. Re-Install Logic maybe? Looks like I have a "Logic" folder in the "overall" library as well as in my user library. Is this one too much?
    Thank you in advance,
    cheers
    Joern

    Hi Butterflys,
    first of all thank you for the fast reply - it definitely helped me one step further as now the exs24 does load all MY instruments incl. the samples again. Fast and efficient.
    But interesting side effect - now it doesn't load the factory instruments anymore. So at least 50% problem solved ... When I use the spotlight search function in the finder the samples are there, just not for Logic. I'll keep on trying...
    (Ha, I could write another novel about re-authorizing 3rd party plug-ins or audio cards... such a hassle...)
    Well, thanks a lot,
    Joern

  • Audio Glitch in Adobe Premiere Pro CS5 Timeline (not a clip problem - it's the timeline space)

    I have an audio glitch that appears to be tied to a space in my timeline and not to a certain audio clip.  If I drag or move the audio clip further up or down the timeline it plays fine.  If I move a different audio file into this area, the audio drops out in the same area, even with volumes set where they need to be.  There are absolutely no keyframes set in this area and I want to be clear about that.   However, this issue did come up only the software froze on me as I was loading my project.  I believe my best bet is to delete delete my media cach and media cache files so that clips are reconformed... unless someone has additional input or has experienced similar issue with the sound.
    As a note, I also reinstalled Quicktime.  I am working with AVI files/aac auio codec.

    No. You will not find any Master Track Keyframes. These will be on the Audio Track, and will be attached to the Track, regardless of what Clip you have there. Here is a look at Track Keyframes, not to be confused with Clip Keyframes from PrPro 2.0:
    Hope that this helps and good luck,
    Hunt

Maybe you are looking for

  • How to import metadata from Address Book on external hard drive to new laptop running OSX 10.8.3?

    My old MacBook died a painful death.  I retrieved the hard drive and have it in a portable enclosure that has a USB connection.  I can see the old Address Book on it, but when I transfered the Address Book application to my new MacBook Pro running OS

  • CE 7.30: Boundary event for human activity

    Hi there, one quick question: I have a approve/reject WDJ screen linked to a human activity. To avoid having too many ExclusiveChoice gateways in my BPM, I tried to use the WDJ error event as boundary event in my BPM. This event is fired when the use

  • MobileMe calendar sync consistently failing to keep things in sync

    Hello, I've been noticing for quite a while that in my setup, mobileme sync keeps failing to keep contacts in sync. My setup is quite basic: 1 iphone, 1 mobileme account, 1 macbook pro. The iphone is set to push contacts, calendars, and bookmarks. Th

  • Classpath read only

    hi , I import configuration and tried to create project for existing Dc but i got error as classpath is read only. It is also showing name clash against class path file in DTR perspective. even when i tried to sync same DC i got following error . How

  • Need Help Using DateFields...

    whenever i invoke the method getDate(), the DateField resets to its initial value and i don't want that to happen... here's my code: class DateInputForm extends Form implements CommandListener{      private final SalesMIDlet m;      public Date curre