Giter Site home page Giter Site logo

nes-tests's Introduction

Players

Interactive ROMs that can play notes and change settings for each channel. Modified from the Nerdy Nights Sound: Part 3 tutorial code.

  • Left/Right: Select noise frequency. RNG mode will switch when frequency wraps around from 0 or 15.
  • Up: Play noise.
  • Down: Stop noise.
  • A: Toggle length counter (LC) bit. This is bit 5 of the volume register. 0 = Enabled, 1 = Disabled.
  • B: Toggle envelope decay (ED) bit. This is bit 4 of the volume register. 0 = Enabled, 1 = Disabled.
  • Left/Right: Select note.
  • Up: Play note.
  • Down: Stop note.
  • A: Toggle length counter (LC) bit. This is bit 5 of the volume register. 0 = Enabled, 1 = Disabled.
  • B: Toggle envelope decay (ED) bit. This is bit 4 of the volume register. 0 = Enabled, 1 = Disabled.

Note: Only the first square channel (SQ1) is used in this test.

Loops

Simple ROMs that loop through sounds on one channel.

Plays a melody (CEGAFD) on the square 1 channel (SQ1) with 50% duty cycle (10). The melody plays twice at each octave, starting at C2 and ending at C7, repeating infinitely.

Plays a melody (CEGAFD) on the square 2 channel (SQ2) with 25% duty cycle (01). The melody plays twice at each octave, starting at C2 and ending at C7, repeating infinitely.

Plays a melody (CEGAFD) on the triangle channel (TRI). The melody plays twice at each octave, starting at C3 and ending at C7, repeating infinitely.

Generates each noise frequency (0-15) one at a time, first using RNG mode 0, then again using RNG mode 1.

nes-tests's People

Contributors

xram64 avatar

Stargazers

 avatar  avatar  avatar

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.