Comments (3)
@sockite, you can install Docker for Mac and run it that way. It will not be a native macOS binary, as Docker for Mac runs through a lightweight Linux VM.
from audiowaveform-docker.
Thank you for your answer, I have downloaded docker and successfully run your code, but it is impossible for every user to deploy the docker environment like this, so I am still looking for binary files that can run directly on macos, because It's my first time to touch docker, so I can't build macos binary files in docker like bbc introduced.
bbc/audiowaveform#181 (comment)
from audiowaveform-docker.
sockite@yangkundeMacBook-Pro audiowaveform-docker % alias awf='docker run --rm -v `pwd`:/tmp -w /tmp realies/audiowaveform'
awf -i input.wav -o output.dat
Input file: input.wav
Frames: 115190
Sample rate: 16000 Hz
Channels: 1
Format: 0x10006
Sections: 1
Seekable: yes
Generating waveform data...
Samples per pixel: 256
Input channels: 1
Output channels: 1
Done: 100%
Read 115190 frames
Generated 450 points
Output file: output.dat
Resolution: 16 bits
Channels: 1
Done
sockite@yangkundeMacBook-Pro audiowaveform-docker % alias awf='docker run --rm -v `pwd`:/tmp -w /tmp realies/audiowaveform'
awf -i input.wav -o output.json
Input file: input.wav
Frames: 115190
Sample rate: 16000 Hz
Channels: 1
Format: 0x10006
Sections: 1
Seekable: yes
Generating waveform data...
Samples per pixel: 256
Input channels: 1
Output channels: 1
Done: 100%
Read 115190 frames
Generated 450 points
Output file: output.json
Done
sockite@yangkundeMacBook-Pro audiowaveform-docker % alias awf='docker run --rm -v `pwd`:/tmp -w /tmp realies/audiowaveform'
awf -i input.wav -o output.png
Input file: input.wav
Frames: 115190
Sample rate: 16000 Hz
Channels: 1
Format: 0x10006
Sections: 1
Seekable: yes
Generating waveform data...
Samples per pixel: 256
Input channels: 1
Output channels: 1
Done: 100%
Read 115190 frames
Generated 450 points
Image dimensions: 800x250 pixels
Channels: 1
Sample rate: 16000 Hz
Samples per pixel: 256
Start time: 0 seconds
Start index: 0
Buffer size: 450
Axis labels: yes
Amplitude scale: 1
Output file: output.png
Done
from audiowaveform-docker.
Related Issues (5)
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 audiowaveform-docker.