audio_analysis 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/audio_analysis.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c59af24d399fb012742bd0643c1d9bfbe5a44dba189508bd879a820a50a3fc9
4
- data.tar.gz: 0652d8f10711016ebac84822ae8bb2a123a44b676cdcba01bba5a6528e69f5fc
3
+ metadata.gz: be4f1696cce0f5398d08f905a45a881fb939ce1e746bed8a943a17e5368473b2
4
+ data.tar.gz: 7960769e3356f04183979c3841a4bf891f5d4df4891a74604268be9054ede8ee
5
5
  SHA512:
6
- metadata.gz: f52d7bdd8754d600567ac8b8c2a03e5b22e63c4e3b0a54670bc8fc97b5a35740dc54174c944a892950f17d62efd3d5ac3f7c541c6c711c158cbc782a56877245
7
- data.tar.gz: ea0f0873f38c3f4bc710a038077fb9912f9f24d89654c04baf758306cdf213ad3950c060c375417e912635b1541ddfc5c0bf2ebe32d66bfc7f3ecd1be92a93e3
6
+ metadata.gz: ca7d64ee01c61dc6da85657f74907de1d42748801319b7042670142d6d63ecbfbb53632b7cb485ec5d01478b067da2d872b5be32c76cd31c8b153339ed04c65b
7
+ data.tar.gz: 460d3598f041e3527fe1518cc47f66c93e0ff1745d7ff801a5c06a4a973f7e44bd0330e2392c44091e7369f4acae5fe75ae187ad71595443a32a5efc873354c3
@@ -1,17 +1,17 @@
1
1
  class AudioAnalysis
2
2
  def self.find_bpm(file_path)
3
- `pip install -r requirements.txt`
3
+ `pip install -r lib/requirements.txt`
4
4
  bpm = `python3 bpm_analysis.py #{file_path}`
5
5
  bpm.to_f
6
6
  end
7
7
 
8
8
  def self.find_key(file_path)
9
- `pip install -r requirements.txt`
9
+ `pip install -r lib/requirements.txt`
10
10
  `python3 key_analysis.py #{file_path}`
11
11
  end
12
12
 
13
13
  def self.analyze(file_path)
14
- `pip install -r requirements.txt`
14
+ `pip install -r lib/requirements.txt`
15
15
  bpm = `python3 bpm_analysis.py #{file_path}`
16
16
  key =`python3 key_analysis.py #{file_path}`
17
17
  { bpm: bpm, key: key }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audio_analysis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'Indigo Tech Tutorials '