Skip to main content
deleted 72 characters in body
Source Link
ruoho ruotsi
  • 1.8k
  • 9
  • 10

You say:

I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of Javazoom-Lib)

When you receive the stream in Java, what is the stream format?

You say that it is the "same" because the waveform and/or spectrogram look similar, but the MFCCs will come out different if the stream format (sample rate, bit depth, etc) are different. Also if you introduce lossiness by repeatedly decoding/encoding to MP3.

Can you confirm by printing out the stream formats

  1. Before sending to Java
  2. Upon receiving from Java?

I recommend using Soxi to print out the stream format (if you cannot otherwise dump it from R, or Java)

If you can eliminate stream format issues, mp3<->wav issues (deal only in wav), if you analysis windows are identical (as jojek says), then your MFCCs should come out identical.

You say:

I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of Javazoom-Lib)

When you receive the stream in Java, what is the stream format?

You say that it is the "same" because the waveform and/or spectrogram look similar, but the MFCCs will come out different if the stream format (sample rate, bit depth, etc) are different. Also if you introduce lossiness by repeatedly decoding/encoding to MP3.

Can you confirm by printing out the stream formats

  1. Before sending to Java
  2. Upon receiving from Java?

I recommend using Soxi to print out the stream format (if you cannot otherwise dump it from R, or Java)

If you can eliminate stream format issues, mp3<->wav issues (deal only in wav), if you analysis windows are identical (as jojek says), then your MFCCs should come out identical.

You say:

I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of Javazoom-Lib)

When you receive the stream in Java, what is the stream format?

You say that it is the "same" because the waveform and/or spectrogram look similar, but the MFCCs will come out different if the stream format (sample rate, bit depth, etc) are different.

Can you confirm by printing out the stream formats

  1. Before sending to Java
  2. Upon receiving from Java?

I recommend using Soxi to print out the stream format (if you cannot otherwise dump it from R, or Java)

If you can eliminate stream format issues, mp3<->wav issues (deal only in wav), if you analysis windows are identical (as jojek says), then your MFCCs should come out identical.

Source Link
ruoho ruotsi
  • 1.8k
  • 9
  • 10

You say:

I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of Javazoom-Lib)

When you receive the stream in Java, what is the stream format?

You say that it is the "same" because the waveform and/or spectrogram look similar, but the MFCCs will come out different if the stream format (sample rate, bit depth, etc) are different. Also if you introduce lossiness by repeatedly decoding/encoding to MP3.

Can you confirm by printing out the stream formats

  1. Before sending to Java
  2. Upon receiving from Java?

I recommend using Soxi to print out the stream format (if you cannot otherwise dump it from R, or Java)

If you can eliminate stream format issues, mp3<->wav issues (deal only in wav), if you analysis windows are identical (as jojek says), then your MFCCs should come out identical.