enabling dsp (with adstatus switch) only works when max is active application?

Apr 17, 2007 at 3:11pm

enabling dsp (with adstatus switch) only works when max is active application?

Hi,

Could it be true that enabling dsp by sending a 1 to [adstatus switch] only works when max is the active (as in focused) application?

I’m sending an event from logic to max that triggers a 0 and 1 second later a 1 to [adstatus switch]. On 0, dsp switches off, but on 1, dsp only switches back on if max is active.

Could anyone confirm this?

Thanks,
Mattijs

#31425
Apr 17, 2007 at 3:23pm

Here is a patch to reproduce.

Description: see previous post.

Expected results: dsp can be turned on and off regardless of whether or not max is the active application.

Steps to reproduce are in the patch.

Max 4.6.2. Mac OS 10.4.8.

Is this intended? If so, is there a way to circumvent this?

Greets,
Mattijs

#P toggle 52 116 15 0;
#P newex 52 96 55 196617 pipe 2000;
#P toggle 52 79 15 0;
#P user ezdac~ 52 134 96 167 0;
#P window linecount 2;
#P comment 51 36 405 196617 1) enable the toggle and don’t move. 2 seconds later , the audio is turned on. 2) disable the toggle , then cmd+tab to another application –> audio is not turned off.;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 1 0;

#102150
Apr 17, 2007 at 3:56pm

Mattijs Kneppers 17:11 07.04.17

| Could it be true that enabling dsp by sending a 1 to [adstatus switch]
| only works when max is the active (as in focused) application?
|
| I’m sending an event from logic to max that triggers a 0 and 1 second
| later a 1 to [adstatus switch]. On 0, dsp switches off, but on 1, dsp
| only switches back on if max is active.
|
| Could anyone confirm this?

i can. i asked about it on the list a few weeks ago but no one responded.

peter

max4.6.2/jitter(latest)/macos10.4.8

#102151
Apr 17, 2007 at 3:57pm

#102152
Apr 17, 2007 at 4:09pm

#102153
Apr 18, 2007 at 9:35am

#102154
Apr 18, 2007 at 9:40am

confirmed

Max 4.6.2, G5, OS X 10.4.9

#102155
Apr 18, 2007 at 10:30am

#102156
Apr 18, 2007 at 10:30am

I cannot confirm.

XP, maxmsp 4.6.2, jitter 1.6.3b2

Andreas

#102157
Apr 18, 2007 at 10:45am

#102158
Apr 18, 2007 at 10:55am

Quote: jln wrote on Wed, 18 April 2007 12:30
—————————————————-
> For information, dac~ works as expected. So yes, this ezdac~ can be
> considered as a bug, but is it that annoying ?
>
> I got the same result with both the built-in audio and my Firepod.

mmm…. not completely true. I can turn off dsp when Max is not the active application as described in my previous post, but the opposite is not true.

Ex.:
Setting toggle on then cmd-tab to another app.; the second toggle is set to on, but dsp is not turned on. Don’t know if this situation is a problem for you, but there’s a problem, for sure.

Best,
Julien.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 121 342 114 196617 print “is DSP active ?”;
#P newex 397 193 104 196617 print “am i active ?”;
#P newex 397 163 38 196617 active;
#P newex 254 108 61 196617 cycle~ 220;
#P button 52 229 15 0;
#P user umenu 52 285 44 196647 1 64 301 0;
#X add Off;
#X add On;
#P newex 52 251 79 196617 adstatus switch;
#B color 5;
#P window linecount 2;
#P comment 69 223 116 196617 report whether audio processing is on or off;
#P comment 98 281 86 196617 turn audio processing on/off;
#P user panel 45 273 147 41;
#X brgb 255 255 255;
#X frgb 100 202 30;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P user ezdac~ 220 169 264 202 0;
#P window linecount 1;
#P newex 162 179 31 196617 dac~;
#P newex 162 106 39 196617 noise~;
#P toggle 52 116 15 0;
#P newex 52 96 55 196617 pipe 2000;
#P toggle 52 79 15 0;
#P fasten 9 1 15 0 126 322 126 322;
#P connect 13 0 14 0;
#P connect 12 0 5 1;
#P fasten 10 0 9 0 57 318 27 318 27 247 57 247;
#P connect 11 0 9 0;
#P connect 9 0 10 0;
#P connect 3 0 4 0;
#P connect 1 0 2 0;
#P connect 0 0 1 0;
#P connect 2 0 4 0;
#P connect 2 0 11 0;
#P window clipboard copycount 16;

#102159
Apr 18, 2007 at 12:00pm

Quote: jln wrote on Wed, 18 April 2007 12:55
—————————————————-
> Ex.:
> Setting toggle on then cmd-tab to another app.; the second toggle is set to on, but dsp is not turned on. Don’t know if this situation is a problem for you, but there’s a problem, for sure.

Thanks for confirming, Julien. This is definitly a problem for me. I need to be able to turn dsp on and off while max is not the active program. Off will work, but on won’t.

Summarizing, two confirmed problems:

1) graphics of the ezdac~ object don’t update at all when max is not the active program

2) switching dsp on doesn’t work when max is not the active program

I would greatly appreciate if someone from cycling 74 could confirm this.

Thanks,
Mattijs

#102160
Apr 18, 2007 at 12:31pm

With [adc~] and [dac~] audio does turn off, but not on.

With [ezdac~] happens the same, but the state doesn’t change.

–edit: should have pressed ‘post’ earlier….

#102161
Apr 20, 2007 at 3:21am

Mac only, audio does not turn on when MaxMSP does not have focus.

Also, ezdac~ is not updating correctly.

I can’t think of a sensible workaround Matthis – rewrite your patch? Get a PC?

:)

We’ll have a look at it but don’t hold your breath.

-A

#102162
Apr 20, 2007 at 8:16am

Thanks Andrew,

Is it possible for you to let us know when you had a look? It’s important for us to be certain whether or not this will be fixed. If this proves permanent I’ll have to rewrite a significant part of the progam we’ve been working on this last month. Please let us know your findings..

- Mattijs

Quote: Andrew Pask wrote on Fri, 20 April 2007 05:21
—————————————————-
>
>
> Mac only, audio does not turn on when MaxMSP does not have focus.
>
> Also, ezdac~ is not updating correctly.
>
> I can’t think of a sensible workaround Matthis – rewrite your patch? Get a PC?
>
> :)
>
> We’ll have a look at it but don’t hold your breath.
>
> -A
>
>
—————————————————-

#102163
May 21, 2007 at 8:44am

Looks like it has been fixed in 4.6.3!

#102164
Jul 12, 2013 at 11:48am

The bug exists in 5.19. Audio turns off but not on with adc~ object

#255808

You must be logged in to reply to this topic.