2
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      audiomath: A neuroscientist's sound toolkit

      research-article

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          In neuroscientific experiments and applications, working with auditory stimuli demands software tools for generation and acquisition of raw audio, for composition and tailoring of that material into finished stimuli, for precisely timed presentation of the stimuli, and for experimental session recording. Numerous programming tools exist to approach these tasks, but their differing specializations and conventions demand extra time and effort for integration. In particular, verifying stimulus timing requires extensive engineering effort when developing new applications.

          This paper has two purposes. The first is to present audiomath ( https://pypi.org/project/audiomath), a sound software library for Python that prioritizes the needs of neuroscientists. It minimizes programming effort by providing a simple object-oriented interface that unifies functionality for audio generation, manipulation, visualization, decoding, encoding, recording, and playback. It also incorporates specialized tools for measuring and optimizing stimulus timing.

          The second purpose is to relay what we have learned, during development and application of the software, about the twin challenges of delivering stimuli precisely at a certain time, and of precisely measuring the time at which stimuli were delivered. We provide a primer on these problems and the possible approaches to them. We then report audio latency measurements across a range of hardware, operating systems and settings, to illustrate the ways in which hardware and software factors interact to affect stimulus presentation performance, and the resulting pitfalls for the programmer and experimenter. In particular, we highlight the potential conflict between demands for low latency, low variability in latency (“jitter”), cooperativeness, and robustness. We report the ways in which audiomath can help to map this territory and provide a simplified path toward each application's particular priority.

          By unifying audio-related functionality and providing specialized diagnostic tools, audiomath both simplifies and potentiates the development of neuroscientific applications in Python.

          Abstract

          Auditory stimuli; Python; Software library; Audio latency; Audio jitter

          Related collections

          Most cited references18

          • Record: found
          • Abstract: not found
          • Article: not found

          Matplotlib: A 2D Graphics Environment

            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            The NumPy Array: A Structure for Efficient Numerical Computation

              Bookmark
              • Record: found
              • Abstract: found
              • Article: not found

              BCI2000: a general-purpose brain-computer interface (BCI) system.

              Many laboratories have begun to develop brain-computer interface (BCI) systems that provide communication and control capabilities to people with severe motor disabilities. Further progress and realization of practical applications depends on systematic evaluations and comparisons of different brain signals, recording methods, processing algorithms, output formats, and operating protocols. However, the typical BCI system is designed specifically for one particular BCI method and is, therefore, not suited to the systematic studies that are essential for continued progress. In response to this problem, we have developed a documented general-purpose BCI research and development platform called BCI2000. BCI2000 can incorporate alone or in combination any brain signals, signal processing methods, output devices, and operating protocols. This report is intended to describe to investigators, biomedical engineers, and computer scientists the concepts that the BC12000 system is based upon and gives examples of successful BCI implementations using this system. To date, we have used BCI2000 to create BCI systems for a variety of brain signals, processing methods, and applications. The data show that these systems function well in online operation and that BCI2000 satisfies the stringent real-time requirements of BCI systems. By substantially reducing labor and cost, BCI2000 facilitates the implementation of different BCI systems and other psychophysiological experiments. It is available with full documentation and free of charge for research or educational purposes and is currently being used in a variety of studies by many research groups.
                Bookmark

                Author and article information

                Contributors
                Journal
                Heliyon
                Heliyon
                Heliyon
                Elsevier
                2405-8440
                10 February 2021
                February 2021
                10 February 2021
                : 7
                : 2
                : e06236
                Affiliations
                [a ]Stratton VA Medical Center, Albany, NY, USA
                [b ]Burke Neurological Institute, White Plains, NY, USA
                [c ]Blythedale Children's Hospital, Valhalla, NY, USA
                [d ]Department of Physiology and Biophysics, Weill Cornell Medicine, New York, NY, USA
                Author notes
                [* ]Corresponding author. jezhill@ 123456gmail.com
                Article
                S2405-8440(21)00341-8 e06236
                10.1016/j.heliyon.2021.e06236
                7881231
                33615015
                47c22b7b-8f64-4ce1-8b17-67a5bdae1286

                This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).

                History
                : 29 April 2020
                : 16 October 2020
                : 5 February 2021
                Categories
                Research Article

                auditory stimuli,python,software library,audio latency,audio jitter

                Comments

                Comment on this article