top of page

Maxcalc


Today i am demonstrating my own calculator.

I created that calculator using Visual Basic 6.0 because I wanted a portable lightweight application. Indeed it can run natively from Windows 95 until now, without having to update or install anything else.

It is small and always on top so that I can always have access to it while doing my other tasks.

The syntax is Matlab like, but it is not as picky so you can type equation in a hurry. For examples:

1-You don’t have to close the braces. (Typing: “2*(1+1” is equivalent to “2*(1+1)”)

2-It evaluate as you type so you can correct in real time. (No waste of time by pressing “Enter” for every equation)

3-It assumes a default value that makes sense when a value is missing for most equation. (“1+” is the same as “1+0”, but “1*” is the same as “1*1”. So if you start a long sequence of sum or multiplication it won’t bother you with trailing operator.)

4-It is a normally a one liner, although more complex equation can be performed while recalling previous equations using the Max’s special character $ and #.

I have many features such as:

1-Arrays (limited to 1 dimension in the syntax) (Example: ”(1,2,3)^2 = 1,4,9” which is handy for repetitive calculation. Furthermore a simple F7 key press show those value on a graph.

2-Support FFTs

3-Support Images, wav, txt files

4-Support Clipboard

5-Support Command line

6-Can perform animations for an extra dimension J

7-Support Sound Card access (Although limited in performance)

8-Support visual studio like F2 key to list commands that match actual beginning of equation.

Example of more complex possibility:

The following equations animate a frequency and its associate spectrum:

"loop(0.1,1:5);64;sin($1*(1:$2)/$2*2*pi);plot($3);plot(norm(hfft($3"

Multiple small equations are involved here. There is the break-out to understand:

loop(0.1,1:5);

Perform a loop at maximum speed for value 1 to 5

64;

A constant

sin($1*(1:$2)/$2*2*pi);

Calculate a time signal. ($ recall previous outputs separated by ;)

plot($3);

Plot previous time signal created

plot(norm(hfft($3

Plot the magnitude of the fft of the time signal previously generated.

If you are interested in the application I have started a source forge project at: https://sourceforge.net/projects/maxcalc/

Feel free to give it a try! Its free and it will always be. And don't worry, the complete used guide is given for all equations and their synthax.

Featured Posts
Recent Posts
Archive
Search By Tags
bottom of page