+ Reply to Thread
Results 1 to 3 of 3

Thread: E2: NEDM Machine.

  1. #1
    Wire Amateur DerrikeG's Avatar
    Join Date
    Oct 2008
    Posts
    39

    Default E2: NEDM Machine.

    A quick test of the Expression2 gate in a comical way.
    Code:
    @name core_nedm
    @inputs Power
    @outputs R1 R2 R3 R4 S1 S2 S3 S4 S5 NEDM
    @persist Hex Trak Sound Last
    interval(400)
    Hex=255
    if(Power&clk()){
        if(S5){
            R1=randint(Hex),R2=randint(Hex)
            R3=randint(Hex),R4=randint(Hex)
            NEDM=randint(Hex)
        }else{
            Sound=randint(1,4)
            if(Sound==Last&Sound!=4){Sound+=1}elseif(Sound==Last&Sound==4){Sound=1}
            if(Sound==1){
                Last=1,Trak=1,S1=1,S2=0,S3=0,S4=0
            }elseif(Sound==2){
                if(Trak==1){Trak=2}else{Trak=0}
                Last=2,S1=0,S2=2,S3=0,S4=0
            }elseif(Sound==3){
                if(Trak==2){Trak=3}else{Trak=0}
                Last=3,S1=0,S2=0,S3=3,S4=0
            }elseif(Sound==4){
                if(Trak==3){Trak=4}else{Trak=0}
                Last=4,S1=0,S2=0,S3=0,S4=4
            }
            if(Trak==4){Trak=0,S5=1}
        }
    }else{
        R1=0,R2=0,R3=0,R4=0,Last=0,Sound=0
        S1=0,S2=0,S3=0,S4=0,S5=0,Trak=0,NEDM=0
    }
    A live demonstration video is up .
    Attached Files Attached Files

  2. #2
    Official Bastard of Wire Jat Goodwin's Avatar
    Join Date
    Aug 2008
    Location
    Colorado Springs
    Posts
    2,771

    Default Re: E2: NEDM Machine.

    What the hell is that? Why go through all that trouble to make something that can be made with one custom mp3? I thought it was going to use the HL2 sounds to do the nedm, but no. I would like to give you a pat on the back for making a cool contraption but wtf does it do?
    Ö͎̗̫̙̝̹͓̤̙́ͣͤ̈́̋̽̋͜f̺̦̠̻̜̼̮͓̖́̓̄̿̓̌̓̍̔f̵̳̻̜̹̤̱̊͒ͤ͌ ̅ͭͮ̾͟i̗͖̎͗̇ͯ̈̀̌̽c̯̮̉ͮ̾͟͡i̵̺̻̠̘̤̫͕ͯͭ̅͊ͤͦͧa̷͇̖̲ͥ͗ͪ̎ͤ ̽̾ͫl̶̈́̉̉͂̿̎ͯͥ̐҉̗͙̦̻̪ ̪̻͕̗̝͈̘͓ͬ̋̕͟B͚̲̍͢ā̸̪͔͖̟ͫͨ͜͝s͈͔͔͖͇͍̗͛ͯ̑̂͟t̮̤̬̩̅ͧ̎͑͗ ̃̕͟a̸̧̻̖̘̞̪̲͈͕̲͊ͭͪ͆̉r̯̩̮̬̥̤̗̙̃͌̑͊͢͞ď̠̦̲̥͢͡ ̵̶̢̱̲̺͈̘̳͕ͤͅo̯̞̙̦͖̪̽ͩ͊ͅf̵̦͈̣͙̰̎͋̿́ͅ ̛͕̹̫̰̱̾̓ͪ̌̽̊͘͡W̨̬̲̤̖̽̿͛ͨ͛̃̎͐̏i̛̼̳̝̺̝̭͙͋̑͑ͬ͠ṙ̼͔̪ͯͨͭ ̕e̸̗͕̰̒̃ͩͬ̾͆́ͅͅ

    I Require More Minions! Join us on the IRC !
    List of Reasons to idle on the IRC: Wire QDB

  3. #3
    Wire Amateur DerrikeG's Avatar
    Join Date
    Oct 2008
    Posts
    39

    Default Re: E2: NEDM Machine.

    It (when powered) sends output to one of four outputs, and if they are all output in order (1, 2, 3, then 4 without interruption.)
    When NEDM is called, R1-4 and NEDM will constantly output random numbers. (Which I used as color inputs for the lights, whilst also providing a good trigger for the igniters.) Then S5 will go ahead and play the song.
    Though the video doesn't do it justice (what with the random and all.)
    I would have it be more random but it has a bit of a problem calling the same sound twice, nor did I have a while loop to work with.

+ Reply to Thread

Similar Threads

  1. Wire Fruit Machine
    By metz10 in forum Finished contraptions
    Replies: 7
    Last Post: 08-20-2010, 03:34 PM
  2. Lag Machine
    By Whinis in forum Wiremod General Chat
    Replies: 3
    Last Post: 02-21-2009, 11:16 PM
  3. Instant Rave Machine!
    By Xelatomis in forum Finished contraptions
    Replies: 3
    Last Post: 09-16-2008, 06:28 PM
  4. A Wire Machine making Machine?
    By Locklear in forum Ideas & Suggestions
    Replies: 7
    Last Post: 11-08-2007, 05:25 AM
  5. Drum Machine
    By Chronofrost in forum Finished contraptions
    Replies: 6
    Last Post: 09-27-2007, 06:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots