On Wed, Aug 31, 2011 at 11:51:34PM -1000, Rick T wrote:
I have two signals Signal B and Signal C that I would like to append, which would create a joined signal called Signal D. I can create Signal B and Signal C but the questions I have is:
I created a image that may help explain it better http://dl.dropbox.com/u/6576402/questions/flowchart_joined2.jpg
- How do I append one signal onto the end of another. (see image labelled
- How can I vary Signal D's Frequency, Amplitude, and Phase? (See image
labelled 3)
Attached are two example approaches to this problem. Both involve a phasor signal that is split into two phasors which are out of phase by half a period using [-~ 0.5] and [wrap~]. You can use these two phasors to alternately play two tables with tabread~, if your source signals are in tables, see combine-tables.pd
If your source signals are not in tables, combine-signals.pd shows a crude switching between two signals using square waves out of phase with each other. You make these square waves from a phasor wrapped out of phase with itself just like above. (Of course you can also just use one square wave which you multiply by -1 and shift up by [+~ 1] after creation.)
Frank