1999
Comment:
|
← Revision 16 as of 2012-02-22 10:21:58 ⇥
2490
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Ny side: [[https://github.com/openplanets/scape-xcorrsound]] '''!!! Nedenstående er outdated !!!''' |
|
Line 7: | Line 10: |
1. Export source fra repository{{{ svn export https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.01}}} 1. Kør{{{ ./createtarball.sh}}} 1. Nu kan tjærebolden (xcorrSound.tar) distribueres. |
|
Line 9: | Line 18: |
1. Checkout XcorrSound{{{ svn co https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/version-XXX}}} 1. Go to the 'xcorrSound/fftw' folder. |
1. Export XcorrSound{{{ svn export https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.01}}} 1. Go to the 'xcorrSound/fftw-3-2-2' folder. |
Line 13: | Line 22: |
./configure | ./configure --prefix=<fftw> |
Line 16: | Line 25: |
where {{{<fftw>}}} is the subfolder ''fftw'' where xcorrSound_v1.01 was checked out. fx {{{/home/larm/jsn/xcorrSound_v1.01/fftw}}} |
XcorrSound
XcorrSound er et program til at finde overlap mellem to forskellige wave filer.
Ny side: https://github.com/openplanets/scape-xcorrsound
!!! Nedenstående er outdated !!!
Pakkevejledning
Her beskrives hvordan man kommer fra kildekoden til en pakke der kan bruges i installationsvejledningen.
Export source fra repository
svn export https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.01
Kør
./createtarball.sh
- Nu kan tjærebolden (xcorrSound.tar) distribueres.
Installationsvejledning
Beskrivelse af hvordan man bygger og installerer programmet på en given maskine.
Export XcorrSound
svn export https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.01
- Go to the 'xcorrSound/fftw-3-2-2' folder.
Run the following
./configure --prefix=<fftw> make make install
where <fftw> is the subfolder fftw where xcorrSound_v1.01 was checked out. fx /home/larm/jsn/xcorrSound_v1.01/fftw
- go to the 'xcorrSound' folder.
Run
make xcorrSound
Test that it works: (should print out how to use this tool)
./xcorrSound
Anvendelse
Syntax:
xcorrSound <<EOF ANALYSIS_FILE_1.wav ANALYSIS_FILE_2.wav EOF
Output example:
----------------------- wav header start ----------------------- ChunkID: RIFF$ËnWAVE ChunkSize: 57600036 Format: WAVE ----------------------- wav header end ----------------------- ----------------------- wav subchunk start ----------------------- Subchunk1ID: fmt Subchunk1Size: 16 AudioFormat: 1 NumChannels: 2 SampleRate: 48000 ByteRate: 192000 BlockAlign: 4 BitsPerSample: 16 Subchunk2ID: data Subchunk2Size: 57600000 ----------------------- wav subchunk end ----------------------- ----------------------- wav header start ----------------------- ChunkID: RIFF$ËnWAVE ChunkSize: 57600036 Format: WAVE ----------------------- wav header end ----------------------- ----------------------- wav subchunk start ----------------------- Subchunk1ID: fmt Subchunk1Size: 16 AudioFormat: 1 NumChannels: 2 SampleRate: 48000 ByteRate: 192000 BlockAlign: 4 BitsPerSample: 16 Subchunk2ID: data Subchunk2Size: 57600000 ----------------------- wav subchunk end ----------------------- The best match was below the threshold of 0.2 Best at sample number: 11520000 Best at second: 240 Value of match was: 0.132016