bugLINGOT Is Not a Guitar-Only Tuner - Bugs: bug #38279, Sound wrapped when sampling with...

 
 

bug #38279: Sound wrapped when sampling with 16bit

Submitted by:  Ibán Cereijo <ibancereijo>
Submitted on:  Thu 07 Feb 2013 12:17:35 AM UTC  
 
Category:  None Severity:  5 - Blocker
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Ibán Cereijo <ibancereijo>
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 07 Feb 2013 03:37:28 PM UTC, comment #1:

Added images with time and frequency response at different stages for sample formats of 16 (int) and 32 (float) bits.

The stages depicted are:

  • Before the antialiasing filter (data delivered by the audio layer).
  • After the filer.
  • After the downsampling.

The pictures show that the frequency response of the signals are completely different before the filter, as long as the waveform is destroyed in time domain.

The anlialiasing filter provides unwrapping implicitly, so we can recover the waveform.

Anyway, we must avoid the wrapping, by using float sample formats in ALSA and PA. JACK already uses float, and regarding OSS ..., we can delegate in the antialiasing filter.

(file #27419, file #27420)

Ibán Cereijo <ibancereijo>
Project AdministratorIn charge of this item.
Thu 07 Feb 2013 12:17:35 AM UTC, original submission:

Only sampling with PA and format FLOAT32LE seems to work.
See attached files.

Ibán Cereijo <ibancereijo>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27420:  data_FLOAT32.zip added by ibancereijo (348KiB - application/zip - Images with time and frequency response at different stages for sample formats of 16 (int) and 32 (float) bits)
file #27419:  data_S16LE.zip added by ibancereijo (429KiB - application/zip - Images with time and frequency response at different stages for sample formats of 16 (int) and 32 (float) bits)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ibancereijo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 14 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-01 ibancereijo Open/ClosedOpen => Closed
    2018-06-30 ibancereijo StatusReady For Test => Fixed
    2013-02-08 ibancereijo StatusConfirmed => Ready For Test
    2013-02-07 ibancereijo StatusNone => Confirmed
    2013-02-07 ibancereijo Attached File- => Added data_S16LE.zip, #27419
        Attached File- => Added data_FLOAT32.zip, #27420
    2013-02-07 ibancereijo Attached File#27415 => Removed
    2013-02-07 ibancereijo Attached File#27414 => Removed
    2013-02-07 ibancereijo Attached File#27413 => Removed
    2013-02-07 ibancereijo Attached File#27412 => Removed
    2013-02-07 ibancereijo Attached File- => Added dump_alsa_44100_mic.txt.gz, #27412
        Attached File- => Added dump_pa_44100_monitor_fail.txt.gz, #27413
        Attached File- => Added dump_pa_44100_mic.txt.gz, #27414
        Attached File- => Added dump_pa_44100_mic_FLOAT32LE.txt.gz, #27415

    Back to the top


    Powered by Savane 3.3