Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/21/05 00:49
Read: times


 
#92019 - Polyphonic 8051
Responding to: ???'s previous message
Mehdi said:
Now,Can i implement this algorithm (playing multiple notes at one time) with only a 8051?
or not, it will need 2 or more 8051, speaker,..?
http://www.8052.com/forum/read.phtml?id=91970

There are several ways you could do it:

  • Use multiple timers (software or hardware?) in a single 8051
  • Use multiple 8051s, each with a monophonic generator - little, low pin count types would be ideal (you'd need to work out how to synchronise them)
  • implement a polyphonic generator


    Some things seem to do a pseudo-polyphonic generator by modulating between the notes of a chord.

    Or you could develop a proper polyphonic generator that actually computes the result of playing multiple notes simultaneously.
    eg, playing two notes x1 and x2 simultaneously:
             +---+   +---+   +---+   +---+   +---+
    x1       |   |   |   |   |   |   |   |   |   |
          ---+   +---+   +---+   +---+   +---+   +---
    
              +----+    +----+    +----+    +----+
    x2        |    |    |    |    |    |    |    |
          ----+    +----+    +----+    +----+    +---
    
              +--+      ++   +---+   +-+     +---+
              |  |      ||   |   |   | |     |   |
    x1+x2    ++  +-+ +--++---+   ----+ +-+  ++   |
             |     | |                   |  |    |
          ---+     +-+                   +--+    +---


  • List of 29 messages in thread
    TopicAuthorDate
    Harmonic Melody?            01/01/70 00:00      
       Harmonix            01/01/70 00:00      
          Re:Harmonix            01/01/70 00:00      
             I think you should try....            01/01/70 00:00      
                Polyphonic            01/01/70 00:00      
                   Re:Polyphonic            01/01/70 00:00      
                Re:I think you should try            01/01/70 00:00      
                   Composing?            01/01/70 00:00      
                      Mozart            01/01/70 00:00      
                      Re:Composing?            01/01/70 00:00      
                         not a lot.            01/01/70 00:00      
                            Re:not a lot            01/01/70 00:00      
                               playing algorithm?            01/01/70 00:00      
                                  Re:playing algorithm?            01/01/70 00:00      
                                     Polyphony again            01/01/70 00:00      
                                        Re:timing/Re:Polyphony again            01/01/70 00:00      
                                     Timing            01/01/70 00:00      
                                  Re:playing algorithm?            01/01/70 00:00      
                                     to mehdi            01/01/70 00:00      
                                        Re:to mehdi            01/01/70 00:00      
                                           difficult to read            01/01/70 00:00      
                                              Saving a minute>><<<            01/01/70 00:00      
                         In what way "improve?"            01/01/70 00:00      
                      Re:Composing?            01/01/70 00:00      
                         EE mag            01/01/70 00:00      
       Beyond Logic            01/01/70 00:00      
          Re:Beyond Logic            01/01/70 00:00      
       Polyphonic 8051            01/01/70 00:00      
          Last speech!            01/01/70 00:00      

    Back to Subject List