Forums > MaxMSP

new user, question about storing numbers

July 11, 2006 | 2:57 am

Hi new user here, having problems with storing numbers in max.

Up till now i was using tables in order to store the result of some
simple trigonometric expressions .
I have been using zmap to convert and scale the float numbers into integers before storing them.
However since i now think that i want to work with msp i am looking for a way to store these as floats, and afterwards decide how to scale them.
Is there an object i could use to do so ?

Sorry if this is obvious but i am still learing the program and perhaps i’ve missed something.

Thanks

Ph


July 11, 2006 | 5:34 am

[coll] the most obvious

[capture] can capture numbers and other stuff too

[mtr] if recalling the numbers is not too timecritical

(messageboxes) of ($1, $2, $3, $4) style also store
values recieves as elements of a list ( (7 777 5 555) )

[f] if you want to store them one by one

or eventually : convert them to a signal using peek~,
buffer~, and play~/groove~.

-110.0


July 11, 2006 | 6:06 am

Hi roman and thanks for your help.

Actually i had just found coll, my only problem with it is however that i cannot check the max and min values on order to scale them .

What i want to do is generate some sort of ‘score’ and then access it simultanuously in different timescales.
I’ll check your other suggestions, perhaps something might do the trick.
cheers

ph


July 11, 2006 | 7:43 am


July 11, 2006 | 8:05 am

On 11-Jul-2006, at 4:57, Greg wrote:
> However since i now think that i want to work with msp i am looking
> for a way to store these as floats, and afterwards decide how to
> scale them.
> Is there an object i could use to do so ?

coll.

You should look at the Max Object Thesaurus for other ideas.

– P.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter

iCE: Sequencing, Recording & |home | chez nous|
Interface Building for |bei uns | i nostri|
Max/MSP Extremely cool http://www.castine.de

http://www.dspaudio.com/


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