- Methodology article
- Open Access
Multi-channel acoustic recording and automated analysis of Drosophila courtship songs
BMC Biology volume 11, Article number: 11 (2013)
Drosophila melanogaster has served as a powerful model system for genetic studies of courtship songs. To accelerate research on the genetic and neural mechanisms underlying courtship song, we have developed a sensitive recording system to simultaneously capture the acoustic signals from 32 separate pairs of courting flies as well as software for automated segmentation of songs.
Our novel hardware design enables recording of low amplitude sounds in most laboratory environments. We demonstrate the power of this system by collecting, segmenting and analyzing over 18 hours of courtship song from 75 males from five wild-type strains of Drosophila melanogaster. Our analysis reveals previously undetected modulation of courtship song features and extensive natural genetic variation for most components of courtship song. Despite having a large dataset with sufficient power to detect subtle modulations of song, we were unable to identify previously reported periodic rhythms in the inter-pulse interval of song. We provide detailed instructions for assembling the hardware and for using our open-source segmentation software.
Analysis of a large dataset of acoustic signals from Drosophila melanogaster provides novel insight into the structure and dynamics of species-specific courtship songs. Our new system for recording and analyzing fly acoustic signals should therefore greatly accelerate future studies of the genetics, neurobiology and evolution of courtship song.
Many animals rely on acoustic signals to communicate both social and sexual information. Single individuals can produce highly dynamic signals, even during a single bout of communication, and social signals, particularly courtship songs, evolve quickly . What genetic and neural mechanisms produce such seemingly complex patterns? Answering this question requires not only tools for genetic and neural circuit manipulation, but also sensitive assays to measure and quantify animal sounds from many individuals rapidly.
Drosophila courtship song has been studied extensively since Shorey discovered it in 1962 . Among species that sing, song varies both qualitatively and quantitatively between species [3–5]. D. melanogaster courting males usually stand to the side or behind females and produce song by extending and vibrating one wing at a time. Singing males alternate between producing trains of pulses and trains of approximately sinusoidal ('sine') song; these pulse and sine trains are typically concatenated into bouts. The Drosophila wing is small relative to the wavelength of sound it produces by vibration, and thus the wing produces pressure waves inefficiently. On the scale of millimeters, which is approximately the distance between the singing male and the listening female, the particle velocity component of the sound, however, is larger, and the Drosophila female detects this sound component via her feathery arista, which is attached to the third segment of the antenna . Movement of the third antennal segment activates mechanosensory neurons housed within the antenna that transmit auditory information to the brain [7, 8].
Previous investigators have characterized Drosophila courtship song either through visual or audio recordings of a limited number of animals and, typically, investigators performed manual annotation of fly songs (for example [3, 7, 9–11] but see [12–14]). Human annotation has several obvious problems, including bias, fatigue-induced errors and the production of small datasets, providing limited power for statistical inference. In addition, scoring of wing extension in video recordings provides insufficient resolution to capture even the gross structure of song, such as the difference between pulse and sine trains, let alone more subtle characteristics. Many previous audio recordings have suffered from a low signal-to-noise ratio (SNR)--due to a combination of suboptimal electronics, inappropriate microphones, and/or insufficient soundproofing of the recording chamber--such that in some studies the lower amplitude components of song could not be detected reliably .
Here, we describe a 32-channel recording system that provides sufficient SNR to detect most song. This system can be assembled from standard electronics components and from simple recording chambers and associated parts, and we provide detailed instructions for construction and testing of the apparatus (Additional file 1). We also describe and provide open-source software that allows automated segmentation of courtship song. These resources enable recording and analysis of several orders of magnitude more courtship song data than has been available previously. We demonstrate the power of this approach by analyzing over 18 hours of courtship song, including 18,975 song bouts, from five strains of D. melanogaster, which allowed us to discover several previously undetected patterns. In addition, although many previous studies have characterized Drosophila song as relatively simple, we found that the songs of D. melanogaster exhibit extraordinary complexity and extensive genetic variation among natural strains for almost every aspect of song.
We sought to develop a multi-channel recording system with sufficient sensitivity to detect Drosophila courtship songs. Since 1962 , multiple hardware combinations have been developed for recording Drosophila courtship song (Table S2 in Additional file 2). We reviewed microphone type, amplifier design and chamber size used in these previous studies to identify elements of successful components that could be employed in a multiplexed system, and we chose to work with pressure-gradient microphones (Figure S1 in Additional file 3). Bennet-Clark [6, 15] emphasized the advantages of detecting Drosophila song using pressure-gradient microphones (which indirectly detect particle velocity) versus pressure-sensitive microphones. Because particle velocity is directional, oblique sounds are attenuated, and because particle velocity falls off as 1/r3, the intensity of nearby sound is considerably greater than distant sound. Thus, by using pressure-gradient microphones, extraneous laboratory sounds can be reduced significantly with simple shielding. We have found that the amplitude of the noise detected by the microphones when the apparatus is placed within an acrylic box (design provided in Additional file 1) and then on an air table is indistinguishable from the amplitude of the noise measured within a soundproof chamber.
We designed a custom electronic circuit to power the microphones and to amplify and filter their output signal (Figure S2 in Additional file 3), and we designed courtship chambers to position singing males as close to the microphones as possible (Figure 1 and Figures S3 and S4 in Additional file 3). We adopted a sloped-floor design  to discourage flies from crawling on the ceiling of the chamber. Our chamber allows pre-loading of a single male and single female into either side of a chamber separated by a sliding septum. Flies can be recovered live after recording by placing the chamber on a diffusive CO2 pad to anaesthetize flies.
We developed software for segmenting song, called FlySongSegmenter (Figure 2), which, at its core, employs the continuous wavelet transform  to detect individual pulses and multitaper spectral analysis  to detect sine trains. We then compared the automated detection of pulse and sine events with a sample of manually annotated recordings (Figure 3). With optimized parameters for D. melanogaster, wavelet detection of song pulses combined with heuristic rules for winnowing (resulting in Pulses.IPICull) displayed high sensitivity (Figure 3a, b), but sometimes relatively low positive predictive values (Figure 3c), especially for recordings that contained non-song sounds (such as grooming and jumping). To reduce the number of false positives detected, we employed a likelihood-based approach to winnow putative pulses (resulting in Pulses.ModelCull; see Additional file 3). Likelihood-based winnowing improved the positive predictive values with minimal reduction in the sensitivity (Figure 3b, c). Because of the tradeoff between sensitivity and positive predictive value in these recordings, all of the automated outputs therefore had similar overall accuracy (Figure 3d). After culling with the likelihood model, we confirmed that the automated outputs produced estimates of the inter-pulse interval - a key song parameter - that were similar to those estimated from manually annotated song (Figure 3g, h).
The sine trains detected by multitaper spectral analysis were shorter (Student's t = 5.2, 8 degrees of freedom (df), P < 0.001) and more numerous (Student's t = -7.0, 8 df, P < 0.001; Figure 3e, f) than those scored by manual annotation. This confirmed that, although our sample of manually annotated data came from a relatively small sample of song, this sample was of sufficient size to detect systematic biases resulting from automated segmentation. The differences between sine train length and number may result either from over-splitting of sine trains by FlySongSegmenter or by over-grouping of sine trains during manual annotation (Additional file 3). However, the systematic biases balanced out such that FlySongSegmenter detected approximately the same amount of total sine song as manual annotation (Student's t = -1.5, 8 df, P = 0.16; Figure 3g). Thus, FlySongSegmenter demonstrates high overall accuracy for detecting both pulse and sine trains in fly song.
Natural variation in song features
We validated the utility of this platform by collecting and segmenting 14-minute recordings from each of 88 courting males sampled from five non-mutant, wild-type strains of D. melanogaster. In our recordings, we detected a majority of pulses with maximum energy at approximately 220 Hz (Figure 4a, c), the fundamental carrier frequency, as has been reported previously . Approximately 17% of pulses had maximum energy at roughly double this frequency, likely reflecting the second harmonic (Figure S5 in Additional file 3).
We estimated models of pulse shape for each recording (Figure S5 in Additional file 3). Consistent pulse models could not be constructed for individuals that produced fewer than approximately 100 pulses and these individuals were thus excluded from further analysis. For the remaining individuals (N = 75), we detected an average of 2,418 pulses from each male (SD = 1,731; range, 182 to 7,879). All individuals displayed pulse models with similar shapes (Figure 4a), although the five strains displayed significant heterogeneity in pulse carrier frequency (Figure 4c; analysis of variance (ANOVA), F4,68 = 7.01, P < 1e-4).
Different strains also displayed heterogeneity in sine carrier frequency (Figure 4d; ANOVA, F4,67 = 11.35, P < 1e-6). We observed no significant correlation between the average carrier frequencies of pulse and sine trains, either among strains (compare Figure 4c and 4d), or across the entire dataset (Table S1 in Additional file 3).
Pulse trains are composed of a series of pulses that are separated by an IPI, a rapidly evolving component of song that is important for female choice [3, 4, 10, 20]. The distribution of over 100,000 IPIs over the entire dataset is skewed to longer IPIs (Figure 4b), as has been noted previously [10, 11]. We discovered that a two-component Gaussian mixture model fit the data better than most other simple models (Figure 4b). The mean of the lower Gaussian fit also displayed significant heterogeneity amongst strains (Figure 4e: ANOVA, F4,61 = 9.54, P < 1e-5).
Temporal dynamics of courtship song
Song bouts often comprise alternating pulse and sine trains of various lengths (Figure 2 and Additional file 3). On average, flies that sang more song overall produced relatively less sine song (Figure 4f; for slope, T = -10.48, 73 df, P < 0.0001). Different strains produced different proportions of sine versus pulse trains (Figure 4f; analysis of covariance, for intercepts F4,64 = 9.11, P < 0.0001). We found heterogeneity among strains in both pulse train length (Figure 4g; ANOVA, F4,68 = 3.63, P < 0.01) and in sine train length (Figure 4h; ANOVA, F4,70 = 5.08, P = 0.001). Pulse and sine train lengths were weakly correlated across the entire dataset (rho = 0.47; Table S1 in Additional file 3).
We estimated all pauses between song bouts (consecutive collections of sine and pulse trains that were separated by less than 0.5 seconds) and found a wide distribution of pause durations (Figure 4i). We also examined the distributions of all pulse train and sine train durations and found that they, too, displayed broad distributions (Figure 4j, k).
Previously, several studies have reported that the inter-pulse interval exhibits periodicity, with a period of approximately 55 seconds (or 0.0182 Hz) in D. melanogaster [9, 21–23]. It appears that none of the previous datasets have been of sufficient size to reliably estimate rhythms on the scale of minutes . In addition, no previous analysis has dealt adequately with the fact that the inter-pulse interval is sampled unevenly in time . Our data contain multiple samples of a length sufficient to rigorously assess the presence of rhythms. To search for these rhythms, we used the Lomb-Scargle periodogram [25, 26] (Figure 5), which was developed originally to study astronomical phenomena and is an accepted method for estimating the periodogram of unequally spaced time series .
All of the songs displayed significant rhythms in multiple frequency ranges (Figure 5c, e), but a minority of songs (29) displayed rhythms with power in the relevant frequency range of 0.016 to 0.022 HZ (P < 0.05; Figure 5e). For the songs that displayed significant power in the relevant range, frequencies outside of the relevant range usually displayed equal or stronger power (Figure 5c, e). There is, therefore, no compelling signal of periodicity limited to any particular frequency range for the inter-pulse interval data in this dataset. To determine whether this test was sufficiently powered to detect rhythms in the relevant range, were they to exist, we simulated inter-pulse interval rhythms of 0.0182 HZ with sampling times taken from our recorded songs, combined this rhythm with Gaussian noise of various levels (for example, Figure 5b), and then calculated the Lomb-Scargle periodograms for these simulated datasets (Figure 5d, f). Even when the simulated periodicity was buried in considerable noise, the Lomb-Scargle periodogram displayed excellent power to detect periodicity (Figure 5f). Over the signal-to-noise range of 0.1 to 2 (lower than the SNR for our recordings), our power to detect significant periodicity between 0.016 and 0.022 HZ exceeded 0.80 when the amplitude of the simulated periodic signal was at least equal to the variance in inter-pulse interval (SNR > 1; Figure S10 in Additional file 3).
Although we did not detect previously reported long rhythms in the inter-pulse interval, we did find other significant patterns in song. For example, we noticed that the fundamental frequency of sine trains was highly variable and appeared to be modulated during song bouts (Figure 6a). This pattern of sine modulation has not been noted previously. We used the Lomb-Scargle periodogram to test for long time scale rhythms in sine train fundamental frequency and we found no evidence for consistent fluctuations on the order of seconds (Figure S7 in Additional file 3). Our simulations showed that our power exceeded 0.99 with a SNR of at least 0.1 to detect such rhythms (Figures S8 and S9 in Additional file 3).
We therefore examined whether sine train fundamental frequency varied in a consistent manner within song bouts. We found that sine carrier frequency increases over the first few sine trains within a song bout (Figure 6b), and that all five strains display this pattern (Figure S10 in Additional file 3). We tested whether this phenomenon arises from a general increase in motor activity during each song bout - as might be expected from the warming of an active fly - by examining the within-bout dynamics of pulse carrier frequencies. Consecutive pulse carrier frequencies are more variable than for sines and they do not display any general tendency to increase during a song bout (Figure 6c). If anything, pulse carrier frequency tends to decline during a song bout. Combined, these results suggest that male flies modulate sine fundamental frequency during a song bout and that this modulation is not driven by simple thermodynamic constraints.
We tested for trends across an entire recording by measuring the correlation between elapsed time during the recording and various song parameters. We found that the average sine train carrier frequency increased over the course of most recordings, by about 10 to 20 Hz (Figure 6d, e; t-test for equality of correlations on average with 0, t = 8.97, 74 df, P < 0.0001). In addition, we found a tendency for bout duration (t = 4.98, 74 df, P < 0.0001) and sine train duration (t = 3.05, 74 df, P < 0.005) to increase during recordings (Figure 6e). Previous studies have suggested that females do not use sine trains to guide mating decisions [28, 29]. However, most previous studies have not used natural sine trains, and certainly not sine trains that were modulated as we have observed, in tests of female preference. Our observation of striking temporal dynamics of sine train carrier frequency, both within bouts on the order of seconds and over the course of an entire 14-minute courtship trial, suggests that it may be fruitful to reexamine the role of sine song in Drosophila courtship.
We have developed hardware and associated software that allows rapid collection and segmentation of an unprecedented amount of courtship song from D. melanogaster. We have illustrated the power of this system by analyzing a large sample of song from five wild-type strains. All song parameters that we have examined display intra-individual, inter-individual, and inter-strain variation. Almost all aspects of song display heterogeneity amongst strains. Because these five strains represent independent isolates from nature, and because all strains were treated identically in the laboratory, the variation between the strains most likely results from genetic differences between strains . Additionally, separate song features were either weakly correlated or uncorrelated (Table S1 in Additional file 3), which suggests that these strains segregate for multiple genetic variants that can influence each song feature independently. This observation is consistent with other studies that have revealed that many loci contribute to song variation [13, 31, 32]. These observations are also consistent with the extreme diversity of courtship song found amongst species of the genus Drosophila [3, 4, 10].
Previous studies of courtship song have reported a periodic cycling of the inter-pulse interval and that the frequency of this cycling is influenced by mutations at the period locus [9, 23]. Furthermore, this rhythm was reported to differ between closely related species, at least partly as a result of natural variation at the period locus [21, 22]. The existence of these rhythms proved to be controversial and several groups reported that they were unable to detect the rhythm [33, 34]. One hallmark of these previous studies is that they all involved datasets of a modest size, none suitable for estimation of rhythms with periods on the order of tens of seconds . Furthermore, most studies have employed spectral analysis techniques that are not appropriate for time series data sampled at irregular intervals. This limitation of classical spectral analysis was overcome by the development of new approaches by Lomb and Scargle that allow efficient detection of rhythms in irregularly sampled time series data. In addition, we have generated datasets where most individuals produced far more than 300 sample points, which, it has been suggested, is the absolute minimum sample size required to estimate significant power within a particular spectral range . We did not detect any evidence for the existence of periodic cycles of the inter-pulse interval at any frequency (Figure 5). Our simulations confirmed that our dataset was of sufficient size to find these rhythms if they existed. We must therefore conclude that flies singing in our apparatus do not produce periodic cycling of the inter-pulse interval and that this phenomenon is not available to us for further study.
Given our difficulty in detecting long-term trends in the inter-pulse interval, we were surprised to find several temporal modulations in sine train carrier frequency. First, male flies tend to increase the sine carrier frequency over the first few trains of a song bout, and this effect is specific to sine trains. Since we found no comparable trend for changes in pulse frequency, it appears that male flies modulate the sine carrier frequency independently of physical constraints on wing vibration. In addition, the independent modulation of sine train frequency and pulse frequency suggests that these two modes of song are produced by different mechanisms. These results contrast with the proposal of Ewing, who suggested that pulses are generated by a dampening of sine song [36, 37].
We also discovered that male flies modulate sine carrier frequency over even longer time scales. Over the course of the entire recording session of 14 minutes, average sine fundamental frequency tended to increase in most recordings (Figure 6d, e). In addition, song bout duration and sine train duration also displayed linear trends over this time scale (Figure 6e). Our results indicate that fly song, and sine song in particular, contains patterns on multiple time scales. It remains to be seen how much of this variability is detected and utilized by females for mate discrimination.
We observed extensive variation in many of the temporal dynamics of song, such as the pauses between bouts and the lengths of bouts and trains. This temporal variability in the structure of courtship song contrasts sharply with the highly stereotyped calling songs of other insects, such as crickets and grasshoppers . Currently, it is not clear how the variability in Drosophila courtship song is generated at the neural level. Male flies may switch between two central pattern generators to produce sine and pulse trains, a mechanism suggested by the apparently independent genetic variation for sine and pulse parameters, but we do not know what determines the length of time spent in each mode. We suspect that the patterns of sine and pulse trains may be related to the dynamics of courtship behavior, and in particular to the interaction of the male and the female, as has been suggested recently .
New transgenic tools available in D. melanogaster provide the opportunity to manipulate sparse subsets of neurons to interrogate neural networks . Our platform provides the opportunity to perform a systematic analysis of the neural basis for courtship song, even for neurons that contribute only subtle, quantitative aspects to song. In preliminary studies, we have found that our hardware and software can be employed, with minor modifications, to record and analyze song from several other species of Drosophila. We expect, therefore, that our platform will accelerate research on the genetic and neural basis for song within D. melanogaster and also will aid studies on song evolution.
Five strains of D. melanogaster were studied: Antigua = W-22 Antigua 89 from M. Ashburner; Beltsville = Beltsville, Missouri from M. Ashburner; CantonS (T. Tully); Ore-R = W-38 Oregon-R from M. Ashburner; and Taiwan = 14021-0231.07 from the University of California at San Diego stock center. Virgin males were collected and aged for 4 to 6 days. Virgin females at least one day old with their arista removed were used for recording with virgin males. Recordings were performed at approximately 25°C and 50% relative humidity.
One minute of song (from minutes 5 to 6 of each recording) was hand-annotated by TS-M using custom MatLab software (FlySongSegmenterByHand.m) that is part of the FlySongSegmenter suite. We calculated the sensitivity (number of hand-annotated pulses found by FlySongSegmenter/number of annotated pulses) and positive predictive value (number of hand-annotated pulses found by FlySongSegmenter/number of pulses found by FlySongSegmenter). We also calculated F, the harmonic mean of the sensitivity and positive predictive value (F = (2 × sensitivity × positive predictive value)/(sensitivity + positive predictive value)), where F = 1 implies perfect classification.
All statistical analyses were performed in MatLab R2011b. Differences in sine statistics between segmented and hand-annotated song were tested using paired, two-tailed Student's t tests. Statistical outliers were identified and removed prior to statistical analysis and plotting with an iterative Grubb's test [41, 42]. Heterogeneity amongst strains in most song parameters was tested using a one-way ANOVA and for the relative amount of sine to pulse song compared to total song using analysis of covariance.
Additional information, including complete plans and instructions for building the hardware, using the software, and further details of data analysis, are provided in Additional files 1, 2, 3, 4, 5, and 6.
Data and software availability
analysis of variance
degrees of freedom
Grace JL, Shaw KL: Coevolution of male mating signal and female preference during early lineage divergence of the Hawaiian cricket, Laupala cerasina. Evolution. 2011, 65: 2184-2196. 10.1111/j.1558-5646.2011.01278.x.
Shorey HH: Nature of the sound produced by Drosophila melanogaster during courtship. Science. 1962, 137: 677-678. 10.1126/science.137.3531.677.
Ewing AW, Bennet-Clark HC: The courtship songs of Drosophila. Behaviour. 1968, 31: 288-301. 10.1163/156853968X00298.
Hoy RR, Hoikkala A, Kaneshiro K: Hawaiian courtship songs - evolutionary innovation in communication signals of Drosophila. Science. 1988, 240: 217-219. 10.1126/science.3127882.
Ritchie MG, Gleason JM: Rapid evolution of courtship song pattern in Drosophila-Willistoni sibling species. J Evolution Biol. 1995, 8: 463-479. 10.1046/j.1420-9101.1995.8040463.x.
Bennet-Clark HC: Acoustics of insect song. Nature. 1971, 234: 255-259. 10.1038/234255a0.
Gopfert MC, Robert D: The mechanical basis of Drosophila audition. J Exp Biol. 2002, 205: 1199-1208.
Kamikouchi A, Inagaki HK, Effertz T, Hendrich O, Fiala A, Gopfert MC, Ito K: The neural basis of Drosophila gravity-sensing and hearing. Nature. 2009, 458: 165-171. 10.1038/nature07810.
Kyriacou CP, Hall JC: Circadian rhythm mutation in Drosophila melanogaster affect short-term fluctuation in the male's courtship song. PNAS. 1980, 77: 6729-6733. 10.1073/pnas.77.11.6729.
Cowling DE, Burnet B: Courtship songs and genetic control of their acoustic characteristics in sibling species of the Drosophila melanogaster subgroup. Anim Behav. 1981, 29: 924-935. 10.1016/S0003-3472(81)80030-9.
Moulin B, Rybak F, Aubin T, Jallon JM: Compared ontogenesis of courtship song components of males from the sibling species, D. melanogaster and D. simulans. Behav Genet. 2001, 31: 299-308. 10.1023/A:1012231409691.
Neumann EK, Wheeler DA, Bernstein AS, Burnside JW, Hall JC: Artifical neural network classification of Drosophila courtship song mutants. Bio Cybern. 1992, 66: 485-496. 10.1007/BF00204113.
Turner TL, Miller PM: Investigating natural variation in Drosophila courtship song by the evolve and resequence approach. Genetics. 2012, 191: 644-642.
Ritchie MG, Kyriacou CP: Genetic variability of courtship song in a population of Drosophila melanogaster. Anim Behav. 1994, 48: 425-434. 10.1006/anbe.1994.1256.
Bennet-Clark HC: A particle velocity microphone for the song of small insects and other acoustic measurements. J Exp Biol. 1984, 108: 459-463.
Simon JC, Dickinson MH: A new chamber for studying the behavior of Drosophila. PLoS One. 2010, 5: e8793-10.1371/journal.pone.0008793.
Mallat SA: A Wavelet Tour of Signal Processing: The Sparse Way. 2008, Burlington, MA: Academic Press, 3
Percival DB, Walden AT: Spectral Analysis for Physical Applications: Multitaper and Conventional Univariate Techniques. 1993, Cambridge: Cambridge University Press
Bennet-Clark HC: Microphone and pre-amplifier for recording courtship song of Drosophila. Drosophila Information Service. 1972, 49: 127-128.
Blyth JE, Lachaise D, Ritchie MG: Divergence in multiple courtship song traits between Drosophila santomea and D. yakuba. Ethology. 2008, 114: 728-736. 10.1111/j.1439-0310.2008.01519.x.
Kyriacou CP, Hall JC: Interspecific genetic control of courtship song production and reception in Drosophila. Science. 1986, 232: 494-497. 10.1126/science.3083506.
Wheeler DA, Kyriacou CP, Greenacre ML, Yu Q, Rutila JE, Rosbash M, Hall JC: Molecular transfer of a species-specific behavior from Drosophila simulans to Drosophila melanogaster. Science. 1991, 251: 1082-1085. 10.1126/science.1900131.
Zehring WA, Wheeler DA, Reddy P, Konopka RJ, Kyriacou CP, Rosbash M, Hall JC: P-element transformation with period locus DNA restores rhythmicity to mutant, arrhythmic Drosophila melanogaster. Cell. 1984, 39: 369-376. 10.1016/0092-8674(84)90015-1.
Logan IG, Rosenberg J: A referee's comment on the identification of cycles in the courtship song of Drosophila melanogaster. Anim Behav. 1989, 37: 860-860.
Lomb NR: Least-squares frequency analysis of unequally spaced data. Astrophysics and Space Science. 1976, 39: 447-462. 10.1007/BF00648343.
Scargle JD: Studies in astronomical time series analysis. II - Statistical aspects of spectral analysis of unevenly spaced data. Astrophysical Journal, Part 1. 1982, 263: 835-853.
Glynn EF, Chen J, Mushegian AR: Detecting periodic patterns in unevenly spaced gene expression time series using Lomb-Scargle periodograms. Bioinformatics. 2006, 22: 310-316. 10.1093/bioinformatics/bti789.
von Schilcher F: The function of pulse song and sine song in the courtship of Drosophila melanogaster. Anim Behav. 1976, 24: 622-625. 10.1016/S0003-3472(76)80076-0.
Talyn BC, Dowse HB: The role of courtship song in sexual selection and species recognition by female Drosophila melanogaster. Anim Behav. 2004, 68: 1165-1180. 10.1016/j.anbehav.2003.11.023.
Falconer DS, Mackay TFC: Introduction to Quantitative Genetics. 1996, Harlow: Addison Wesley Longman Limited
Gleason JM, Nuzhdin SV, Ritchie MG: Quantitative trait loci affecting a courtship signal in Drosophila melanogaster. Heredity. 2002, 89: 1-6.
Gleason JM, Ritchie MG: Do quantitative trait loci (QTL) for a courtship song difference between Drosophila simulans and D. sechellia coincide with candidate genes and intraspecific QTL?. Genetics. 2004, 166: 1303-1311. 10.1534/genetics.166.3.1303.
Crossley SA: Failure to confirm rhythms in Drosophila courtship song. Anim Behav. 1988, 36: 1098-1109. 10.1016/S0003-3472(88)80069-1.
Ewing AW: Cycles in the courtship song of male Drosophila melanogaster have not been detected. Anim Behav. 1988, 36: 1091-1097. 10.1016/S0003-3472(88)80068-X.
Brillinger DR, Tukey JW: Spectrum analysis in the presence of noise: some issues and examples. The Collected Works of John W Tukey. Edited by: Brillinger DR. 1984, Monterey: Wadsworth Advanced Books and Software, 1002-1141.
Ewing AW: Neuromuscular basis of courtship song in Drosophila - role of indirect flight muscles. J Comp Physiol. 1977, 119: 249-265. 10.1007/BF00656637.
Ewing AW: Neuromuscular basis of courtship song in Drosophila - role of the direct and axillary wing muscles. J Comp Physiol. 1979, 130: 87-93. 10.1007/BF02582977.
Hedwig B: Pulses, patterns and paths: neurobiology of acoustic behaviour in crickets. J Comp Physiol A Neuroethol Sens Neural Behav Physiol. 2006, 192: 677-689. 10.1007/s00359-006-0115-8.
Trott AR, Donelson NC, Griffith LC, Ejima A: Song choice is modulated by female movement in Drosophila males. PLoS One. 2012, 7: e46025-10.1371/journal.pone.0046025.
von Philipsborn AC, Liu T, Yu JY, Masser C, Bidaye SS, Dickson BJ: Neuronal control of Drosophila courtship song. Neuron. 2011, 69: 509-522. 10.1016/j.neuron.2011.01.011.
Grubbs FE: Procedures for detecting outlying observations in samples. Technometrics. 1969, 11: 1-21. 10.1080/00401706.1969.10490657.
wav files for "Multi-channel acoustic recording and automated analysis of Drosophila courtship songs". [http://flycourtship.github.com/FlySongSegmenter/]
Schilling K, Oberdick J, Schilling RL: Toward an efficient and integrative analysis of limited-choice behavioral experiments. J Neurosci. 2012, 32: 12651-12656. 10.1523/JNEUROSCI.1452-12.2012.
Kyriacou CP, Hall JC: Spectral analysis of Drosophila courtship song rhythms. Anim Behav. 1989, 37: 850-859.
We thank Bruce Land for help with the design of the electronics, Ron Hoy for funding and laboratory space for BJA, Sina Tootoonian and William Bialek for helpful discussions about song segmentation, and Michael Ashburner and the UCSD stock center for providing fly stocks. Early prototypes of the amplifier were used by Lauren Cator (Cator LJ, Arthur BJ and Ponlawat A and Harrington LC, J Med Entomol 2011, 48(4): 941-946). Figure 1 was illustrated by Katie Ris-Vicari. PC is supported by an HHMI International Student Research Fellowship, and MM is funded by the Alfred P. Sloan Foundation, the Human Frontiers Science Program, the Klingenstein Fund, the McKnight Foundation, and an NSF CAREER award.
The authors declare that they have no competing interests.
The project was conceived by DLS and MM. The electronics and data acquisition software were designed and developed by BJA. The recording chambers were developed primarily by TS-M. The data were collected and hand-annotated by TS-M. Analysis software was written by BJA, PC, DLS and MM. The data were analyzed by DLS and MM and the manuscript was written by DLS and MM, with input from all of the authors. All authors have read and approved the manuscript for publication.
Electronic supplementary material
Additional file 2: Prior art and parts and settings used for new courtship chambers. Table that lists microphones and amplifiers used previously in Drosophila courtship recording apparatuses and two tables that list parts and laser settings required to build the courtship chambers described in the paper. (PDF 539 KB)
Authors’ original submitted files for images
About this article
Cite this article
Arthur, B.J., Sunayama-Morita, T., Coen, P. et al. Multi-channel acoustic recording and automated analysis of Drosophila courtship songs. BMC Biol 11, 11 (2013). https://doi.org/10.1186/1741-7007-11-11
- courtship song
- multi-channel recording
- song segmentation software