Forums > MaxMSP

stoping recording, small problem i hope

January 22, 2007 | 2:58 pm

i am trying to get the microphone to stop recording 2 seconds after the first bang but if i put a delay bang to toggle it stops the playback as well. does anybody know how to stop the recording but not the playback?

cheers
james

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 690 693 31 196617 dac~;
#P newex 811 440 48 196617 loadbang;
#P newex 811 469 64 196617 metro 4000;
#P button 713 463 15 0;
#P button 811 501 15 0;
#P newex 711 444 43 196617 onebang;
#B color 5;
#P newex 679 546 61 196617 delay 2000;
#B color 5;
#P button 692 518 15 0;
#P button 678 571 15 0;
#P message 653 598 74 196617 0 , 2000 2000;
#P newex 693 626 30 196617 line~;
#P newex 591 554 73 196617 record~ red 2;
#B color 5;
#P newex 681 655 62 196617 play~ red 2;
#B color 5;
#P user number~ 598 595 637 610 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 716 401 26 0;
#P toggle 692 482 15 0;
#P user ezadc~ 594 493 638 526 0;
#P connect 1 0 0 0;
#P connect 1 0 9 0;
#P connect 14 0 12 0;
#P connect 15 0 14 0;
#P connect 12 0 11 1;
#P connect 11 0 13 0;
#P connect 4 1 16 1;
#P connect 2 0 11 0;
#P connect 7 0 6 0;
#P connect 13 0 1 0;
#P connect 4 0 16 0;
#P connect 6 0 4 0;
#P connect 9 0 10 0;
#P connect 10 0 8 0;
#P connect 8 0 7 0;
#P connect 0 1 5 1;
#P connect 5 0 3 0;
#P connect 0 0 5 0;
#P window clipboard copycount 17;


January 22, 2007 | 3:01 pm

sorry forgot the buffer

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 1013 345 31 196617 clear;
#P newex 1016 380 98 196617 buffer~ red 2000 2;
#P connect 1 0 0 0;
#P window clipboard copycount 2;


January 22, 2007 | 3:25 pm

Dear James,

By default record~ stops recording when it gets to the end anyway. You
need to start record~ by sending a 1 in the left inlet. You can stop it
manually by sending a 0 in the left inlet. The reset message will make
sure that it records from the beginning the next time round. Below is
your patch with only those changes.

Yours truly,
David

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 136 284 29 9109513 reset;
#P newex 136 256 28 9109513 sel 0;
#P newex 89 256 42 9109513 match 1;
#P message 322 339 31 9109513 clear;
#P newex 325 374 98 9109513 buffer~ red 2000 2;
#P newex 231 367 31 9109513 dac~;
#P newex 320 43 48 9109513 loadbang;
#P newex 320 72 64 9109513 metro 4000;
#P button 250 150 15 0;
#P button 320 104 15 0;
#P newex 252 118 43 9109513 onebang;
#B color 5;
#P newex 216 233 61 9109513 delay 2000;
#B color 5;
#P button 229 205 15 0;
#P button 215 258 15 0;
#P message 190 285 74 9109513 0 , 2000 2000;
#P newex 230 313 30 9109513 line~;
#P newex 38 327 73 9109513 record~ red 2;
#B color 5;
#P newex 218 342 62 9109513 play~ red 2;
#B color 5;
#P user number~ 45 368 84 383 9 139 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221
221 222 222 222 0 0 0;
#P button 257 75 26 0;
#P toggle 229 169 15 0;
#P user ezadc~ 38 242 82 275 0;
#P connect 1 0 0 0;
#P connect 1 0 19 0;
#P connect 1 0 20 0;
#P connect 1 0 9 0;
#P connect 21 0 5 0;
#P connect 20 0 21 0;
#P connect 19 0 5 0;
#P connect 18 0 17 0;
#P connect 0 0 5 0;
#P connect 5 0 3 0;
#P connect 0 1 5 1;
#P connect 8 0 7 0;
#P connect 10 0 8 0;
#P connect 9 0 10 0;
#P connect 6 0 4 0;
#P connect 4 0 16 0;
#P connect 13 0 1 0;
#P connect 7 0 6 0;
#P connect 2 0 11 0;
#P connect 4 1 16 1;
#P connect 11 0 13 0;
#P connect 12 0 11 1;
#P connect 15 0 14 0;
#P connect 14 0 12 0;
#P window clipboard copycount 22;

