Giter VIP home page Giter VIP logo

silver's Introduction

Silver

Silver is a library meant for controlling sound

This project was made to have full control over all sound. This includes, recording audio, playing audio, layering audio, editing audio, and more. This was made because I was tired of not having a library to edit sound all packed into one module.

  • Plays Audio ๐Ÿ”Š
  • Records Audio ๐ŸŽ™๏ธ
  • Edits audio โœ๏ธ
  • And more ๐Ÿฅฐ

Still in progress

Want to contribute? Great

  1. Submit an issue
  2. Then make PR
  3. Code will be reviewed and tested
  4. Code may (or may not) be merged

Thank you for reading!

Some Examples!

from silver import Silver # Import
from time import sleep # Good for timing things

# Play a sound file
Silver.play(file_path)
sleep(2)
Silver.stop() # This will stop the file at it's 2 second mark

# If you want more logging output run the verbose fuction
Silver.verbose()

# Layer 2 files on top of eachother
Silver.layer(file_path, 2)

# Stop all the layers
sleep(5)
Silver.layer_kill(2) #This doesent work. I am aware and am trying to fix it

# Let's use the restart function
Silver.play(file_path)
sleep(120)
Silver.restart()

silver's People

Contributors

ubuntufanboy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

silver's Issues

Add print and input functions

syntax for print and input functions should be

str_print when printing out a string CAN NOT BE A VARIABLE
print when printing out a variable value CAN ONLY BE A VARIABLE

Examples:

str x = 10
print x
Output: 10

str_print 10
Output: 10

variable_name input optional_prompt

Better way of parsing the commands URGENTLY needed

We need a way to have the syntax read a string inside quotes differently so that it doesn't cause problems. For example print "Hello World" uses a space inside of the quotes. Therefore, the code will say "Hello isnt a valid command.

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.