[FM Discuss] nicely done

adam hyde adam at flossmanuals.net
Wed Nov 4 08:00:22 PST 2009


On Mon, 2009-11-02 at 07:59 -0500, Andy Oram wrote:
> Thanks for the fuller explanation. HTML 5, by providing containers for multimedia, should also make it easier to generate graphs like this using standard, free technologies. Older browsers, of course, don't support HTML 5, but we can use it as a way to encourage people to update their browsers, which is good for security and other reasons.
> 

we were thinking of a file format for visualising revisions like this:


<?xml version="1.0" encoding='UTF-8'?>
<booki-revision>
	<chapter>additive synthesis</chapter> 
	<manual>pure data</manual>
<url>http://en.flossmanuals.net/bin/view/PureData/AdditiveSynthesis</url>
	<version number="1.1">
		<contributor>Derek Holzer</contributor>
		<date>16 Sep 2008</date>
		<time>4.06</time> 
		<text>
Additive Synthesis

Because Pd adds together the audio signals which come to the inlet of
any audio object, it's simple to add two or more signals together into a
single waveform. Below, we can see what happens when a Sawtooth Wave and
a Sine Wave are added together. The resulting waveform is a combination
of the shapes of both, added together. Note that the two waveforms are
sent to an Audio Multiplication [*~] object, which multiplies the
combined signal by half to reduce the total range of values sent to the
soundcard.

image=osc4

Remember that, at full volume, each oscillator is going from either 0 or
-1  to 1 many times a second. Because most everything in Pd is simply
numbers, any number of signals can be added together. However, if the
combined values of those signals go outside the -1 to 1 range when they
reach the Digital to Analog Converter [dac~] object (i.e. the line out
to the sound card), then clipping and distortion will occur. Any value
outside of the accepted range will simply be treated as a -1 or a 1. You
can see how two combined signals can go outside this range on the graph
in the patch below.

image=osc5

An interesting thing happens when we combine two waveforms whose
frequencies are very close to each other. The combined values of the two
waves interfere with each other, causing a periodic modulation of the
sound. The frequency of this modulation is equal to the difference of
the two original frequencies in Hz. This is known as a "beating
frequency", or "phase interference". The sound of two oscillators
slightly de-tuned from each other is often used for different kinds of
electronic music sounds, such as a "fat" bass effect.

image=osc6
		</text>
	</version>
	<version number="1.2">
		<contributor>Adam Hyde</contributor>
		<date>04 Apr 2009</date>
		<time>23.16</time> 
		<text>
Additive Synthesis

Since Pd adds together the audio signals which come to the inlet of any
audio object, it's simple to add two or more signals together into a
single waveform. Below, we can see what happens when a Sawtooth Wave and
a Sine Wave are added together. The resulting waveform is a combination
of the shapes of both, added together. Note that the two waveforms are
sent to an Audio Multiplication [*~] object, which multiplies the
combined signal by half to reduce the total range of values sent to the
soundcard....[adam:someone put a new image here]

image=osc4

Remember that, at full volume, each oscillator is going from either 0 or
-1  to 1 many times a second. Because most everything in Pd is simply
numbers, any number of signals can be added together. However, if the
combined values of those signals go outside the -1 to 1 range when they
reach the Digital to Analog Converter [dac~] object (i.e. the line out
to the sound card), then clipping and distortion will occur. Any value
outside of the accepted range will simply be treated as a -1 or a 1. You
can see how two combined signals can go outside this range on the graph
in the patch below.

image=osc5

An interesting thing happens when we combine two waveforms whose
frequencies are very close to each other. The combined values of the two
waves interfere with each other, causing a periodic modulation of the
sound. The frequency of this modulation is equal to the difference of
the two original frequencies in Hz. This is known as a "beating
frequency", or "phase interference". The sound of two oscillators
slightly de-tuned from each other is often used for different kinds of
electronic music sounds, such as a "fat" bass effect.

image=osc6 
		</text>
	</version>
	<version number="1.3">
		<contributor>Daniel Shiffman</contributor>
		<date>07 Apr 2009</date>
		<time>00.25</time> 
		<text>
Since Pd adds together the audio signals which come to the inlet of any
audio object, it's simple to add two or more signals together into a
single waveform. Below, we can see what happens when a Sawtooth Wave and
a Sine Wave are added together. The resulting waveform is a combination
of the shapes of both, added together. Note that the two waveforms are
sent to an Audio Multiplication [*~] object, which multiplies the
combined signal by half to reduce the total range of values sent to the
soundcard.

image=osc4

Remember that, at full volume, each oscillator is going from either 0 or
-1  to 1 many times a second. Because most everything in Pd is simply
numbers, any number of signals can be added together. However, if the
combined values of those signals go outside the -1 to 1 range when they
reach the Digital to Analog Converter [dac~] object (i.e. the line out
to the sound card), then clipping and distortion will occur. Any value
outside of the accepted range will simply be treated as a -1 or a 1. You
can see how two combined signals can go outside this range on the graph
in the patch below.

image=osc5

An interesting thing happens when we combine two waveforms whose
frequencies are very close to each other. The combined values of the two
waves interfere with each other, causing a periodic modulation of the
sound. The frequency of this modulation is equal to the difference of
the two original frequencies in Hz. This is known as a "beating
frequency", or "phase interference". The sound of two oscillators
slightly de-tuned from each other is often used for different kinds of
electronic music sounds, such as a "fat" bass effect.

image=osc6
		</text>
	</version>
</booki-revision>


adam


> Andy
> 
> ----- Original Message -----
> From: "adam hyde" <adam at flossmanuals.net>
> To: discuss at lists.flossmanuals.net
> Sent: Monday, November 2, 2009 3:59:33 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [FM Discuss] nicely done
> 
> On Fri, 2009-10-30 at 12:07 -0400, Andy Oram wrote:
> > I know a little bit of the Processing language, but don't feel
> > competent to build a sophisticated application like the Darwin one. I
> > don't quite understand it anyway. I suggest you write up some quick
> > high-level requirements and we can pass it around. Fry likes open
> > source and may help, or suggest someone to help.
> 
> hey,
> 
> I was wanting to see if its possible to make visualisations of the
> progress of a text as it is contributed to over time. i would prefer not
> to use flash, but the same thing could be animated with javascript
> 
> we have in fm the timestamp for edits and the possibility to generate
> diffs on the text by comparing timestamps. booki will have even more
> data available eventually, but to build something that could take as
> input author + timestamp info + contributed text/changes and display it
> over time would be a very interesting tool
> 
> 
> ...
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net


-- 
Adam Hyde
Founder FLOSS Manuals
German mobile : + 49 15 2230 54563
Email : adam at flossmanuals.net
irc: irc.freenode.net #flossmanuals

"Free manuals for free software"
http://www.flossmanuals.net/about





More information about the Discuss mailing list