Coder Social home page Coder Social logo

wallpaper-engine-docs's People

Contributors

biohazard90 avatar tieul avatar timeulitz avatar

Watchers

 avatar  avatar

wallpaper-engine-docs's Issues

Clarify that "supportsaudioprocessing" must be present in project.json for Audio Visualization to work.

The guide for Audio Visualization in the web docs will not work if the user does not have the "supportsaudioprocessing" flag set in their project.json.

Since the Editor doesn't automatically add this flag for new web projects, I think it should be clarified that the flag is a requirement.

I was able to figure it out by searching the web and finding the "old" guides on Steam, but it would be nice if that information was available in the official docs.

Here is an excerpt from the old Steam guide ----

Enable audio input on your wallpaper

Before Wallpaper Engine will send you any audio data, you will have to set a flag in the project.json file of your wallpaper. So make sure to import your wallpaper in the editor first and then open the project.json from the wallpaper directory. The flag you need to set is named 'supportsaudioprocessing' and it's a member of the 'general' object. Simply setting this flag to true will suffice, as the following sample demonstrates:

{
    "file" : "index.html",
    "preview" : "prev.png",
    "general" : 
    {
        "supportsaudioprocessing" : true
    },
    "title" : "Advanced Web Tutorial - Audio Input",
    "type" : "web"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.