Git Product home page Git Product logo

fp2's Introduction

Final Project Assignment 2: Explore One More! (FP2)

My Library: rsound

For my Exporation 2, I decided to delve into the popular audio library rsound. The documentation is good and it seems to be in popular use because I found various resources to help me start out.

I am in the process in joining a group that is looking to use rsound as a library. I had one of those members pull me up to speed on how to use the basics of rsound. He created a simple racket code play a series of piano tones. Using this, I wanted to try and explore how to make a keyboard piano.

I found a thread on stackoverflow that demonstrated keypress events: http://stackoverflow.com/questions/14540119/on-key-in-racket

Using this, I simply linked it to the notes to be played. Here is the resulting code.

There are some issues with this keypress. If I quickly press a lot of keys or a lot of keys at the same time, the sound buffer gets overloaded quickly and potentially crashes the code. it might be a problem with rsound but this is something worht investigating.

Learning how to keypress fits very well with what I wanted to do with FP1. In FP1, I wanted to rotate my cube with the arrow keys. I can go back and explore how to do that now. But moving ahead, I want to see if i can make a simple visual with my keyboard piano. Whenever a key is pressed, inside a window, a colored box will show up. Each note will have its own color and it will fade out when released.

I also feel that the group is leaning towards a graphic visualization of sound or some sort. So this will be interesting!

fp2's People

Contributors

marksherman avatar zackawong avatar

Watchers

 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.