GithubHelp home page GithubHelp logo

mobluse / x16-psg-music Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 32 KB

Music programs for Commander X16 using it's PSG in Vera

License: GNU General Public License v3.0

BASIC 100.00%
basic-programming commander-x16 commanderx16 cx16 music psg vera x16 basic basicode

x16-psg-music's Introduction

Commander X16 PSG Music

Music programs for Commander X16 using it's PSG in Vera.

Programmable Sound Generator (PSG)

https://github.com/X16Community/x16-docs/blob/master/VERA%20Programmer's%20Reference.md#programmable-sound-generator-psg

Example: Frere Gustav

The example Frere Gustav is modified from Sinclair ZX Spectrum BASIC Programming by Steven Vickers: https://worldofspectrum.org/ZXBasicManual/zxmanchap19.html. It's played with minor coords.

Command line to run using x16emu:
x16emu -bas FRERE-GUSTAV.BAS -run
x16emu for Windows, Linux, and macOS can be downloaded from https://www.commanderx16.com/ I most often run x16emu in Raspberry Pi OS Linux on Raspberry Pi 4 B 8GB, but then you need to get it from https://snapcraft.io/x16emu, or compile it from source.

Example: DECPS Player - VT520/VT525 Play Sound Simulator

This simulates the DECPS escape sequence using BASIC v2 DATA statements.

Command line to run using x16emu:
x16emu -bas DECPS.BAS -run

Basicode-3 and 3C

The subroutine in FRERE-GUSTAV.BAS and DECPS.BAS is compatible with Basicode-3 and 3C, but has extra entry line numbers for polyphonic music: https://github.com/robhagemans/basicode/blob/master/BASICODE.rst#gosub-400

Other X16 PSG Examples

https://commander-cx16.fandom.com/wiki/Beep

x16-psg-music's People

Contributors

mobluse avatar

Watchers

 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.