Main Forums >> PC Music
        Print Thread

Pages: 1
RobKellySound



Joined: 02/02/14
Posts: 43
Quick Question on Buffers - Samples or Megabytes
      #1090508 - 24/02/14 07:29 PM
Hi all,

Has anyone ever come across adjustable buffers for recording audio which are based on megabytes rather than samples?

I am having a text based chat with someone about it and they seem to be mixing up terms. They insist that with their Presonus interface on Windows that there was terrible trouble being had with having to constantly adjust a buffer size in megabytes.

Never come across this in all my years. It seems to me that there is a mix up of terms between buffers in samples and megabytes.

Thanks!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
robinv



Joined: 31/08/04
Posts: 780
Re: Quick Question on Buffers - Samples or Megabytes new [Re: RobKellySound]
      #1090516 - 24/02/14 08:07 PM
Buffers will be described in either samples or milliseconds - so 256 samples would probably be around 10-20ms. There's maths you can use to work out the relationship but there's certainly no megabytes involved.

--------------------
Molten Music Technology - Computers for doing music on


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
RobKellySound



Joined: 02/02/14
Posts: 43
Re: Quick Question on Buffers - Samples or Megabytes new [Re: robinv]
      #1090517 - 24/02/14 08:16 PM
That was what I was thinking, I think I am getting drawn in by a troll to be honest


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
dmills



Joined: 25/08/06
Posts: 2456
Loc: High Wycombe, UK
Re: Quick Question on Buffers - Samples or Megabytes new [Re: RobKellySound]
      #1090694 - 25/02/14 07:32 PM
Maybe, maybe not..

Disk buffers as used for example when streaming samples are often sized in megabytes, and while it is seldom an issue these days, there was a time when trying to stream multiple samples from disk took some careful tuning.

Regards, Dan.

--------------------
Audiophiles use phono leads because they are unbalanced people!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
RobKellySound



Joined: 02/02/14
Posts: 43
Re: Quick Question on Buffers - Samples or Megabytes new [Re: dmills]
      #1090704 - 25/02/14 09:25 PM
Aye, that makes sense. Though we were speaking specifically about recording and playback of audio rather than sample based stuff.

Thanks!


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Johnsy
member


Joined: 06/04/04
Posts: 159
Re: Quick Question on Buffers - Samples or Megabytes new [Re: RobKellySound]
      #1090728 - 26/02/14 03:22 AM
You could describe audio i/o buffers in terms of megabytes, but it wouldn't be very practical.

A 256-sample buffer, for example, contains (obviously) 256 samples. Let's assume those samples each consist of twenty-four bits. Let's also assume that each of those 24-bit samples are contained in a 32-bit frame (as they will be unless you're using a 'packed' format). That's a total of [256 x 32] 8192 bits, or 1024 bytes. Depending on which interpretation of the term 'megabyte' you're using, that's either 0.001024MB or 0.001MB per buffer (properly and unambiguously, 0.001MiB.)

A one MB (MiB) buffer would thus contain 256,000 samples, and introduce around 5.8 seconds of latency at 44.1kHz.


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Pages: 1

Rate this thread

Jump to

Extra Information
2 registered and 13 anonymous users are browsing this forum.

Moderator:  David Etheridge, James Perrett, zenguitar, Martin Walker, Forum Admin, Hugh Robjohns, Zukan, Frank Eleveld, SOS News Editor,  
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled
Rating:
Thread views: 767

December 2014
On sale now at main newsagents and bookstores (or buy direct from the
SOS Web Shop)
SOS current Print Magazine: click here for FULL Contents list
Click image for December 2014
DAW Tips from SOS

 

Home | Search | News | Current Issue | Tablet Mag | Articles | Forum | Blog | Subscribe | Shop | Readers Ads

Advertise | Information | Privacy Policy | Support | Login Help

 

Email: Contact SOS

Telephone: +44 (0)1954 789888

Fax: +44 (0)1954 789895

Registered Office: Media House, Trafalgar Way, Bar Hill, Cambridge, CB23 8SQ, United Kingdom.

Sound On Sound Ltd is registered in England and Wales.

Company number: 3015516 VAT number: GB 638 5307 26

         

All contents copyright © SOS Publications Group and/or its licensors, 1985-2014. All rights reserved.
The contents of this article are subject to worldwide copyright protection and reproduction in whole or part, whether mechanical or electronic, is expressly forbidden without the prior written consent of the Publishers. Great care has been taken to ensure accuracy in the preparation of this article but neither Sound On Sound Limited nor the publishers can be held responsible for its contents. The views expressed are those of the contributors and not necessarily those of the publishers.

Web site designed & maintained by PB Associates | SOS | Relative Media