Giter Club home page Giter Club logo

frequency-composer's Introduction

Frequency Composer 🎹

A menu-driven application completely built in C Language, which creates 🎼Music🎼 by the logical manipulation of frequency values of the output sound beeps.:sound:

🎢 Highlight: All the music and sounds in entire application is produced by using a single sound generating function viz. Beep() which produces a sound beep of a specified frequency for the specified time.

Functionalities

The application is primarily capable of 3 functionalities:

  1. 🎺 User can input a string of Digits which is used to produce Sound-Show by harnessing frequencies from the digits.
  2. 🎧 User can listen to pre-recorded Music by choosing one from the list.
  3. 🎀 User can compose Music on its own by inputting the Musical Notes.

Besides, while listening to music/sound, program also shows the Frequency-Graph of the sound being played. πŸ“Š

Demo

Snap

Dependencies

  1. <windows.h> header file is included as the Beep() function belongs to Windows API. So make necessary adjustments when running it on OS other than Windows, to access the Windows API.
  2. Extended ASCII character - 220 (bottom half block) is used to draw the horizontal bar graphs. So there are chances that the terminal you use may interpret it differently. If it is so, then replace 220 with 124 (the pipe character).

Ignore following if you don't have spare time!

A Fun Fact -

πŸ‘€ Human ear can hear only those frequencies which lie in the range of 20Hz to 20,000Hz.

So run this application & get ready for testing your ears! πŸ˜‰

Better to keep in mind!

The thrill should not be at the cost of physical damage! πŸ˜…

~ To avoid piercing of your eardrums by high frequency sound beeps, reduce the volume of your speakers according to your tolerance.

The Music Synthesizers in market are quite expensive! 😜

~ Original Music is made by composition of various frequencies at the same time, along with amplitude fluctuations and other factors. So this application obviously has limitations for Music Composition!

Request -

Please spare your valuable time to share your suggestions. Bring out the true essence of open source! πŸ™Œ

frequency-composer's People

Contributors

jaladh-singhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

frequency-composer's Issues

Make this application Linux & MacOS Compatible

This application uses Windows API by including inbuilt windows.h in C to use Beep() function. We can:

  1. Devise a way to incorporate Windows API in non-Windows OS so that Beep() function can be accessed by C compiler in those OSes.
    Or...
  2. Use an alternative/equivalent function for Beep() - a function which intakes frequency value & time value to produce a sound beep.

Please add suitable code/ code files and create a PR or comment suggestive ways!

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.