fs =8000;                    % Sampling frequency
fs_rate=fs;
dursec=10; %%duration of signal in seconds

t=linspace(0,2*pi,dursec*fs); 
freq=primes(fs/2*dursec);
freq=freq';

ya=zeros(1,length(t));
numfreq=numel(freq)

for ii=1:1:numel(freq)
	ya = ya+sin(freq(ii,1)*t); 
end
audio_prop='BitsPerSample',16,'Artist','artist rt','Title','title section rt','Comment','Comments section rt';
audiowrite('/tmp/test.flac',[ya(:) -1*ya(:)],44100,audio_prop)
