Juce and VST plugins

Discussion and support for general JUCE issues

Juce and VST plugins

Postby cialz » Mon May 09, 2005 2:03 pm

Hi to all,
I'm going to use Juce for developing some VST plugins.
In paricular I need to know if with this good library is possible to play an AVI video?

best regards
cialz
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby Karbon L. Forms » Mon May 09, 2005 8:41 pm

quicktime only I believe
.................................
"Hell is other People" J.P.Sartre
.................................
Karbon L. Forms
JUCE UberWeenie
 
Posts: 368
Joined: Sat Sep 04, 2004 8:16 am
Location: Aberdeen, Scotland

Postby jules » Mon May 09, 2005 10:23 pm

yes, but quicktime will happily play AVIs..
User avatar
jules
Fearless Leader
 
Posts: 17217
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby cialz » Tue May 10, 2005 10:15 am

Oh, wonderful
Unfortunately at now I could not build Juce with VC++6
I've got two compiler error.

thanx
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby Karbon L. Forms » Tue May 10, 2005 2:12 pm

jules wrote:yes, but quicktime will happily play AVIs..


cool. didnt know that. tend to avoid QT like the plague.
.................................
"Hell is other People" J.P.Sartre
.................................
Karbon L. Forms
JUCE UberWeenie
 
Posts: 368
Joined: Sat Sep 04, 2004 8:16 am
Location: Aberdeen, Scotland

Postby cialz » Tue May 10, 2005 3:55 pm

So, I can show an AVI file in my VST plug GUI or only open QuickTime Stand Alone program?
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

My JUCE VST

Postby cialz » Wed Jun 15, 2005 10:25 am

It happens that the jucevst demo, after closing and opening sometimes the editor view, I can't see the gui, but only the 300x150 rect, without slider, string, and display.

Do you know why?

thanx
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby jtxx000 » Wed Jun 15, 2005 3:55 pm

are you using the demo juce filter from the RMS site? IIRC it is somewhat buggy, but ost12666 has an improved version.
jtxx000
JUCE UberWeenie
 
Posts: 177
Joined: Tue Sep 07, 2004 12:41 am

Postby cialz » Wed Jun 15, 2005 8:21 pm

cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby cialz » Wed Jun 15, 2005 8:46 pm

Why I need to clean up every time I have to build JUCEVST demo?
If I don't clean up, CL tells me the following errors:

Code: Select all
Compiling...
JuceVstMain.cpp
JUCE! Linking to: jucelib_static_debug.lib
c:\programmi\microsoft platform sdk\include\winnt.h(8854) : error C2955: 'tempArray' : use of class template requires template argument list
        c:\juce\src\juce_core\containers\juce_array.h(966) : see declaration of 'tempArray'
c:\programmi\microsoft platform sdk\include\winnt.h(8863) : error C2955: 'tempArray' : use of class template requires template argument list
        c:\juce\src\juce_core\containers\juce_array.h(966) : see declaration of 'tempArray'
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby jtxx000 » Thu Jun 16, 2005 2:30 pm

here try this: www.annoware.com/JVSTTemplate.zip
it's ost12666's version (i got permission from him to post it here)
jtxx000
JUCE UberWeenie
 
Posts: 177
Joined: Tue Sep 07, 2004 12:41 am

Problems with actionListener and ToolTip

Postby cialz » Mon Jun 20, 2005 9:10 pm

Hi, first of all I would ask you if it's right do this in the Editor Component constructor:

Code: Select all
openDirDialogButton->addActionListener ((ActionListener*)this);


I've used casting because the compiler notify me an error using "this" pointer

Then, I don't have understand how it works the event hander.

I think I have to concentrate around
- EditorComponent::changeListenerCallback(void *changedObject)
- EditorComponent::handleCommandMessage(int commandId)
- VSTplug::actionListenerCallback (const String& m)

Code: Select all
   //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void MultiVolver::actionListenerCallback (const String& m)
{
      if (m == "gain") setParameterAutomated(gain,(float)editorComp->slider->getValue());
      else if (m == openDirButtonName)
      {
         AlertWindow *aw = new AlertWindow(T("Titolo"),T("choose IR"),AlertWindow::InfoIcon);
         
      }
}


The alert window doesn't appear and also the tooltip when the mouse i over the TextButton
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Postby jules » Mon Jun 20, 2005 10:06 pm

If you have to cast "this" to an actionlistener, then it clearly isn't one!

And I put lots of examples of how to use AlertWindows in the demo - have a look at that, or have a better look at the AlertWindow help docs.
User avatar
jules
Fearless Leader
 
Posts: 17217
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Postby Karbon L. Forms » Tue Jun 21, 2005 7:46 am

jules wrote:If you have to cast "this" to an actionlistener, then it clearly isn't one!

And I put lots of examples of how to use AlertWindows in the demo - have a look at that, or have a better look at the AlertWindow help docs.


AlertWindows are your friend! Well mine anyway. Absolute joy to use. 4/5 lines of code, on the stack, piff paff poof, user has given/seen his data, and it's done and gone.
.................................
"Hell is other People" J.P.Sartre
.................................
Karbon L. Forms
JUCE UberWeenie
 
Posts: 368
Joined: Sat Sep 04, 2004 8:16 am
Location: Aberdeen, Scotland

Postby cialz » Wed Jun 22, 2005 8:01 pm

jules wrote:If you have to cast "this" to an actionlistener, then it clearly isn't one!

And I put lots of examples of how to use AlertWindows in the demo - have a look at that, or have a better look at the AlertWindow help docs.


Thanx Juce. I've inherited also from ActionListener the EditorComponet.

But why the tooltip message doesn't appear when I am over the TextButton?

Code: Select all
   //==============================================================================
        openIRButton = new TextButton (openIRButtonName,
                                     Colours::black,
                                     Colours::lightgrey,
                                     Colours::darkgrey,
                                     "click here to choose the Impulse Responses...");

        addAndMakeVisible (openIRButton);
        openIRButton->setBounds (10, 50, 100, 24);
        openIRButton->addActionListener (this);
        openIRButton->setTriggeredOnMouseDown (true); // because this button pops up a menu, this lets us
cialz
JUCE UberWeenie
 
Posts: 103
Joined: Mon May 09, 2005 2:00 pm
Location: Italy

Next

Return to General JUCE discussion

Who is online

Users browsing this forum: No registered users and 3 guests