Questions tagged [sound]

Questions relating to Mathematica's sound and audio functionality, including Play, Sound, Audio and Speak.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Find repeating chunks in audio file

I have a long audio file (12+ hours). I know that there are some unknown small (2 minutes each or thereabout, it varies) repeating (not bit by bit: it is recorded with a mic) chunks in it, repeating ...
1
vote
1answer
64 views

How to extract audio from a Youtube video

Is it possible to extract audio from a Youtube video using Mathematica? I have looked at this post and figured out that it is impossible to download videos with the Youtube API. Are there any possible ...
1
vote
1answer
51 views

Import .wav and Export .csv - where is the bottleneck?

I have a number of .wav files in a folder. I want to: Import each file as data, cut each list into a certain number of small lists, export each list as .csv. The .wav files have a length of approx. ...
0
votes
0answers
21 views

Why is the number of sample points of an audio changed after being export?

I have an audio audio001 and I need to export/import it so that I can do auto-correlation. Below I used ...
1
vote
0answers
62 views

Is there a neural network or feature available which can synthesize speech from a voice?

Consider the following VoCo project from Adobe. In it they show how they are able to take 20 mins of speech and create additional narration in the same voice very accurately. Video1 (Nov-2016) ...
1
vote
0answers
34 views

Why does Normal distort sound from SpeechSynthesize?

I was reading the documentation on the SpeechSynthesize function in Mathematica 11.2 and trying out the Basic Examples. They have ...
1
vote
1answer
49 views

Fourier Analysis of a .aiff file

I'm trying to use Mathematica to perform Fourier Analyses on sound files, but I'm not sure how to get the Frequency Spectrum from the .aif file. The instructions I have say: use Mathematica’s Play ...
0
votes
0answers
31 views

Shifting audio down by a constant amount

I can use AudioPitchShift in order to shift a section of audio down a certain number of semitones. However, I want to shift audio down at a constant rate of 2.5 semitones/second. I want this to be a ...
1
vote
0answers
30 views

Plot Audio DAta

I am a beginner in mathematica. Currently i am working on audio file my problem is when i extract audio information using BinaryReadList and try to plot it works with mono wav file but cannot get ...
1
vote
1answer
50 views

Multiple notes at once in sound

I am trying to write a sound such that I can play double or triple stops in a Sound style. I am trying to do ...
1
vote
0answers
96 views

How can you write musical notation in Mathematica?

I am trying to write a project that overlaps particle physics and music, and have written all the basis in Mathematica, but to display it I need to write some lines of music out. I deally I would like ...
1
vote
0answers
34 views

How to filter audio to get best results in correlation?

I am trying to recognise the alphabetical letters by saving some data of records of me and others saying each letter, then comparing a test audio not contained in the data to each letter using the ...
0
votes
0answers
29 views

Generating audio from integer list data

I have integer list data which I am outputting to MIDI format, however the list data range of values is much greater than the MIDI note range, so is it possible to use the min and max value in the ...
1
vote
0answers
61 views

Speed up/slow down audio file

