Questions tagged [sound]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
77 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 ...
2
votes
0answers
19 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
26 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
71 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
52 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
22 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
79 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
35 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
53 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
51 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
99 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
35 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
31 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
24 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
56 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
48 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
50 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 ...
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 ...
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
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
159 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
267 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
71 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
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
82 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 ...
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
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. <...
0
votes
1answer
48 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
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
74 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
969 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
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
117 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
47 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
100 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 ...
3
votes
1answer
259 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 ...
5
votes
1answer
144 views

Identifying Silence in Audio

I have some audios that contain short spaces of silence with different periods of time. Looking for information, I found this question. The audio example is this. Is there a way the program can do ...
1
vote
0answers
115 views

Generating music notes on the fly, that play over one another

I'm attempting to use Mathematica to generate music on the fly. I know that I can take a list of notes (which have lengths associated with them) and create a sound object, and play that sound object. ...
7
votes
0answers
207 views

Synthesizing Kylo Ren Voice in Mathematica - Start Wars

Kylo Ren voice in Star Wars The Force Awakens is very cool. When I watched the movie in 2015, one of the first things that came up to my mind was how to do such voice in Mathematica. At the time ...
4
votes
1answer
69 views

Extract RawArray from Audio

Audio objects backed by in-memory data (not files) seem to contain a RawArray. Is there a way to get the ...