User Tools

Site Tools


haas:fall2022:c4eng:projects:sss1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
haas:fall2022:c4eng:projects:sss1 [2022/09/29 16:41] – created wedgehaas:fall2022:c4eng:projects:sss1 [2022/09/29 16:46] (current) – [pseudocode] wedge
Line 20: Line 20:
  
   * potentially adding additional sound channels (using multiple passive buzzer circuits). This might involve borrowing buzzers from neighbors when it comes time for your performance   * potentially adding additional sound channels (using multiple passive buzzer circuits). This might involve borrowing buzzers from neighbors when it comes time for your performance
 +  * potentially adding in one or more buttons that somehow influence the behaviour of the end result (play a different song? Alter quality of notes played somehow?)
   * utilizing LEDs to have a corresponding visual lightshow going along with whatever sound is being produced   * utilizing LEDs to have a corresponding visual lightshow going along with whatever sound is being produced
   * in your program, use an array to store the individual frequencies to be played, followed by a delay   * in your program, use an array to store the individual frequencies to be played, followed by a delay
Line 35: Line 36:
 {{page>notes:c4eng:fall2022:projects:sss1&nouser&nodate&nomdate}} {{page>notes:c4eng:fall2022:projects:sss1&nouser&nodate&nomdate}}
  
-====pseudocode==== 
- 
-<code> 
-SET INDEX TO ZERO 
-AS LONG AS PROGRAM CONTINUES TO RUN: 
- 
-    PLAY THE NOTE LOCATED AT THE CURRENT INDEX 
-    DELAY FOR THE LENGTH OF TIME AT CURRENT INDEX PLUS ONE 
-    SET THE INDEX TO GO UP BY TWO 
-    SHOULD THE INDEX EXCEED THE TOTAL NUMBER OF NOTE/FREQUENCY PAIRS: 
-        RESET INDEX TO ZERO 
- 
-KEEP GOING 
-</code> 
  
 =====SUBMISSION===== =====SUBMISSION=====
haas/fall2022/c4eng/projects/sss1.1664469672.txt.gz · Last modified: 2022/09/29 16:41 by wedge