I am importing an audiofile to Mathematica and want to play it back at double speed. The only functions I see are the advanced options of AudioPitchShift (which doesn't alter the duration but ...
0
votes
0answers
23 views

FLAC to MP3 converter errors exporting meta information

So I'm making a simple .flac to .mp3 converter, but it can't handle the metadata for the files, as sometimes they have incompatible tags. (For example, Xiph is only found in .flac) The code so far: <...
0
votes
0answers
16 views

How can I know the true range of the values returned by AudioLocalMeasurements?

I need to normalize the values of different AudioLocalMeasurements results but I can't seem to find any info regarding the range of values in which each measurement ...
2
votes
1answer
55 views

Where to find information about models, data and labels used by Image/AudioIdentify?

I am thinking about using Mathematica 12's ImageIdentify and AudioIdentify functions for an interdisciplinary research project. The social science part of it requires to describe a little bit the ...
3
votes
1answer
47 views

Integers to soundnote for midi generation

To generate a midi file given two lists of integers of equal length, one for the note pitch and one for the corresponding note duration (tempo), I'd like to use the built in Midi file generator, but ...
0
votes
1answer
49 views

Export and import sound give different data

If I export a sound object and then I import the same sound I have a different data array. The errors seem to have a certain regularity. They are all multiples of the same value: Why does it ...
0
votes
1answer
60 views

Manipulate plot and sound of a function simultaneously

I've an amplitude function (see below). I want to manipulate both a plot of this function and the sound it makes with the same sliders. Is this possible? ...
1
vote
0answers
39 views

Adding of Mathematica “Play” structures in Mathematica 10

I try to do some sound manipulation in Mathematica 10, because i can't upgrade to Mathematica 11 with my students license, which i realise would have a lot more to offer for Audio Processing. However ...
2
votes
1answer
149 views

Computing FundamentalFrequency

How does Mathematica use AudioLocalMeasurements to compute the fundamental frequency? Is there any formula? I can't seem to find what method Mathematica makes use ...
1
vote
0answers
68 views

Sound Processing frequency Dynamicly

Would like to know if there is a method to call upon the frequency of a song at a given time for instance at 0:34 second the frequency is x ; But to do this live meaning as long as the song is ...
0
votes
0answers
51 views

Pressing key to play sound

Is possible to bind keyboard keys so that they make a sound? I want to make a piano keyboard that I can play from my laptop keyboard. Example: Clicking "1" on keyboard makes Mathematica start ...
2
votes
2answers
92 views

How can I make a surface of revolution from the given “TimeSeries”?

I read this article and I tried to make a simple analog ...
1
vote
0answers
78 views

animated gif with music, sound or voice-over

I created a animated gif. This animation exist of 20 frames. The animation repeats after the last frame. I want to add music,sound or a voice-over to this animated gif. Who has a suggestion to do ...
0
votes
0answers
53 views

doppler graph using an audio file

I'm trying to plot a graph frequency (Hz) x Time (ms). My problem is, I dont know what kind of data I'm extracting from the audio file. When I write the function: ...
1
vote
1answer
58 views

MouseOver and Speak

I am having an issue where Mouseover doesn't work with Speak and instead returns Null. All ...
2
votes
1answer
158 views

CDF Deploy of dynamic module

I am trying to deploy a CDF file with a small animation that does the following: when the button is pressed, it plays a sound and displays a spectrogram ; while the sound plays, a red progress line ...
9
votes
2answers
263 views

Frequency of ticks in mechanical watches

I'm looking to find the frequency of a relatively large dataset (or a relatively short audio file) of a repeating sound, like so: Here are the original files, for those willing to play. :) eta2412 ...
2
votes
1answer
57 views

Sound loop without hiccups

I want to make a seamless sound loop that can play forever, but the consecutive EmitSound commands do not merge as I would like them to; that is, the sound seems to hiccup at the point where the loop ...
0
votes
1answer
69 views

My module producing sound could not be compiled

So, here's my code to return a play object after passing in frequency and duration as parameters. When I run it, it says "Sound::ssnm: A good PlayRange could not be found since most of the ...
11
votes
2answers
578 views

How to combine Neural Network and Audio like Classify?

I want to combine Audio object and Neural Network ,first thing I remember is Classify ...
2
votes
0answers
46 views

Create tone with adjustable frequency/amplitude

How can I play a tone and adjust its frequency and amplitude? As an example, say I wanted to play a SquareWave with a slider for frequency and amplitude. Using a <...
5
votes
1answer
71 views

Precision-related error in Audio

Bug introduced in 11.3 or earlier CASE:4075745 I have been experimenting with using Audio and associated functions for data acquisition using an external sound ...
5
votes
1answer
80 views

Weird Export of .M4A format

When Exporting .M4A format audio, the duration is always 1. It seems that the audio is fast-forward played... Is that a bug and how can I fix it? Sample code: ...
3
votes
1answer
46 views

Eliminate clicks/pops from Play function

When using the Play function with a simple Sin wave, the audio clicks/pops at the beginning and end of the audio sample. How ...
0
votes
1answer
45 views

Fine control of AudioRecord

I use an external sound card (Fireface UCX) for data acquisition, generating stimulus .wav files with Mathematica, using Audacity to simultaneously play the stimulus and record several channels of ...
9
votes
2answers
659 views

How to perform Blind Source Separation on an audio mix?

There have been several scholarly publications on the Blind Source Separation (BSS) problem. Some are aimed at audio signals. I wish to start with a simple case. I have generated a custom sound mix ...
0
votes
1answer
52 views

Remove sound emitted after evaluation

After the evaluation of a cell Mathematica emits a sounds: how can I remove it? If needed, I use v.10 on a Windows 8.1 64 bits machine.
2
votes
3answers
910 views

How can I convert a Sound created with SoundNote to a list of samples?

I have a Sound created with SoundNote, as follows: simpleSound = Sound[SoundNote["C"]] ...
0
votes
0answers
39 views

Cannot import ExampleData/dialing.m4a in mma version 11.2.0.0

I cannot import MPEG-4 audio, whether it be the example file provided, or any other M4A file I have. The documentation clearly states that this should work, but here's what I get when I try it. <...
2
votes
1answer
61 views

Is there a discrepancy between reported and actual SampleRate in AudioGenerator

When AudioGenerator is used to generate an Audio object, there may be a discrepancy between the specified (and reported) SampleRate and the actual time difference between the samples. This was ...
8
votes
1answer
166 views

Audio equivalent of CurrentImage

Unfortunately, there is no CurrentAudio[] function yet. I'm trying to poll for 1 second clips of audio (as fast as possible) from my computer's microphone (and ...
6
votes
1answer
70 views

How to CloudDeploy an APIFunction that takes audio as input?

I have a function whose argument is Audio and I'd like to deploy it as an API (and then call it from Python). This works as with ...
3
votes
1answer
256 views

Machine learning classify function with audio and set of pictures

As I see from documentation, Classify function supports Audio and Pictures as input, video is not supported unfortunately :( Will it work if I try to use classify for mixed data input like ...
27
votes
4answers
963 views

How fast is my fidget spinner spinning? A sound experiment!

I would like to measure how fast my 6-bladed fidget spinner spins. To do so, after giving it a hard spin, I gently touch the spinner with a wooden stirring stick to create a buzzing sound which ...
5
votes
5answers
400 views

How to measure Sample Rate?

How do I measure the sample rate of an imported file in Mathematica? I imported the WAV file: solo = Import["solo.wav"] When I wrote: ...
3
votes
0answers
52 views

Finding the beat rate of a song [duplicate]

I'm trying to use Mathematica to find out the beat rate of a song. The image below shows some markups I made in another program in milliseconds. I was able to find that there is a pattern every ...
0
votes
0answers
115 views

Playing sound using an array of soundsamples

I have an assignment where I have to apply effects such as reverb to a .wav file using mathematica. I used Import["sound.wav","data"] to get the array and then did ...