Re: [PD] know if audio is in patch?
You can also just take the leap and use this in Pd-l2ork: [dsp( <-- global dsp status for the running pd instance|[pdinfo]| On Wednesday, March 30, 2016 11:24 AM, katjawrote: In [output~] included with cyclone it always works. The fix was introduced a while ago but after Pd-E's last release. Katja On Wed, Mar 30, 2016 at 5:10 PM, Matt Barber wrote: > It will only work after the first time dsp is set with one of those > [output~] objects loaded, though, right? > > On Wed, Mar 30, 2016 at 10:56 AM, Alexandre Torres Porres > wrote: >> >> yep, it's for patches without [output~] - but I didn't really know it had >> that kind os (and similar) logic, thanks >> >> cheers >> >> 2016-03-30 5:29 GMT-03:00 katja : >>> >>> Alexandre, a dsp switch with similar functionality is already embedded >>> in cyclone's output~.pd abstraction. See subroutine [pd dsp logic]. >>> Maybe you didn't see it working because the toggle is so small? The >>> GUI is equivalent to Pd-extended's shared output~.pd. You could give >>> the toggle a contrasting color or resize to catch attention. In any >>> case there's no need to put an extra dsp switch in patches with >>> output~.pd. >>> >>> Katja >>> >>> On Tue, Mar 29, 2016 at 9:17 PM, Alexandre Torres Porres >>> wrote: >>> > sure, had to work on it ;) >>> > >>> > this is based on pddp/dsp for a series of help patches that will be >>> > on/off >>> > according to dsp state >>> > >>> > cheers >>> > >>> > 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig : >>> >> >>> >> On 2016-03-29 01:53, Alexandre Torres Porres wrote: >>> >> > well, found a way >>> >> >>> >> sigh... >>> >> do you mind sharing your findings, so that other people may know as >>> >> well? >>> >> >>> >> fgm,asdr >>> >> IOhannes >>> >> >>> >> >>> >> ___ >>> >> Pd-list@lists.iem.at mailing list >>> >> UNSUBSCRIBE and account-management -> >>> >> http://lists.puredata.info/listinfo/pd-list >>> >> >>> > >>> > >>> > ___ >>> > Pd-list@lists.iem.at mailing list >>> > UNSUBSCRIBE and account-management -> >>> > http://lists.puredata.info/listinfo/pd-list >>> > >> >> >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
In [output~] included with cyclone it always works. The fix was introduced a while ago but after Pd-E's last release. Katja On Wed, Mar 30, 2016 at 5:10 PM, Matt Barberwrote: > It will only work after the first time dsp is set with one of those > [output~] objects loaded, though, right? > > On Wed, Mar 30, 2016 at 10:56 AM, Alexandre Torres Porres > wrote: >> >> yep, it's for patches without [output~] - but I didn't really know it had >> that kind os (and similar) logic, thanks >> >> cheers >> >> 2016-03-30 5:29 GMT-03:00 katja : >>> >>> Alexandre, a dsp switch with similar functionality is already embedded >>> in cyclone's output~.pd abstraction. See subroutine [pd dsp logic]. >>> Maybe you didn't see it working because the toggle is so small? The >>> GUI is equivalent to Pd-extended's shared output~.pd. You could give >>> the toggle a contrasting color or resize to catch attention. In any >>> case there's no need to put an extra dsp switch in patches with >>> output~.pd. >>> >>> Katja >>> >>> On Tue, Mar 29, 2016 at 9:17 PM, Alexandre Torres Porres >>> wrote: >>> > sure, had to work on it ;) >>> > >>> > this is based on pddp/dsp for a series of help patches that will be >>> > on/off >>> > according to dsp state >>> > >>> > cheers >>> > >>> > 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig : >>> >> >>> >> On 2016-03-29 01:53, Alexandre Torres Porres wrote: >>> >> > well, found a way >>> >> >>> >> sigh... >>> >> do you mind sharing your findings, so that other people may know as >>> >> well? >>> >> >>> >> fgm,asdr >>> >> IOhannes >>> >> >>> >> >>> >> ___ >>> >> Pd-list@lists.iem.at mailing list >>> >> UNSUBSCRIBE and account-management -> >>> >> http://lists.puredata.info/listinfo/pd-list >>> >> >>> > >>> > >>> > ___ >>> > Pd-list@lists.iem.at mailing list >>> > UNSUBSCRIBE and account-management -> >>> > http://lists.puredata.info/listinfo/pd-list >>> > >> >> >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
yep, it's for patches without [output~] - but I didn't really know it had that kind os (and similar) logic, thanks cheers 2016-03-30 5:29 GMT-03:00 katja: > Alexandre, a dsp switch with similar functionality is already embedded > in cyclone's output~.pd abstraction. See subroutine [pd dsp logic]. > Maybe you didn't see it working because the toggle is so small? The > GUI is equivalent to Pd-extended's shared output~.pd. You could give > the toggle a contrasting color or resize to catch attention. In any > case there's no need to put an extra dsp switch in patches with > output~.pd. > > Katja > > On Tue, Mar 29, 2016 at 9:17 PM, Alexandre Torres Porres > wrote: > > sure, had to work on it ;) > > > > this is based on pddp/dsp for a series of help patches that will be > on/off > > according to dsp state > > > > cheers > > > > 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig : > >> > >> On 2016-03-29 01:53, Alexandre Torres Porres wrote: > >> > well, found a way > >> > >> sigh... > >> do you mind sharing your findings, so that other people may know as > well? > >> > >> fgm,asdr > >> IOhannes > >> > >> > >> ___ > >> Pd-list@lists.iem.at mailing list > >> UNSUBSCRIBE and account-management -> > >> http://lists.puredata.info/listinfo/pd-list > >> > > > > > > ___ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
It will only work after the first time dsp is set with one of those [output~] objects loaded, though, right? On Wed, Mar 30, 2016 at 10:56 AM, Alexandre Torres Porreswrote: > yep, it's for patches without [output~] - but I didn't really know it had > that kind os (and similar) logic, thanks > > cheers > > 2016-03-30 5:29 GMT-03:00 katja : > >> Alexandre, a dsp switch with similar functionality is already embedded >> in cyclone's output~.pd abstraction. See subroutine [pd dsp logic]. >> Maybe you didn't see it working because the toggle is so small? The >> GUI is equivalent to Pd-extended's shared output~.pd. You could give >> the toggle a contrasting color or resize to catch attention. In any >> case there's no need to put an extra dsp switch in patches with >> output~.pd. >> >> Katja >> >> On Tue, Mar 29, 2016 at 9:17 PM, Alexandre Torres Porres >> wrote: >> > sure, had to work on it ;) >> > >> > this is based on pddp/dsp for a series of help patches that will be >> on/off >> > according to dsp state >> > >> > cheers >> > >> > 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig : >> >> >> >> On 2016-03-29 01:53, Alexandre Torres Porres wrote: >> >> > well, found a way >> >> >> >> sigh... >> >> do you mind sharing your findings, so that other people may know as >> well? >> >> >> >> fgm,asdr >> >> IOhannes >> >> >> >> >> >> ___ >> >> Pd-list@lists.iem.at mailing list >> >> UNSUBSCRIBE and account-management -> >> >> http://lists.puredata.info/listinfo/pd-list >> >> >> > >> > >> > ___ >> > Pd-list@lists.iem.at mailing list >> > UNSUBSCRIBE and account-management -> >> > http://lists.puredata.info/listinfo/pd-list >> > >> > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
Alexandre, a dsp switch with similar functionality is already embedded in cyclone's output~.pd abstraction. See subroutine [pd dsp logic]. Maybe you didn't see it working because the toggle is so small? The GUI is equivalent to Pd-extended's shared output~.pd. You could give the toggle a contrasting color or resize to catch attention. In any case there's no need to put an extra dsp switch in patches with output~.pd. Katja On Tue, Mar 29, 2016 at 9:17 PM, Alexandre Torres Porreswrote: > sure, had to work on it ;) > > this is based on pddp/dsp for a series of help patches that will be on/off > according to dsp state > > cheers > > 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig : >> >> On 2016-03-29 01:53, Alexandre Torres Porres wrote: >> > well, found a way >> >> sigh... >> do you mind sharing your findings, so that other people may know as well? >> >> fgm,asdr >> IOhannes >> >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
This was my solution. On Tue, Mar 29, 2016 at 4:17 PM, Alexandre Torres Porreswrote: > well, they're included in a series of help files where all block sizes are > 64 ;) > > 2016-03-29 16:27 GMT-03:00 IOhannes m zmölnig : > >> On 03/29/2016 09:17 PM, Alexandre Torres Porres wrote: >> > sure, had to work on it ;) >> > >> > this is based on pddp/dsp for a series of help patches that will be >> on/off >> > according to dsp state >> >> unfortunately, this doesn't work reliably. >> e.g. if this is loaded in a patch containing [block~ 8192] it will >> detect audio as OFF. >> >> i find that the attached version works more reliable, though it will >> also take some time to fetch the DSP state (rather than being able to >> report it *now*) >> >> gfamdsr >> IOhannes >> >> ___ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > loaddspstatus~-help.pd Description: Binary data loaddspstatus~.pd Description: Binary data ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
On 03/29/2016 09:17 PM, Alexandre Torres Porres wrote: > sure, had to work on it ;) > > this is based on pddp/dsp for a series of help patches that will be on/off > according to dsp state unfortunately, this doesn't work reliably. e.g. if this is loaded in a patch containing [block~ 8192] it will detect audio as OFF. i find that the attached version works more reliable, though it will also take some time to fetch the DSP state (rather than being able to report it *now*) gfamdsr IOhannes #N canvas 724 330 450 300 10; #N canvas 539 239 450 300 check 0; #X obj 59 20 bang~; #X msg 59 53 1; #X obj 59 105 t f; #X obj 144 63 r pd; #X obj 144 84 route dsp; #X obj 59 149 outlet; #X obj 59 127 change -1; #X obj 59 80 change -1; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 2 0 6 0; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 6 0 5 0; #X connect 7 0 2 0; #X restore 56 54 pd check dsp; #X obj 106 139 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 240 64 dsp_check; #X connect 0 0 1 0; #X coords 0 -1 1 1 85 60 1 100 100; signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
sure, had to work on it ;) this is based on pddp/dsp for a series of help patches that will be on/off according to dsp state cheers 2016-03-29 3:40 GMT-03:00 IOhannes m zmoelnig: > On 2016-03-29 01:53, Alexandre Torres Porres wrote: > > well, found a way > > sigh... > do you mind sharing your findings, so that other people may know as well? > > fgm,asdr > IOhannes > > > ___ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > dsp_check.pd Description: Binary data ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
On 2016-03-29 01:53, Alexandre Torres Porres wrote: > well, found a way sigh... do you mind sharing your findings, so that other people may know as well? fgm,asdr IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
well, found a way 2016-03-28 20:27 GMT-03:00 Alexandre Torres Porres: > subject should have been "know if audio is on/off in patch?" > > :P > > 2016-03-28 20:25 GMT-03:00 Alexandre Torres Porres : > >> hi, how can you know when you load a patch if the audio is on or off in >> vanilla? can you do it in extended via some external? >> >> thanks >> > > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] know if audio is in patch?
subject should have been "know if audio is on/off in patch?" :P 2016-03-28 20:25 GMT-03:00 Alexandre Torres Porres: > hi, how can you know when you load a patch if the audio is on or off in > vanilla? can you do it in extended via some external? > > thanks > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] know if audio is in patch?
hi, how can you know when you load a patch if the audio is on or off in vanilla? can you do it in extended via some external? thanks ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list