Why the audioread function is giving data samples in two coloum?
    9 views (last 30 days)
  
       Show older comments
    
    krishna Chauhan
 on 16 Jan 2022
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 19 Jan 2022
            Hi there I am using the code below to read sata samples in my audio dataset. Usually the size of data is (number of data samples in audio file X 1) but here I am getting (number of data samples in audio file X 2), can any one explain please?
[data,fs]=audioread('F_01_02_05.wav');
fs=44100; 
Here data=112128X2 double ??
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 16 Jan 2022
        That indicates that the audio has two channels (stereo)
7 Comments
  Walter Roberson
      
      
 on 19 Jan 2022
				Sorry, I have no information about how audio files are read on python, or about how python treats processing multiple channels.
More Answers (0)
See Also
Categories
				Find more on Call Python from MATLAB in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!