Skip to main content

Using using the RockStar EsoLang to make music in FoxDot

Project description

rockstarfoxdot

Using using the RockStar EsoLang to make music in FoxDot

To install (I think)

Instructions

Start up FoxDot as normal

Before trying to run any Rockstar run this line

from rockstarfoxdot import *

rockstar(lyrics, namespace=None, printname=None)

Use rockstar in-line

rockstar('''
Papa was a rolling stone
''', locals())

When run this will exec this python in your FoxDot

Papa = 175

rockstar(filename, namespace=None, printname=None)

Use rockstar from a file

rsf("FizzBuzz.rock", locals(), "fizzbuzz")
p1 >> bass(fizzbuzz, dur=PDur(17, 24))

When run this will exec the rockstar from "FizzBuzz.rock" in your FoxDot and place anything you 'Shout'ed 'Said' or 'Scream'ed into a list called fizzbuzz.

Then it will play those notes on the bass in FoxDot player p1

rockstar() has a timeout protecting you from infinite loops in the code

rs(lyrics, namespace=None, printname=None)

Use rockstar in-line

rockstar('''
Papa was a rolling stone
''', locals())

When run this will exec this python in your FoxDot

Papa = 175

rsf(filename, namespace=None, printname=None)

Use rockstar from a file

rsf("FizzBuzz.rock", locals(), "fizzbuzz")
p1 >> bass(fizzbuzz, dur=PDur(17, 24))

When run this will exec the rockstar from "FizzBuzz.rock" in your FoxDot and place anything you 'Shout'ed 'Said' or 'Scream'ed into a list called fizzbuzz.

Then it will play those notes on the bass in FoxDot player p1

rsf() has a timeout protecting you from infinite loops in the rockstar

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rockstarfoxdot-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

rockstarfoxdot-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file rockstarfoxdot-1.0.0.tar.gz.

File metadata

  • Download URL: rockstarfoxdot-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for rockstarfoxdot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58fcdfe4bc66a558606c1ea741bd3058f2c27d05f71db5c94b6d72af9eb7483b
MD5 bb17102cbd12cf73866ae08fc16cbf36
BLAKE2b-256 ccb809759febae9fdab6f43acc94574f3801e954c53c96b0dc26e722b2093a42

See more details on using hashes here.

File details

Details for the file rockstarfoxdot-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rockstarfoxdot-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for rockstarfoxdot-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23ed34cc252918870b06041301f74298390fae6743089391cc20d2400789685f
MD5 fc67056b4ff9dc7afd592aa6e12ae84d
BLAKE2b-256 b1269a9374a2e0f2d31983d327d6facb51efe270ddcda6fe28c03994b33d2fff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page