Juce Tutorial - beginnings

[quote=“mctuble”]
Is it just me or do the links not work now? They just take me to his main site. Those tutorials are something I’m in dire need of as well Sad[/quote]

[quote=“lordadonis”]Through the university I attend, I have a small amount of webspace, I think it’s around 50mb. Until haydxn solves his problems, I have an (extremely) temporary solution. I have no idea how much bandwidth I have, but I don’t use this particular space for anything, so here you go. I only have the pdf and what I think is chapter 3’s files, everything else I modified beyond recognition.

http://homepages.wmich.edu/~a5winfield/juce/

Enjoy![/quote]

:smiley:

thanks alot laserbeak and thanks for hosting the files lordadonis.

[quote]sorry, i can’t download this Tutorial. :oops:

please check it. :wink:

thanks[/quote]

:lol: , got it.

No problem.

Arg! The tutorial files are no more available. The lordadonis link
http://homepages.wmich.edu/~a5winfield/juce/
seems not working. Is there a place where I may find these files. :cry:

Sorry about that, I no longer have those files.
A different computer, a different OS (now Ubuntu), and a twitch on the server and it’s gone.
If anyone does have them, I’ll put them back at that location.

In the meantime, everything you need (should) be here (note the sticky)-> http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1935

Thanks for the answer. I was looking for something more complex. When I send the message I was blocked by some details on creating multiple independant windows. Since that time I solve my problems. I am interested in examples to extend my knowledge and solve small details which are not always obvious. The demo software gives some configurations, and I search for more examples.

Hello!

I found Juce last week, and am a Flash programmer (no, not a good one). I’ve got little idea of what to do, and have been confused at best, and was looking for Haydxn’s tutes…

I found some files here:
http://web.archive.org/web/20061127234532/haydxn.net/content/JUCE/tutorials/files/

I don’t know how current they are, someone should be able to tell us the answer to that… but it’s a start.

and then it dissappeared… :shock:

Unfortunately yes, those are the most current. Since the zips were not available, and only the pdf, that’s all I could get a hold of.

http://homepages.wmich.edu/~a5winfield/juce/ once again has the tutorial. A little dated, but still helpful to get started.

I’d like to thank haydxn for his work on the tutorial, i can very much appreciate that writing this kind of thing can be a time-intensive project.

I’m new here, new to C++, JUCE and xcode all at once. I’ve been skipping between environments for creating audio applications/patches and now i’d very much like to get a feel for how it is to create something using C++ and JUCE. I have a decent understanding of object oriented programming so i’m hoping that the main hurdles will be learning syntax and tools (xcode).

Next to exploring the JUCE docs and (very nice) example apps, one of my first activities was to search for a walk-through of creating a simple application (perhaps one that already does some audio task like playback of a soundfile).

For anyone who has the time and motivation to develop/update the tutorial further, for the sake of people like me, my thanks in advance!

Finally: am i right in thinking that the latest JUCE download assumes xcode users to be using version 3+? (i’m finally going to have to upgrade to leopard?)

Thanks haydxn, for your immensly helpful tutorial. :smiley:

& Hi all, I know this is prolly daft, but i’m not fluent with C++ yet.

I’ve been following the haydxn’s tutorial up to page 22, which then compiled with the error:

which prolly has to do with the line:

so I search JUCE_Slider.h,
& true enough, addChangeListener isn’t there, although it does appear in juce_ChangeListenerList.h

Anyways, inside JUCE_Slider.h, I find:

[quote]/** Adds a listener to be called when this slider’s value changes. /
void addListener (SliderListener
const listener) throw();[/quote]

n sooo I tried changing slider->addChangeListener (this); to:

which compiles with the error:

& now i’ve been stuck here since the last 24 hours. :frowning:

I’d be grateful if anyone would please point me in the right direction? >_<

Yeah, that’s one of the main things that has changed since i wrote the tutorial…

Previously, Sliders were ChangeBroadcasters, and buttons were ActionBroadcasters. At some point, jules decided that each main category of widget could well do with its own broadcast system.

So, Slider is now paired with SliderListener. What your error indicates is that your MainComponent cannot be passed into Slider::addListener because it’s not a SliderListener [but I’d wager it is a ChangeListener].

What you must do is add public SliderListener to the top of MainComponent (where it has public Component, public ChangeListener etc…). This derives it from SliderListener as well as all the other things.

You’ll also need to implement the pure virtual function ‘sliderValueChanged(Slider* slider)’. (this is what is used for sliders instead of changeListenerCallback(void*).

Hope this helps!
I promise I’ll fix the tutorials soon! :slight_smile:

I’m doing this in between my work & there hasn’t been much time spare at the moment,
so before I figure this out or update on progress, I’d like to thanku very much indeed, both for replying and for bothering to write such a useful tutorial… & I’m sure others who have used the tutorials are grateful as well.

Thanks Haydxn! :wink:

Thanx Haydxn!

It complies now, with 128 new warnings but no errors.

I initially thought it wouldn’t matter to leave public ChangeListener described under class MainComponent, but that gave the error cannot instantiate abstract class due to following members: ‘void juce::ChangeListener::changeListenerCallback(void *)’ : is abstract
I’ve removed it & now it’s fine.

hiya,

I’m a newbie in juce. So I would like to do the tutorial, but there is no working link for the tutorial-files. Can someone help me?
thanks in advance

No way unless haydxn can post again the files. If you have the files i can host them in the juced community drivern trunk of juce. (People still don’t understand the power of collaboration, and for collaboration i mean this for example, in which lot of people contribute and expand the platform http://trac.mapnik.org/).

Anyway i’ve finished in bringing the tutorial on the juced wiki:

http://code.google.com/p/juced/wiki/JuceTutorial

probably the best way to search, improve, translate the tutorials available out there !

Cheers

Lucio

I have the tutorial created by haydxn, but it’s outdated. But I must admit you have done the right thing kraken. It would be very helpful for anyone who gets into juce.

thanks for the replies.
but has anybody the programming examples mentioned in the tutorial?
cheers,
dominik

I had used it when I was learning to use juce, if you use it now, it might give few compilation errors but they should be easy to fix(I was able to fix them too).

It’s very helpful.

:smiley: