Piano for Csound

Hi people..

I need a litle thing. Anyone know where i can find a .csd file for simulate a simple piano? I don´t find this anywhere..

By.

Some options

I haven't come across any pre-built csd file for a piano -- though there may well be one... have you looked in all the instrument archives here?

However, if you're using Csound 5, I see a 'prepiano' opcode that you could presumably build your own with. Alternatively you could use the fluidSynth opcodes and grab a free soundfont (such as 'Unison.sf2') that has a piano preset.

There are also the 'sf...' opcodes, but all the fonts I have seem to contain 'ROM sample' references, which fluidSynth happily ignores but the older opcodes abort on.

(YMMV -- haven't actually used any of the above yet.)