[PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Pierre Massat
Dear list,

I feel very happy and pretty stupid at the same time. I've been trying to
make a simple sound-on-sound looper for a while now. I've search on the
web but i haven't any really convincing. Most what i've found was
complaints about the fact that it was difficult to achieve with tables, and
that delay lines couldn't be flushed.

Well, I just discovered that it was actually possible to read from and
write to the same array at the same time. I thought it was impossible (i'd
never even tried, to be honest). So here's my (probably stupid) question :
is this a feature ?
If it is that could probably explain why I didn't find much about loopers
in Pd, since it is very straightforward.

Cheers,
Pierre
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Claude Heiland-Allen
On 03/08/13 17:11, Pierre Massat wrote:
 Well, I just discovered that it was actually possible to read from and
 write to the same array at the same time. I thought it was impossible (i'd
 never even tried, to be honest). So here's my (probably stupid) question :
 is this a feature ?

Yes, it works fine due to the topological sort of the DSP graph into a
DSP chain - but DSP is block-based, so be aware that each block is read
as a whole before it is written - this probably only matters if you
wanted to write to a different location for non-block-sized feedback
effects.  Also you might have little glitchy issues when table length
isn't an exact multiple of the block size.

There are some examples of [tabreceive~]--stuff--[tabsend~] in the docs,
probably in the FFT section of the manual.

A simple looper might be a [tabplay~]--stuff--[tabwrite~] thing with the
tabplay~ and tabwrite~ both triggered from the same source, and
retriggerd by the tabplay~ done bang...

 If it is that could probably explain why I didn't find much about loopers
 in Pd, since it is very straightforward.


Claude
-- 
http://mathr.co.uk


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Pierre Massat
Hi Claude,

This is exactly what i did, having made sure beforehand that my table size
is a multiple of 64. I didn't now it was that easy !

cheers,

Pierre.


2013/8/3 Claude Heiland-Allen cla...@mathr.co.uk

 On 03/08/13 17:11, Pierre Massat wrote:
  Well, I just discovered that it was actually possible to read from and
  write to the same array at the same time. I thought it was impossible
 (i'd
  never even tried, to be honest). So here's my (probably stupid) question
 :
  is this a feature ?

 Yes, it works fine due to the topological sort of the DSP graph into a
 DSP chain - but DSP is block-based, so be aware that each block is read
 as a whole before it is written - this probably only matters if you
 wanted to write to a different location for non-block-sized feedback
 effects.  Also you might have little glitchy issues when table length
 isn't an exact multiple of the block size.

 There are some examples of [tabreceive~]--stuff--[tabsend~] in the docs,
 probably in the FFT section of the manual.

 A simple looper might be a [tabplay~]--stuff--[tabwrite~] thing with the
 tabplay~ and tabwrite~ both triggered from the same source, and
 retriggerd by the tabplay~ done bang...

  If it is that could probably explain why I didn't find much about loopers
  in Pd, since it is very straightforward.


 Claude
 --
 http://mathr.co.uk


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Two new PD compositions

2013-08-03 Thread Scott Nordlund
I've got two recent hour-length PD compositions available. More should be 
coming fairly soon.

http://acreil.bandcamp.com/album/flutter-straight-on-the-nine-miles

This one is based on the harmonic series of 30 Hz. Shorter excerpt: 
https://www.youtube.com/watch?v=6XAg1cc7tHY

http://acreil.bandcamp.com/album/hg-iterated-glass-entering-3e2

This uses granular synthesis and feedback delay network resonators. Shorter 
excerpt: https://www.youtube.com/watch?v=szSV2jMMevU
  ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list