cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group