Skip to main content

parrotjoy

Project description

parrotjoy - a pygame 2 project.

For making music, and visuals. https://github.com/pygame/parrotjoy

parrot joy

Get started.

Installation

python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.dev.txt

parrotjoy

Joypad controller instructions

There are 4 audio tracks. The first two tracks

Pressing the numbered buttons (1,2,3,4) in combination with modifier ones.

  • R1 ) track.start_new_next
  • R2 ) track.add_to_next
  • L1 ) track.erase

If recording, track.finish() else: track.play()

Trimming with analog joy sticks.

The analog controllers can be used to trim a track. This is useful if you record too much sound, or you want to line it up with other parts.

  • Left stick trims the start of the track. Tap the left stick to the right to have less of the sound from the beginning.

  • Right stick is for trimming the end of the track.

Keyboard control.

  • s, start recording a new track

  • S, record over the top of an existing track

  • f, finish recording track.

  • p, play

  • w, trim the START of the sound. Get MORE sound on LEFT of sound.

  • e, trim the START of the sound. Get LESS sound on LEFT of sound.

  • r, trim the END of the sound. Get LESS sound on RIGHT of sound.

  • t, trim the END of the sound. Get MORE sound on RIGHT of sound.

  • space, adjust the BPM timer. Tap it in time until the BPM is as you like.

  • '0', use Looper scene.

  • '9', use VideySynth scene.

  • '8', strawberries.

Running tests.

Tests can be found in the tests/ folder.

Type pytest. Or run python -m tox

Tests are run on mac, linux, windows when there is a pull request made.

releasing

Releasing is tested with python3.7(not python2 or any other version).

To the python package index (pypi).

rm -rf dist/*
python setup.py sdist bdist_wheel
twine upload dist/*

On windows:

python setup.py bdist_msi
dir build/*.msi

On mac:

python setup.py bdist_dmg
ls build/*.dmg

Licenses

Code license

License for code will be the same as the pygame license (LGPL).

Check the licenses for the dependencies.

parrotjoy uses

many parts made by others...

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

parrotjoy-0.0.1.dev0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

parrotjoy-0.0.1.dev0-py2.py3-none-any.whl (1.8 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file parrotjoy-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: parrotjoy-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for parrotjoy-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 237814890cfebabc5612a3eeb4b646cb68e86add1834eac7b74f70ff6da9526f
MD5 e520398a888f8954d49f92ea25baf8fb
BLAKE2b-256 f8e11ef11d89c244febf65eb9289c721d94655bfec7637aa2b2ffcaf3d0451e9

See more details on using hashes here.

File details

Details for the file parrotjoy-0.0.1.dev0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for parrotjoy-0.0.1.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f25e22ea158ef184083b92f56e66b8b4cd61189237e991e07df4cde59fa56604
MD5 47925395b93b9613b293b76b38b4ba53
BLAKE2b-256 286054a701aad6e570763b2fccaf3fd1e11f2eeb17504a0791062ca76487c13c

See more details on using hashes here.

Supported by

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