Skip to content

Commit f5b3438

Browse files
committed
Merge branch 'master' of github.com:kallaballa/sndcut
2 parents e51c675 + 919bacc commit f5b3438

File tree

1 file changed

+44
-3
lines changed

1 file changed

+44
-3
lines changed

README.md

+44-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,48 @@
11
sndcut is a program the generates LP records from audio files - it generates an SVG file that you can laser cut.
22
it's implementation is inspired by https://github.com/mitsuhito/CuttingRecordGenerator
33

4-
See sndcut -h for usage.
4+
#Usage
55

6-
You can find linux packages here: http://software.opensuse.org/download.html?project=home%3Aelchaschab&package=sndcut
7-
6+
Using sndcut is very simple. to generate a record you simply have to invoke it with an audio file (usually a wav file since mp3 is not supported. have a look [here](http://www.mega-nerd.com/libsndfile/#Features) for supported file types.
7+
8+
The following examples will give you and idea of the basic usage. But you should be aware that you can tweak following parameters:
9+
10+
- The diameter of the record in mm
11+
- The sampling rate in Hz of the resulting record. Automatic resampling will be done if it differs from the input file sampling rate. Setting this parameter to zero will adopt the sampling rate of the input file
12+
- Target RPM of the record
13+
- The maximum amplitude in mm
14+
- The space in between lines in mm
15+
- The inner margin of the record in mm
16+
- The outer margin of the record in mm
17+
- The center hole diameter in mm
18+
- The stroke width in the svg file in mm
19+
- The DPI of the laser cutter
20+
21+
See sndcut -h for advanced usage.
22+
23+
#Examples
24+
In this repository included are two pregenerated examples. They both were generated from the same wav file (imperial.wav). Please note that sndcut does automatic resampling of the audio data (default: 8000hz)
25+
26+
Command line used to generated imperial_short.svg:
27+
28+
sndcut imperial.wav > imperial_short.svg
29+
30+
Command line used to generated imperial_long.svg:
31+
32+
# a diameter of 300 millimeters
33+
sndcut -d300 imperial.wav > imperial_long.svg
34+
35+
The material i used is 5mm acrylic. I used a Epilog Legend 36Ext (60W) with following settings:
36+
- Green lines - Speed: 12%, Power: 100%
37+
- Blue lines - Speed: 10%, Power: 3%
38+
39+
If you happen to own a Epilog Legend 36Ext laser cutter you can use the ".cut" files included in the examples folder. Those files have all settings done and are ready to laser with [Ctrl-Cut](http://github.com/Metalab/ctrl-cut)
40+
41+
#Packages
42+
There are linux packages available for following distributions:
43+
- Fedora 20
44+
- OpenSUSE (13.1, 13.2, Factory)
45+
- Debian 7.0
46+
- Ubuntu (14.04, 14.10)
47+
48+
[Download](http://software.opensuse.org/download.html?project=home%3Aelchaschab&package=sndcut)

0 commit comments

Comments
 (0)