List Info

Thread: Online resources/books for programming sound synthesis software?




Online resources/books for programming sound synthesis software?
user name
2007-04-12 05:22:38
Hi all!

I just subscribed to this list as I now feel confident
enough in my programming
skills and my ability to understand mathematical
descriptions to finally start
what I always wanted to do: program my own synthesizers ;)
Now I just wonder if
there are any recommendations on what to read to get started
fairly quickly. Any
suggestions?

Greetings,
	Thomas
_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
user name
2007-04-12 05:44:41
On Thu, 12 Apr, 2007 at 12:22PM +0200, Thomas Janu spake
thus:
> Hi all!
> 
> I just subscribed to this list as I now feel confident
enough in my programming
> skills and my ability to understand mathematical
descriptions to finally start
> what I always wanted to do: program my own synthesizers
;) Now I just wonder if
> there are any recommendations on what to read to get
started fairly quickly. Any
> suggestions?

The Jack examples are a great place to start looking at
code.  Also, I
wrote a howto for people writing Jack apps for the first
time: 

http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/

I hope you get more sources in this thread, because I would
like to
read more myself.

James
 
> Greetings,
> 	Thomas
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-userlists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user
> 

_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
user name
2007-04-12 05:59:35
> The Jack examples are a great place to start looking at
code.  Also, I
> wrote a howto for people writing Jack apps for the
first time: 
> 
> http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/
> 

That's already great, thanks a lot! ;)

> I hope you get more sources in this thread, because I
would like to
> read more myself.

More specifically I'm looking for commented code
examples/tutorials on how to
emulate sound synthesis, so writing oscillators, filters and
so on as well as
nice examples of the ``big picture'' so that i can see how
it's all put together
to form a synth. That'd be really nice.

Thomas
_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
country flaguser name
Sweden
2007-04-12 06:02:09
On Thu, 2007-04-12 at 12:59 +0200, Thomas Janu wrote:
> > The Jack examples are a great place to start
looking at code.  Also, I
> > wrote a howto for people writing Jack apps for the
first time: 
> > 
> > http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/
> > 
> 
> That's already great, thanks a lot! ;)
> 
> > I hope you get more sources in this thread,
because I would like to
> > read more myself.
> 
> More specifically I'm looking for commented code
examples/tutorials on how to
> emulate sound synthesis, so writing oscillators,
filters and so on as well as
> nice examples of the ``big picture'' so that i can see
how it's all put together
> to form a synth. That'd be really nice.

http://musicdsp.org


--ll

_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
user name
2007-04-12 07:38:32
On 4/12/07, Lars Luthman <lars.luthmangmail.com> wrote:
> On Thu, 2007-04-12 at 12:59 +0200, Thomas Janu wrote:
> > > The Jack examples are a great place to start
looking at code.  Also, I
> > > wrote a howto for people writing Jack apps
for the first time:
> > >
> > > http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/
> > >
> >
> > That's already great, thanks a lot! ;)
> >
> > > I hope you get more sources in this thread,
because I would like to
> > > read more myself.
> >
> > More specifically I'm looking for commented code
examples/tutorials on how to
> > emulate sound synthesis, so writing oscillators,
filters and so on as well as
> > nice examples of the ``big picture'' so that i can
see how it's all put together
> > to form a synth. That'd be really nice.
>
> http://musicdsp.org

Now, who said there was never anything of interest said on
this list ?
I want names !

Lars, James: thanks for the links 
__________________
Marc-Olivier Barre,
Markinoko.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
user name
2007-04-12 07:53:51
On 4/12/07, Thomas Janu <chaossieglitzhof.net> wrote:
> > The Jack examples are a great place to start
looking at code.  Also, I
> > wrote a howto for people writing Jack apps for the
first time:
> >
> > http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/
> >
>
> That's already great, thanks a lot! ;)
>
> > I hope you get more sources in this thread,
because I would like to
> > read more myself.
>
> More specifically I'm looking for commented code
examples/tutorials on how
> to
> emulate sound synthesis, so writing oscillators,
filters and so on as well
> as
> nice examples of the ``big picture'' so that i can see
how it's all put
> together
> to form a synth. That'd be really nice.
>
> Thomas
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-userlists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user
>

