Hi Iain, with some trepidation I should mention that about ten years ago I had fun writing a Hammond B3 emulation. It's not exactly "sample code" because I wanted to get as close to the B3 sound as I could, so it has a lot of "tweaks". For instance it uses the exact frequencies of the Hammond tone wheels (which are not true equal temperament), and has a "Leslie" and Hammond-style reverb. I didn't really write it to be transparent, or with "good coding style", so make of it what you will. I suspect someone with more Csound skill than I could improve it even further. It's all at https://goodeveca.net/RotorOrgan. There are a couple of mp3s there generated by the code, so you can get some idea of the sound. The page is dated 8 years ago, and I haven't touched the code since then, though I do use it on occasion. As written, it is intended for MIDI input -- specifically my M-Audio Axiom 60 keyboard -- but should be easily modifiable. I should also mention I normally use my own Haiku software that gives me on-screen drawbars and things. I ported Csound 6 to the Haiku OS [never heard of it, have you...(:-)] but I'm afraid I don't intend to do that with Csound 7. Too much work with too little reward. (And I am nearly 90 years old, so I only occasionally program these days!) Cheers, -- Pete -- On Sat, Jan 31, 2026 at 09:38:08AM -0800, Iain Duncan wrote: > Hello Csounders, I am looking for example code for use in some music > education tools for which I want sustained, pitch-clear sounds in various > registers. While I'm pretty experienced in Csound, I always find good > examples surprise with things I don't know about yet! Unfortunately, the > state of online search is not what it used to be, sigh. > > If anyone has favourite examples of hammond organ, rhodes, or other > sustained keyboard sounds that you imagine would work well for creating > clear pitch beds, I'd love to hear which they are! > > Thanks > iain > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here