new user, question about storing numbers

Jul 11, 2006 at 2:57am

new user, question about storing numbers

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

#26751
Jul 11, 2006 at 5:34am

[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

#80361
Jul 11, 2006 at 6:06am

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

#80362
Jul 11, 2006 at 7:43am

#80363
Jul 11, 2006 at 8:05am

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/

#80364

You must be logged in to reply to this topic.