News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

A Teaching Toy: Sine wave harmonics demo

Started by NoCforMe, July 03, 2024, 06:20:42 AM

Previous topic - Next topic

NoCforMe

A li'l educational toy that shows how adding odd harmonics to a sine wave changes it into a square wave. (A concept that I still find to be pretty kewl.) Source included. It's ugly (well, except for the graph display which is nice: no "visual styles" applied) but works well.
Assembly language programming should be fun. That's why I do it.

NoCforMe

This one runs continuously, therefore much more dramatic: you can watch the contours of the wave changing, the ringing and overshoot diminishing.

Tell me if you think it should run faster or slower (or have the time delay user-settable).
Assembly language programming should be fun. That's why I do it.

HSE

Equations in Assembly: SmplMath

zedd151

Quote from: HSE on July 04, 2024, 12:10:40 AMThis is not Microsot 64 bit MASM
Neither is Ketil Olsen's Resed version 2.2.0.8  :greensml:
Blame hutch-- as this board should have been in a more general section, not in the "Microsot 64 bit MASM" section - hutch himself put that 32 bit program here.
I have no quarrel with posting 32 bit stuff "Tools & Toys" here, but it is an odd 'look' being that it is in the 64 bit Masm section.
"We are living in interesting times"   :tongue:

HSE

Equations in Assembly: SmplMath

zedd151

Quote from: HSE on July 04, 2024, 12:38:39 AMYou can use Resed for 64 bits programming.
I guess that is a valid point, but the board description doesn't say that what is posted is only meant for programming related "tools and toys", apparently it just has to be "useful from time to time". Someone might find this useful, as it seems it is intended as a teaching aid.  :biggrin:
"We are living in interesting times"   :tongue:

NoCforMe

Well, if there's a more appropriate place for this, that's fine w/me.
I actually didn't notice that the parent of this subforum was 64-bit. Seems like there should be some general-purpose place for toys like this regardless of their bitness.
Assembly language programming should be fun. That's why I do it.

stoo23

I've changed the 'Descriptor' for this section.

Would you be happy if I Moved this thread here: Miscellaneous Projects ??
Your earlier VU meter is there  :smiley:

If so, I'll tidy it up and Move it.

NoCforMe

Well, if I had my druthers this would go somewhere with "Toys" in its title. If that isn't possible, do whatever you think is right.
Assembly language programming should be fun. That's why I do it.

stoo23

Quotethis would go somewhere with "Toys" in its title
Hmmm, well, I perhaps tend to agree and am more than happy to Create a New "Toys" section somewhere but then,.. there could realistically be a whole HEAP of stuff that should be moved there from some other less than ideal current locations,... which, ... I am also ok with,..but would simply need reviewing by all and sundry to help get stuff in the correct places etc  :smiley:

Happy to hear any other suggestions of where a "Toys" section could or should be created  :smiley:

jj2007

I vote for The Workshop. We have already too many tiny unused sub-sections.

stoo23

#11
QuoteI vote for The Workshop
thanks jj, do you mean as the place to Move this thread to or the section to Create a "Toys" sub-section in ??
Am assuming from this;
QuoteWe have already too many tiny unused sub-sections
, perhaps Not  :smiley:

I don't think too many sections is particularly an issue per se, as long as what is created and containing is appropriate and suitable / obvious,.. instead of various interesting but obscure 'Bits & Bobs', scattered about the place in sections that by their description, would not be an obvious place to find those things.

I take your point though and have often thought, since my arrival here that whilst there were quite a few Sections, sometimes there was not really an obvious place for some topics, threads and subjects, as the descriptive focus suggested in the heading could cause you not to see the section as obviously suitable for certain subjects.

I am always more than happy to embrace change / rationalisation etc, if deemed to be better or provide a better experience and use of the forum.  :smiley:

NoCforMe

Can we create a "Tools and Toys" sub-forum somewhere? One that will accept both 32-bit and 64-bit programs? Seems like that's actually a fairly popular category; at least it is with me ...
Assembly language programming should be fun. That's why I do it.

FORTRANS

Hi,

   You could just add to the "Game Development" sub-forum
description ", Games, and Toys."  Tools might be for the
"Workshop".  Tools and toys seem different enough to me to
be treated separately.  $.02?

Cheers,

Steve N.

stoo23

QuoteCan we create a "Tools and Toys" sub-forum somewhere?
Yes .... but ideally,....Where ??

QuoteOne that will accept both 32-bit and 64-bit programs?
I guess but might it not be best to keep them separate or at least clearly delineate them ?


QuoteYou could just add to the "Game Development" sub-forum description ", Games, and Toys."
Yes

QuoteTools might be for the "Workshop".
Yes. ..... Perhaps the Workshop could Accommodate both 32 & 64 bit stuff adequately ?? BUT should they have their own Thread ....and then, what to do with all stuff already in the MASM64 Section ??
Should the Tools & Toys title be changed simply to Tools ??

QuoteTools and toys seem different enough to me to be treated separately.
Yes, I tend to agree, .... perhaps a subtle difference of interpretation of the Term ... Toys ... Tools seem pretty clear  :smiley:

Thanks for the suggestions and Input guys, I just want to do what seems sensible and appropriate and that hopefully provides an improvement to placement suitability etc :smiley: