Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Cleaned up memory usage, Using macros to define songs #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alecu
Copy link

@alecu alecu commented Jan 29, 2013

The memory for the notes is now allocated as a static array. This helps
avoid memory exhaustion. Also macros are used now to define the notes,
resulting in somewhat tighter song definitions (though less expressive,
since for loops cannot be used).

alecu added 2 commits January 29, 2013 02:08
The memory for the notes is now allocated as a static array. This helps
avoid memory exhaustion. Also macros are used now to define the notes,
resulting in somewhat tighter song definitions (though less expressive,
since for loops cannot be used).
This frees the very limited ram in the atmega (~2kb) that was
previously being filled up with song patterms.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants