Comments (3)
Hey, just looks like that example hasn't been updated properly. If you declare player as an AudioRecordingStream, it should work.
from minim.
Hey - thanks for your prompt answer.. Just getting started with this, the RecordLineIn (2.1.0) example is not compiling for me, telling me it cannot find a class or type named "AudioRecordingStream".
Perhaps you can help me - I'm trying to load two internet streams and compare them merely to see if they are identical (aka sound quality more or less irrelevant).
To compensate for timeshifts/delays I want to let one (or both) through a buffer in order to play them back with a delay or ahead (max 2000ms, I believe). For that I've made this first sketch, that kind of draws it out visually to make these adjustments. http://www.openprocessing.org/sketch/59551
For now I'm using the same stream twice, but eventually they will be different.I will have to figure out some smart (FFT) way to match them up and run (loop through the sample array) them both at a quality-wise lowest common denominator - sufficient enough to tell they're identical. Perhaps that can be done by subtracting their FFT signatures?
Maybe you have som best practice tips after looking where i'm going... all help is much appreciated.
:) Thanks
from minim.
Sounds like a tough problem and I don't have the brainspace right now to help with solving it, but I think you're on the right track. You need to get them sync'd somehow and then compare. FFT might be best, but depending on what kind of tolerances you need, simply comparing audio samples might get you there.
I've fixed this example (ea4ec44) so I'm going to close this issue. For help on your sketch, you might try posting to the Processing forums about it.
from minim.
Related Issues (20)
- recorder.save() breaks after 6 files HOT 3
- Any reason to change bufferSize of audioOutput dynamically? HOT 4
- How to normalize input? HOT 1
- getLineIn doesn't work HOT 1
- How to get the artwork of a mp3 file? HOT 1
- Using Minim in processing, how do I get the tempo of an audio file?
- Using minims beatdetect with line in or whatever output sound. HOT 1
- Deleting recorder files on exit HOT 4
- getLineIn() not working on Big Sur with Processing 3 and Minim 2.2.2 HOT 7
- Error when starting some examples HOT 1
- Unable to install minim through processing contribution manager HOT 1
- ClassNotFoundException: ddf.minim.Minim HOT 1
- Way to calculate instantaneous AudioPlayer position? HOT 5
- Support for Processing 4 (getLineIn doesn't work) HOT 4
- The microphone cannot be called in my macbookpro HOT 3
- How can I force a waveform to be updated only when it has finished playing HOT 3
- No Sound Output HOT 4
- recording internal audio HOT 1
- The clock widget is showing the incorrect time when set to the 24-hour clock format. HOT 1
- [Solution] Multiple Audio Devices?! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minim.