Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2011-10-24 08:53:33
Size: 330
Editor: heb
Comment:
Revision 8 as of 2011-11-11 07:15:27
Size: 2180
Editor: heb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:

== Pakkevejledning ==
Her beskrives hvordan man kommer fra kildekoden til en pakke der kan bruges i installationsvejledningen.

 1. Følg først installationsvejledningen på en maskine der kan bygge programmet.
 2. Kør {{{tar -cf xcorrSound.tar xcorrSound}}}
 3. Nu kan tjærebolden distribueres.

== Installationsvejledning ==
Beskrivelse af hvordan man bygger og installerer programmet på en given maskine.
 1. Checkout XcorrSound{{{
svn co https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.00}}}
 1. Go to the 'xcorrSound/fftw' folder.
 1. Run the following{{{
./configure
make
make install}}}
 1. go to the 'xcorrSound' folder.
 1. Run{{{
make xcorrSound}}}
 1. Test that it works: (should print out how to use this tool){{{
./xcorrSound}}}


== Anvendelse ==
Line 12: Line 37:
== Installationsvejledning ==
Beskrivelse af hvordan man bygger og installerer programmet på en given maskine.
 1. Step 1...
 1. Step 2...
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
}}}

XcorrSound

XcorrSound er et program til at finde overlap mellem to forskellige wave filer.

Pakkevejledning

Her beskrives hvordan man kommer fra kildekoden til en pakke der kan bruges i installationsvejledningen.

  1. Følg først installationsvejledningen på en maskine der kan bygge programmet.
  2. Kør tar -cf xcorrSound.tar xcorrSound

  3. Nu kan tjærebolden distribueres.

Installationsvejledning

Beskrivelse af hvordan man bygger og installerer programmet på en given maskine.

  1. Checkout XcorrSound

    svn co https://merkur.statsbiblioteket.dk/svn/scape-xcorrsound/tags/xcorrSound_v1.00
  2. Go to the 'xcorrSound/fftw' folder.
  3. Run the following

    ./configure
    make
    make install
  4. go to the 'xcorrSound' folder.
  5. Run

    make xcorrSound
  6. 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

xcorrSound (last edited 2012-02-22 10:21:58 by heb)