All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
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 ...
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: ...
0
votes
0answers
38 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
0answers
55 views

Is it possible to create an instrumental version of an mp3 file in Mathematica?

I'm aware that it's possible to use a program like Audacity to do this and that it's most likely easier, but I'd like to know how to make instrumental versions of songs in the mp3 format using ...
1
vote
1answer
228 views

How to automatically play a sound file after importing

I want Mathematica (Version 11.0.1.0) to automatically play a specific sound file after importing from the hard drive without any user intervention other than opening the notebook. Here is what I have ...
0
votes
0answers
115 views

Import audio of a video

I recorded some videos with my webcam using QuickTime and imported the .mov files as an ImageList into MMA using Import which supports QuickTime Version 7 and earlier. The question is how do I get the ...
4
votes
1answer
79 views

Loss of scale factor when reading/recording/rereading data in a WAV file [duplicate]

I use recorded data from an acquisition system in a wav file containing 6 channels, all data are encoded with 2 bytes in Integer 16. I can Import the *.wav data file and get all data in a Sound object ...
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: ...
4
votes
2answers
168 views

importing a 150 MB .wav crashes Mathematica

rawdata = Import["rawdata_10min.wav"] crashes Mathematica when the file is 150 MB, but does not crash Mathematica when the file is 20 MB.
0
votes
1answer
123 views

How to analyze a large wav file?

I have a large wav file (100 Mb). Any operation on it is time consuming. For example, to Import it takes about 1-2 minutes. The next step seems to be to figure out how it is encoded, since WAV files ...
1
vote
1answer
348 views

Strange behavior: Cannot import data as MP3 format anymore

I am having the strangest problem since a day: Mathematica is no longer (after a reinstall) able to import MP3 files. I think these details should not be relevant, but they are all there are: It ...
1
vote
2answers
371 views

How to cut imported audio?

How to cut an audio clip imported by the Import function? E.g. I'm interested in the content starting from the 100th sample up to the 200th. I'd like to avoid ...
2
votes
2answers
701 views

How to get a audio file's duration time in Mathematica?

I have a *.avi file and if I want to know the file's duration time: I can use this code to get the result: Import["test.avi", "Duration"] or the code to get the ...
4
votes
1answer
282 views

Import audio in uLaw format?

How do I import a uLaw-format audio file into Mathematica? Here's an example: hello-world.ulaw For reference, here's the same file in wav format: hello-world.wav As I understand it, the uLaw ...
0
votes
1answer
468 views

How to import sound file from computer? [duplicate]

I know you can import sounds/images from the Mathematica library, but I was wondering if I could import sounds I have on my computer (i.e. .wav files)? I've tried using the Import functon and properly ...
2
votes
2answers
690 views

Sound data Import Export

Can't regain the data after Export. Create an array of sampled amplitude values: 2. Visualize as sound 3. Save it 4. Get it back 5. ??? ...
24
votes
4answers
3k views

Is it possible to use Mathematica to record sound and/or vision?

I think the title says it all. I know about ImageCapture which seems to capture stills. Can ImageCapture be made to capture a ...
11
votes
1answer
5k views

How to extract sample values from an imported WAV file?

Suppose I read a file with B = Import["something.wav"] Now how can I obtain a list of sample values?