Questions tagged [sound]

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

Filter by
Sorted by
Tagged with
8
votes
1answer
136 views

How to reproduce Spectrogram from SpectrogramArray?

I'm trying to reproduce the result of Spectrogram from SpectrogramArray, but having no luck, any help? What I've got so far: <...
1
vote
0answers
19 views

What's the parameters of the Spectrogram function

The Spectrogram functions only has these parameters listed: Spectrogram[list,n,d,wfun] What's the value of the other ...
3
votes
2answers
68 views

Creating a Sequence of Sounds using Table

I am trying to play a sequence of sounds in Mathematica using Table. My real example is much more complicated so that is why I got to using ...
0
votes
0answers
11 views

Error while uploading audio files to databin

Getting the below error message while trying to upload audio to databin. "Your databin entry could not be added because it exceeds the 25kb limit." I have uploaded images to databin sometime ago.....
0
votes
0answers
29 views

NetDecoder using InverseShortTimeFourier, InverseSpectrogram, or Audio, etc., Possible?

I'm finding it impossible to create a NetDecoder to function as the inverse equivalent of, e.g., NetEncoder["AudioSTFT"], ...
2
votes
1answer
32 views

Converting an AudioStream object into a generic Audio Object

I am attempting to record from a USB Stereo input and I want to preserve the stereo signal. When I tried to use AudioCapture[], it compressed the signal into mono. ...
1
vote
1answer
83 views

How to get ListAnimate to click at each step?

It would be nice if, at each step in ListAnimate, there could be a clicking sound to draw attention to the new step. I hope to use the single click sound sample ...
3
votes
1answer
55 views

Full list of symbols not supported in the cloud?

I planned to use AudioCapture[] in a cloud notebook and just found out it’s not supported. There used to be a convenient “not in the cloud” icon in a symbols ...
0
votes
0answers
32 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 ...
2
votes
1answer
89 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
67 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
23 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
83 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
36 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
62 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
35 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
48 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
58 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
106 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
40 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
32 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
72 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
25 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
19 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
58 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
57 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
63 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
64 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
41 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 ...
1
vote
0answers
71 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 ...
1
vote
0answers
94 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
57 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
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 ...
2
votes
1answer
169 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
328 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 ...
0
votes
1answer
86 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 ...
2
votes
0answers
49 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
86 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
50 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 ...
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 ...
0
votes
0answers
46 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. <...
0
votes
1answer
51 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 ...
8
votes
1answer
169 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
77 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 ...
27
votes
4answers
992 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 ...
3
votes
0answers
60 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
134 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 ...
2
votes
0answers
52 views

Identifying the range of the voice

I'm trying to do an equalization in an audio program called Audition. To have a good voice equalization, I need to have a frequency range of my voice. A minimum value and a maximum frequency value. ...
4
votes
0answers
102 views

Softening Strident Sounds

I asked a question that was very well resolved by kjosborne I have some audios that I am looking for better the quality. Now I'm looking for a solution to soften the sound of ...

1 2 3 4 5