Re: a good one

2002-07-06 Thread Sjoerd Op 't Land

Yates, Glen wrote/ schreef:

> What problem?
> 
> 82.845 rounded to 2 decimal places should round to 82.84
> 
> Think about it, if you use the more simplistic method of always rounding
> perfect halves up, then you artificially skew your data upward. Perfect
> halves are exactly half way between the next lower number and the next
> higher one, so why would you always round up? The higher number is no closer
> than the lower one.
In MC you can choose:

round(2.5) --> 3
statround(2.5) --> 2
 
> -Glen Yates
Regards, / Groeten,
Sjoerd

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Images and Image Data

2002-07-06 Thread Yennie

I have a strong feeling that this won't be fixable- since imageData points to 
actual bytes in memory which happen to lie differently on Windows and Mac 
platforms.
Luckily, once can always test "the platform" and proceed accordingly- I think 
you'll find Macs agree with UNIX and LINUX, and Windows is the odd-ball.

Brian

<< My pleasure, but I just discovered that the order of bytes in the imageData

is *different* on Windows than it is on Mac. On Windows it's BGRO, and on

Mac, it's ORGB. Something having to do with "big endian/little endian"

issues, I believe. This has already been sent to Scott; hopefully it will be

fixed soon. >>

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Midi xcmds

2002-07-06 Thread erik hansen


--- Kurt Kaufman <[EMAIL PROTECTED]> wrote:

> The routines allow you to produce MIDI files by
> step-entry on an 
> on-screen keyboard, but at this point not by
> recording live performance 
> on an external keyboard.  You can then open
> those MIDI files in a 
> sequencer, but the routines don't send the data
> to a specific port.
> The idea is that others will be able to modify
> the routines to suit their needs as well.

the sequencing software is on a hard disk rather
than in a box, right? output via MIDI cables is
the most stable from the standpoint of a box ,
but that would all come from the sequencing
software.

i would be happy to buy this kind of a product
and focus on MC scripting. will this be available
fairly soon?

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Images and Image Data

2002-07-06 Thread Ken Ray

My pleasure, but I just discovered that the order of bytes in the imageData
is *different* on Windows than it is on Mac. On Windows it's BGRO, and on
Mac, it's ORGB. Something having to do with "big endian/little endian"
issues, I believe. This has already been sent to Scott; hopefully it will be
fixed soon.

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 06, 2002 2:21 PM
Subject: Re: Images and Image Data


> << Brian, that's awesome! How long have you know this and not told anyone?
> ;-) >>
>
> For about 10 minutes after I played with much uglier scripts (try building
> aData by concatenating it with itself- binary speed but UGLY script).
> And about 10 minutes before I posted it =).
>
> Anyway, thanks for being the intrepid soul to start the ball rolling.
>
> Brian
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Menu Bar Help under 2.4.3B2X

2002-07-06 Thread Richard MacLemale

I've built an app with 2.4.3B2X and it's ready to go, but the menus are
working funky.  I have just two menus... File and Help.  But when I choose
an item from my Help menu, the menu bar reverts to MC's standard menu bar
while it displays my help, then switches back to my menu bar.  And though I
put Quit in the File menu, it doesn't actually show up there.  Weird.  And
when I build a standalone, the app runs fine, but none of the menus do
ANYTHING.  

I don't think I've done anything wrong, because I've built menu bars
countless times the exact same way.  I even used MC's built-in menu bar
tool, but got the same effect.  So is there a mystery to this process, is
this a beta bug, did I miss something?  Any help appreciated, as usual.

-- 
:)
Richard MacLemale
Network Administrator
J. W. Mitchell High School

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Images and Image Data

2002-07-06 Thread Yennie

<< Brian, that's awesome! How long have you know this and not told anyone? 
;-) >>

For about 10 minutes after I played with much uglier scripts (try building 
aData by concatenating it with itself- binary speed but UGLY script).
And about 10 minutes before I posted it =).

Anyway, thanks for being the intrepid soul to start the ball rolling.

Brian
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Images and Image Data

2002-07-06 Thread Yennie

<< set the blendlevel of img "someimage" to 75 >>

Because alphaData is our new favorite toy!
No, seriously- the only reason I can think of would be to allow the use of an 
ink other than "blend". Or, to get more complex and vary the opacity across 
the image.

I don't suggest replacing blendLevel with an alphaData solution, unless you 
are shooting for something more complex. Of course, it doesn't hurt either.

Apples and oranges, mostly.

Brian
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: OS X Icons?

2002-07-06 Thread Mark Talluto


On Friday, July 5, 2002, at 05:55 PM, [EMAIL PROTECTED] wrote:

> Somehow, I just don't get it, knowing Mac's SImplicity.  How do I 
> change the
> Icon of the standalone in OSX.  I used to be able to copy and paste 
> with the
> old system. Somehow I am puzzled by this simple issue.
>
> scott
>

Scott,

It is because it is not very simple when compared to the other OS 
including OS 7-9 and Win.  It can be hard to explain in text.  I have 
been thinking of capturing my screen with SnapsPro showing the process.  
I am need to do that whole process early next week anyways.  To capture 
and notate what I am doing would be no problem if you or anyone else 
would like a copy of the video (QT e-mailed or stored on a web-site).



Best regards,
Mark Talluto

1536 W. 25th St. #278
San Pedro, CA 90732
tel: (310) 547-4718
fax: (310) 547-5213
www.canelasoftware.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Midi xcmds

2002-07-06 Thread Kurt Kaufman


"...so you can send [MIDI data], and will be able to receive
later"

The routines allow you to produce MIDI files by step-entry on an 
on-screen keyboard, but at this point not by recording live performance 
on an external keyboard.  You can then open those MIDI files in a 
sequencer, but the routines don't send the data to a specific port.
The idea is that others will be able to modify the routines to suit 
their needs as well.

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard