Any waveform other than square?

Hi everyone,
I'm rather new in Arduino and I'm interested in making some sounds. I've found in the learning section the tone() function (is it a function or something else? Not really good with programming..), but that's a square wave. Are there other waveforms available? At least phasor or a triangle, so I can then create the rest?

Thanks,
Alexandros

With only one digital output you only have a square wave.

If you build a crude digital to analogue converter it is possible to get other wave shapes but then you won't be using the tone function.

Thanks for the answer. Do you have in mind any tutorial on how to do this?

Not particularly but try this:-
http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator/

You can build R2R ladder:
http://didier.longueville.free.fr/arduinoos/?p=977

Thanks guys!

or try this - SparkFun I2C DAC Breakout - MCP4725 - BOB-12918 - SparkFun Electronics - complete with sample code.

This is a full featured synthesizer with all kinds of waveforms, modulation, etc.

http://www.ginsingsound.com