Have a look at some of the DSSI and LV2 synths/plugins. You
could also
help out on some of the lv2 synths others are writing as
then you can
get some help easily and have some direction from someone
with a bit
more experience. I found this useful. You can also try
implementing
some of you ideas in a modular like Ingen first.

Loki
_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
country flaguser name
United Kingdom
2007-04-12 08:06:33
On Thu, 2007-04-12 at 12:59 +0200, Thomas Janu wrote:
> > The Jack examples are a great place to start
looking at code.  Also, I
> > wrote a howto for people writing Jack apps for the
first time: 
> > 
> > http://www.dis-dot-dat.net/index.cgi?item=/jacktuts
/starting/
> > 
> 
> That's already great, thanks a lot! ;)
> 
> > I hope you get more sources in this thread,
because I would like to
> > read more myself.
> 
> More specifically I'm looking for commented code
examples/tutorials on how to
> emulate sound synthesis, so writing oscillators,
filters and so on as well as
> nice examples of the ``big picture'' so that i can see
how it's all put together
> to form a synth. That'd be really nice.

I've been learning the same stuff recently as well.

I've attached my first attempt at a very basic synth using
ALSA MIDI for
input and JACK for output. (Note that I'm not an audio
expert so there
may be a few errors in it. If anyone spots an error please
let me know.)

Wikipedia seems to have quite a few articles on synthesis:
  http://e
n.wikipedia.org/wiki/Audio_synthesis

I just read "The Computer Music Tutorial" by
Curtis Roads, which was
recommended by a few Linux audio developers. It's a fairly
good
introduction, though it seems slightly dated. I'm also
reading "Elements
of Computer Music" by F.Richard Moore, but I wouldn't
recommend it as a
first book as the maths is pretty difficult.

Damon


_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

  
Re: Online resources/books for programming sound synthesis software?
user name
2007-04-12 08:28:33
Hallo,
Thomas Janu hat gesagt: // Thomas Janu wrote:

> More specifically I'm looking for commented code
examples/tutorials
> on how to emulate sound synthesis, so writing
oscillators, filters
> and so on as well as nice examples of the ``big
picture'' so that i
> can see how it's all put together to form a synth.
That'd be really
> nice.

Pure Data's source code isn't heavily commented, but written
in a
clear and structured way. If you browse the CVS at
pure-data.sf.net
you will also see the code for hundreds of
"externals", that is, Pd
plugins doing synthesis and other stuff. This should be
enough source
code to get you started. To understand how externals are
structured,
you may want to read the Externals HOWTO first:
http://iem.at/pd/ex
ternals-HOWTO/ You could also just write or modify
some Pd externals first and let Pd do the housekeeping of
talking to a
soundcard etc. for now.

Of course the other synthesis environments like
SuperCollider, CSound
etc. are open source as well, I just don't know their source
that
good, so I cannot recommend on how useful they are. 

For a written introduction to writing synthesis code in
(K&R) C I
would very much recommend F. Richard Moore's classic book
"Elements of
Computer Music". 

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_
__goto10.org__
_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

Re: Online resources/books for programming sound synthesis software?
country flaguser name
United Kingdom
2007-04-13 06:18:14
On Thu, 2007-04-12 at 15:40 +0200, Robin Gareus wrote:

> when learning to code, it's easier and more fun to
start from scratch
> rather than jumping on some existing project!  - But I
agree with Loki
> that linuxaudio is lacking resources and the wheel has
been re-invented
> too often already..
> 
> http://apps.li
nuxaudio.org/apps/categories/software_sound_synthesis_and_mu
sic_composition_packages
> http://apps.linuxaudio.org/apps/categories/sof
tsynths_and_samplers
> http://apps.linuxaudio.org/apps/categories/
general_synthesis_packages

But there are so many it's a bit overwhelming. It would
probably take a
week or two to try them all out. Maybe we need a rating
system so people
can spot the good ones more easily.

It would also be good to know which GUI toolkit they use - I
could only
really help out with GTK+ code.


(Though I have no real intention to write a synth anyway -
I'm just
messing about to learn ALSA and JACK.)


> minor detail -  in the jack_process callback:
> 
>  add   jack_port_get_total_latency(..) to 
Note[i].oscillator_offset;

Can you explain that a bit more - why is it needed?

Thanks,

Damon


_______________________________________________
Linux-audio-user mailing list
Linux-audio-userlists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo.cg
i/linux-audio-user

[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )