• flextUser

    Dear forum,

    I want to create a custom Ubuntu Live Cd with Pd vanilla, a bunch of externals I created and a patch for the performer to run. He will be traveling with a basic Windows laptop and I compiled my externals for Linux (and OS X) only. He will provide his own audio interface. Will this work ? There are tools for creating custom live cds but I have no experience with them.
    Has anyone tried something like this ? The idea is for the performer to boot from a USB stick , start jack and run the patch.

    posted in technical issues read more
  • flextUser

    I can reproduce it. Objects made with Faust crash PD when using multiple instances. Also, when adding two (different) objects to a patch, signal goes through only one.

    posted in technical issues read more
  • flextUser

    Well, I guess I found the answer by doing the homework and looking at fldefs_methadd.h

    //! Add a a handler for a method with implicit arguments
    #define FLEXT_CADDMETHOD_(CL,IX,M_TAG,M_FUN) \

    posted in extra~ read more
  • flextUser

    I'm new to Flext, and haven't coded in C++ in a long time. Made a simple object that reads a symbol; I get the following error:

    error: reference to non-static member function must be called
    FLEXT_ADDMETHOD_S(0,"read",m_read);

    Also can someone clarify the difference between the two ways to register methods (ADDMETHOD and CADDMETHOD) ?
    Any help will be appreciated.

    #include <flext.h>
    
    #if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400)
    #error You need at least flext version 0.4.0
    #endif
    
    class hello:
    
        public flext_base
    {
    
        FLEXT_HEADER(hello,flext_base)
     
    public:
    
        hello();
        
    protected:
    
        void m_read(t_symbol *argument);
        
    private:
    
        FLEXT_CALLBACK_S(m_read)
    };
    
    FLEXT_NEW("hello",hello)
    
    
    hello::hello() {
    
        
        AddInAnything();
        
        FLEXT_ADDMETHOD_S(0,"read",m_read);
    
    }
    
    void hello::m_read(t_symbol *argument) {
        post("reading argument: %s)",GetString(argument));      
            
    }
    
    

    posted in extra~ read more

Internal error.

Oops! Looks like something went wrong!