I prepared a very simple patch trying to apply an ADSR envelope to an oscilator. Why it sounds nothing?
http://w14.easy-share.com/1702668793.html
(Almost absoulte begginer, be patient!
A very simple ADSR example not working
I prepared a very simple patch trying to apply an ADSR envelope to an oscilator. Why it sounds nothing?
http://w14.easy-share.com/1702668793.html
(Almost absoulte begginer, be patient!
You wrote adsr as a subpatch to testadsr.pd instead of its own patch. As such it doesn't receive creation values (the values for attack, decay etc). Try copying the content in the subpatch (adsr) into it's own patch, save it as asdr.pd. Then in testadsr.pd just remove pd, leave it just as
adsr 1 100 200 50 300
that would be adsr.pd, not asdr.pd
You can't use creation arguments like you have in an abstraction. hook up some loadbangs with values into it.
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
snap
Dual 1.8 IBM G5: Mac OSX 10.4.11 -- Asus eeePC 701: Pure:Dyne / eeeXubuntu GNU/Linux -- myspace.com/thearifd
by the way, you can attach your patches to posts on this forum. no need to use external hosting.
if you have multiple patches inside a folder, then just use .zip
You create inlets within your subpatch; one for each parameter Attack, Decay, etc... Then in the parent window you attatch message boxes to each inlet, that contain the initial values you want for each parameter. Then, you create a [loadbang] object, and connect its outlet to each of the message boxes.
The [loadbang] object outputs a bang when a patch is loaded, this bang tells the message boxes to send their values to your adsr subpatch.
http://www.dafe.lukifer.net/pdpatches/crazymachineredux/envelope.pd
heres a little adsr patch I wrote a while ago. I like yours, and am going to take some ideas from it. I'll post a gestalt in a few.
any technology distinguishable from magic
is insufficiently advanced.
Oops! Looks like something went wrong!