james wrote:
> i am trying to get the microphone to stop recording 2 seconds after the first bang but if i put a delay bang to toggle it stops the playback as well. does anybody know how to stop the recording but not the playback?
>
> cheers
> james
>
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 690 693 31 196617 dac~;
> #P newex 811 440 48 196617 loadbang;
> #P newex 811 469 64 196617 metro 4000;
> #P button 713 463 15 0;
> #P button 811 501 15 0;
> #P newex 711 444 43 196617 onebang;
> #B color 5;
> #P newex 679 546 61 196617 delay 2000;
> #B color 5;
> #P button 692 518 15 0;
> #P button 678 571 15 0;
> #P message 653 598 74 196617 0 , 2000 2000;
> #P newex 693 626 30 196617 line~;
> #P newex 591 554 73 196617 record~ red 2;
> #B color 5;
> #P newex 681 655 62 196617 play~ red 2;
> #B color 5;
> #P user number~ 598 595 637 610 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
> #P button 716 401 26 0;
> #P toggle 692 482 15 0;
> #P user ezadc~ 594 493 638 526 0;
> #P connect 1 0 0 0;
> #P connect 1 0 9 0;
> #P connect 14 0 12 0;
> #P connect 15 0 14 0;
> #P connect 12 0 11 1;
> #P connect 11 0 13 0;
> #P connect 4 1 16 1;
> #P connect 2 0 11 0;
> #P connect 7 0 6 0;
> #P connect 13 0 1 0;
> #P connect 4 0 16 0;
> #P connect 6 0 4 0;
> #P connect 9 0 10 0;
> #P connect 10 0 8 0;
> #P connect 8 0 7 0;
> #P connect 0 1 5 1;
> #P connect 5 0 3 0;
> #P connect 0 0 5 0;
> #P window clipboard copycount 17;
>


January 22, 2007 | 3:27 pm


January 22, 2007 | 4:38 pm

thanks i see what you mean, trouble is that when the bang is sent to toggle to record that toggle stays on, if i send a delay 2 secs later to reset it so it can record agin for the next bang it sends a bang to the play……which isnt good.
????
james


January 22, 2007 | 4:53 pm

all sorted!!! cheers


January 22, 2007 | 10:34 pm

James, given the kinds of questions you’re
asking, I can’t help thinking that a little
time with the tutorials would be a great help
to you. While they may not answer every question,
or answer them in the way you might phrase them,
a good sense of the basics would help you reach
your goals a good deal quicker, and in a less
frustrating manner for you.

Just a word of advice.


January 23, 2007 | 1:24 pm

i have looked at the tutorials, there are certain things that i dont know still, i thought that was what the forum was for, my mistake.


January 23, 2007 | 2:42 pm

On 23-Jan-2007, at 14:24, james wrote:

> i have looked at the tutorials, there are certain things that i
> dont know still, i thought that was what the forum was for, my
> mistake.

The mail list/forum (yes, Virginia, this is also a mail list) has

- experienced users helping each other with highly challenging problems,
- moderately experience users asking fairly standard questions, with
the occasional interesting problem,
- newbies who’ve made an attempt to work through the available
documentation but who ask FAQs and RTFMs, sometimes despite
trying very hard to work out answers for themselves,
- newbies who can’t be bothered to make any effort at all and expect
the list to do everything for them and then complain that Max isn’t
Reaktor.
- and various shades in between and beyond…

There is probably sufficient critical mass to support more than one
list, although Cycling ’74 seems to prefer the one-size-fits-all
approach. As a result I have a burgeoning killfile of people from the
fourth category above.

