cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when reading .wav file

Krishscientist
New Contributor III

Hi, I am developing notebook to read .wav files and build Speech Matching Scenario. I have saved files in "/FileStore/tables/doors_and_corners_kid_thats_where_they_get_you.wav".

When I wrote code like this

from scipy.io import wavfile

import numpy as np

import pandas as pd

from matplotlib import pyplot as plt

from scipy.spatial.distance import euclidean

from fastdtw import fastdtw

fs1, data1 = wavfile.read ("/FileStore/tables/doors_and_corners_kid_thats_where_they_get_you.wav")

I am getting error "No such file or directory: '/FileStore/tables/doors_and_corners_kid_thats_where_they_get_you.wav'"

Could you plz help...

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

Try to prefix it with dbfs

dbfs:/FileStore

or

/dbfs/FileStore

View solution in original post

1 REPLY 1

Hubert-Dudek
Esteemed Contributor III

Try to prefix it with dbfs

dbfs:/FileStore

or

/dbfs/FileStore

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.