| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Synthesizer Synthesizer

Page history last edited by Noah Vawter 14 years, 4 months ago

Design Exertion Instruments using other peoples' models and modules

 

Associated with Exertion Instruments is a browser application for designing them.  It is called a Synthesizer Synthesizer.  You can simulate what the instrument will sound like, automatically generate CAD files, compile software online and 3d-print test models.

 

This is a modular, parametric design system.  You can imagine it as a web-based modular synthesizer. 

The basic design software runs on a local computer but it can scan the internet for additional design modules.  For example, if someone has developed a nice filter or body shape and posted them, you can access them.

 

8-Bit Modular Editor

 

 

 

Helpers for 8-Bit Modular Editor:

 

 

 

JSON -

 

Electric Eel JSON Definition

 

 {

    "Exertion Instrument" : {

        "Body" : {

            "3d shape" : {

                "geometry" : "cylinder"

            },

            "length" : 0.6,

            "diameter" : 0.09,

            "graphics" : {

                "skin" : "http://upload.wikimedia.org/wikipedia/commons/0/0b/Royal_exhibition_building_tulips.jpg"

            },

            "CAD Files" : {}

        },

        "Synthesizer" : {

            "Keyboard" : {

                "numKeys" : 10,

                "highest" : "D-6",

                "lowest" : "D-4",

                "scale" : "pentatonic"

            },

            "Oscillator" : "PWM",

            "CPU" : {

                "make" : "AVR",

                "model" : "Atmega32",

                "MHZ" : "16"

            },

            "PD Patch" : {}

        },

        "Generator" : {

            "type" : "stepper",

            "typical RPMS" : 100,

            "single phase impedance (real)" : "20",

            "single phase inductance" : ".004",

            "gear" : {

                "radius" : ".001",

                "numTeeth" : 24

            },

            "electronics" : {

                "type" : "series voltage doubler",

                "examplePic" : "http://media.mit.edu/~nvawter/board10.jpg",

                "maxVoltage" : 50,

                "schematic values" : {

                    "C1" : "3300e-6",

                    "C2" : "3300e-6"

                },

                "output Impedance" : 10

            }

        },

        "Output" : {

            "amplifier" : {},

            "resonator" : {},

            "speaker" : {}

        }

    }

}

 

 

 

 

Basic Exertion Instrument JSON Definition

 

 

{ "Exertion Instrument" : 

 

     "Body": {

          "3d shape":{  },

               "CAD Files":{   },

          "graphics":{  },

     },

 

     "Synthesizer: {

          "Keyboard":{ 

               "scale":{

                    "type":{  },  

                    "lowest":{   },

                    "highest":{   },

                 }

          }

 

     "CPU":{ 

           "PD Patch":{   },

               },

     }

 

 

      "Generator":

       {

         "type":{   },

         "Typical RPMS":  {  },

         "gear":{   },

         "electronics":  {   },      

       },

 

 

       "Output":{ 

            "amplifier":{  },

            "resonantor":{  },

            "speaker":{  },

        }   

}

 

 

 

 

 

 

 

 

A typical instrument will have four parts: Body, Synthesizer, Generator, and Output.

 

The body is the physical component that holds all other parts together.  Often, it has places for straps to attach, keyboards to mount, etc.

The synthesizer consists of Controls and an Oscillator.  It can be designed graphically or in code and tested online.

The generator is an electromagnetic device which translates i

Output consists of: Amplifier, Speaker and Resonator

 

Modules talk to each other using XML.  These tools have been found to be useful for editing JSON objects, then converting them to XML:

 

About JSON 

Online JSON validator - tells you what line number is wrong in your JSON

Oline JSON Comp.1 - converts xml to JSON but not other way around

Online JSON Comp.2

Online JSON Editor 1 - converts between xml and JSON

Online JSON Editor 2 - can compress JSON code

Online JSON UI Maker - amazing utility for making layouts in Visual Javascript

 

 

 

 

Electric Eel XML Definition

 

<?xml version="1.0" encoding="UTF-8" ?>

<json>

<Exertion Instrument>

<Body>[object Window]</Body>

<Synthesizer>

<Keyboard>

<numKeys>10</numKeys>

<highest>D-6</highest>

<lowest>D-4</lowest>

<scale>pentatonic</scale>

</Keyboard>

<Oscillator>PWM</Oscillator>

<CPU>

<make>AVR</make>

<model>Atmega32</model>

<MHZ>16</MHZ>

</CPU>

</Synthesizer>

<Generator>

<type>stepper</type>

<typical RPMS>100</typical RPMS>

<single phase impedance (real)>20</single phase impedance (real)>

<single phase inductance>.004</single phase inductance>

<gear>

<radius>.001</radius>

<numTeeth>24</numTeeth>

</gear>

<electronics>

<type>series voltage doubler</type>

<examplePic>http://media.mit.edu/~nvawter/board10.jpg</examplePic>

<maxVoltage>50</maxVoltage>

<schematic values>

<C1>3300e-6</C1>

<C2>3300e-6</C2>

</schematic values>

<output Impedance>10</output Impedance>

</electronics>

</Generator>

<Output></Output>

</Exertion Instrument>

</json>

 

 

 

 

Comments (0)

You don't have permission to comment on this page.