What I actually wanted to suggest was that, perhaps, Wally & Co.
might want to consider a split into two lists, one for newbies and
one for tough problems?

I was a newbie once, too, and I haven’t forgotten what it was like.
For one thing, the tutorials had a lot more rough spots back then.
But attentive reading (not merely "looking at") would eliminate about
80% of the list traffic.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de


January 23, 2007 | 2:54 pm

There are a couple of problems to this suggestion, which on the
surface describes a very logical and potentially desirable situation:

- No one wants to self-identify as a newbie.
- Who’s going to help the newbies, if all of the experienced users
are sitting at the grown-up table?
- Ergo, anyone who would be willing to condemn themselves to the
beginner’s forum would eventually, out of sheer frustration that
their questions don’t get answered, storm the palace gates and hang
out with the old hands.

I think I prefer the situation as it is, even if it’s not ideal.

jb

Am 23.01.2007 um 15:42 schrieb Peter Castine:

> one for newbies and one for tough problems


January 23, 2007 | 3:36 pm

And leave "urgent" out of your message. There are lots of busy people on
the list and, if they are like me with technology, urgency is almost all the
time. Just ask your question. There are enough people on this list with
all levels of expertise. Most of them/us are generous and willing to take a
stab at an answer. The collective memory of this list is amazing.

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

On 1/23/07 9:54 AM, "Jeremy Bernstein" wrote:

> There are a couple of problems to this suggestion, which on the
> surface describes a very logical and potentially desirable situation:
>
> – No one wants to self-identify as a newbie.
> – Who’s going to help the newbies, if all of the experienced users
> are sitting at the grown-up table?
> – Ergo, anyone who would be willing to condemn themselves to the
> beginner’s forum would eventually, out of sheer frustration that
> their questions don’t get answered, storm the palace gates and hang
> out with the old hands.
>
> I think I prefer the situation as it is, even if it’s not ideal.
>
> jb


January 23, 2007 | 4:07 pm

An acquaintance of mine tells me that one of his
standard pieces of advice to new students is almost
always, "Go back to the documents and sit down
and actually *read* the stuff you skipped over
because you thought it was obvious or easy…."

The clever trainspotter may have noticed that
the title of one of the Max manuals has changed.

It used to be called "Getting Started." It is
now called "Fundamentals." One reason for this
is that whenever one suggested that someone
read the "Getting Started" manual, the standard
response was, "What? You think I’m stupid?"
Apparently, no one thinks that there could be
anything useful in the "Getting Started" bits
of a manual [or, for that matter, the Audio
or How Max Works chapters where things like
turning the dac~ on and off are discussed in
detail, along with signal vector sizes, Overdrive,
and the like]. The hope is that someone somewhere
might be statistically slightly more likely to
actually *read* something called "Fundamentals."

While it’s usually very easy to separate out
cargo-cult patchers [I'll just hook something
up and post to the list if nothing happens]
from new users, one can almost guarantee with
"I’ll bet you a pint" certainty who has and has
not read the basics rather than merely messed with
help files based on a number of errors that all
come down to not knowing what a list is, what a
message is, order of processing, and the like.

And I know this because I was one of those "I
don’t need to know any of this stuff/I never
read anything" people. Screwing around with
help files is no substitute for doing the
tutorials. And skimming them on the bus is no
substitute for actually doing them. While that’s
patently obvious when trying slabbery in Jitter
or making a run at FFTs, it’s no less so for
the more humble everyday things about Max that
you use all day every day. Honest.


January 24, 2007 | 1:35 pm


January 24, 2007 | 10:34 pm

Jeremy Bernstein wrote:
> I think I prefer the situation as it is, even if it’s not ideal.

I agree, and ever so often a newbie answers a newbie with a wrong
advice, then they certainly need both help to sort it out…

Its more a difficulty for the oldies to learn to adapt to it and just
leave out one or another answer… (I am bad at that, it eats too much
of my time…. ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 14 posts - 1 through 14 (of 14 total)