Comments (4)
No takers? Oh well thanks anyway
from minim.
Hi, apologies for not responding sooner, I am not really actively maintaining Minim right now, so I don't often check in here. With questions like these you might get a faster response from the community by posting in the Processing forum.
That said, I looked into the code and I believe what's going on is that the version of createRecorder
that you are using results in a "streaming" recording being created that records directly to a file that is opened when the recorder is created. The only way to close that file stream is to call save()
on the recorder (and you'll also want to call close()
on the recording returned from save()
. So you'd need to do that before deleting the file. This code is not well written (my fault) and lots of people have had issues with it over the years.
Another option would be to use the version of createRecorder
that takes a boolean buffered
argument. If buffered
is true, then you'll get back a recorder that records into an in-memory array and doesn't actually write to disk until you call save()
. So, in that case, if you discard the recorder without ever saving, you won't wind up with open file handles or extra files on disk that you want to delete. But this buffered version may not be appropriate if you are making longer recordings. In particular, the longer that you record, the slower it gets, which is why the streaming version is the default.
from minim.
from minim.
Many years ago I had aspirations to do that, but never got around to 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
- 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.