This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ABCplayerCodea version 0.1.4 | |
-- Plays ABC musical notation format tunes on the Codea/Codify iPad platform. | |
-- By Fred Bogg, November 2011. Improvements welcome. Thanks to ipda41001 for coding assistance. | |
-- This program defines musical notes and chords, parses an ABC format tune, creates a table | |
-- of notes to be played with their durations, and then plays it. With the parsing done | |
-- first, playback is possible without slowing down draw frames (psuedo-background). | |
-- 0.1.4 | |
-- DEBUG to self.DEBUG, stopped passing it around | |
-- soundTablePointer to self.soundTablePointer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Classic 3d wireframe cube demo in LUA | |
-- based on version for PSP by Nils - ventoline.com | |
-- modified for Codea - Tom Bortels November 2011 | |
function setup() | |
--focal length to determine perspective scaling | |
focalLength = 300 | |
-- here we set up a function to make an object with | |
-- x, y and z properties to represent a 3D point. |