Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Midi to M300

    General Discussion
    2
    5
    627
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • paboman
      paboman last edited by

      Hello,
      is there a way to convert midi to Gcode using M300 command ?

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        Kind of... https://www.makeanything.design/3dprintermusic

        Z-Bot CoreXY Build | Thingiverse Profile

        paboman 1 Reply Last reply Reply Quote 0
        • paboman
          paboman @Phaedrux last edited by

          @phaedrux THX!

          1 Reply Last reply Reply Quote 0
          • paboman
            paboman last edited by paboman

            I have added this to config.g but it does not play on machine startup while the same command in a macro works.

            ; STARTUP TUNE
            ;
            M300 S3000 P200
            G4 P200
            M300 S3520 P200
            G4 P200
            M300 S1300 P400

            If the machine is already booted up and I hit emergency stop then the tune is played correctly

            1 Reply Last reply Reply Quote 0
            • Phaedrux
              Phaedrux Moderator last edited by

              I've found that the Duet needs some extra time at first bootup to finish doing what it's doing before the tone commands will execute properly.

              This is what I have and it seems to work fairly well most of the time. Though I think I need to make the pauses longer now. Recent firmwares seem to behave a little differently.

              ; BLTOUCH PREP
              ;
              G4 S1
              M280 P3 S160 I1 		; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
              G4 S1
              M402				; Retract probe just in case it's down
              
              ; STARTUP TUNE
              ;
              M400
              G4 S1
              M300 P200 S1975.53
              G4 P201
              M300 P200 S2217.46
              G4 P201
              M300 P200 S1975.53
              G4 P201
              M300 P200 S2793.83
              G4 P201
              M300 P200 S2489.02
              G4 P201
              M300 P200 S2217.46
              G4 P201
              M300 P200 S2489.02
              G4 P201
              M300 P200 S2959.96
              G4 P201
              M300 P300 S3520.00
              G4 S1
              M400
              

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA