Forum Replies Created
-
AuthorPosts
-
Yes, you’ve got it. k is indexing frequency – sometimes we say it is the DFT “bin”.
When plotting X[k] the axis will run from 0 to K (not from k to K). We could label that axis with the integers 0 to K (some of the notebooks do that), or we could convert k to Hz and label the axis with frequency.
How do we convert the integer k into a frequency in Hz ?
Your command
festival> (set! myutt "COVID19 is very dangerous")
sets the variable
myutt
to a string, which is not what you need to do.myutt
should be a FestivalUtterance
object, so you need this (as in the instructions):festival> (set! myutt (Utterance Text "COVID19 is very dangerous"))
which creates a new
Utterance
object and stores it in the variablemyutt
.Are you connected to the VPN (on the host computer, i.e., your personal computer)?
October 12, 2020 at 09:18 in reply to: Clarify the Difference between the Filter and Output Response #12337The magnitude spectrum is not exactly the same thing as the spectral envelope.
The magnitude spectrum is something that can be obtained for any signal, such as speech, by taking the DFT of the signal (and discarding phase).
Looking at the magnitude spectrum of speech, we see two very different properties combined. One is the overall shape – the spectral envelope. The other is the fine structure.
For speech, the frequency response of the vocal tract filter is responsible for creating the spectral envelope of the speech signal.
For voiced speech, the fine structure will be a regular series of harmonics at multiples of F0, and this is created by the vocal folds.
Did you copy the files using
rsync
?Try rebooting the host machine too.
Sometimes the VM loses the network connection to the host computer. Can you reach any websites using a web browser in the VM? If not, then the network connection is definitely the problem.
First thing to try: restart the VM.
Let us know if this solves the problem, or if you need more help.
In the Linux VM, open Applications – System Tools – Settings (which you have open in your screenshot).
In Settings, look under Devices to find Displays, where you can change the resolution.
Report back to let others know if this works, or to let me know you need more help..
Did you complete Module 0, and was the sound working then?
Try Virtual Machine – Settings – Add Device (it’s a button on the Settings window, top right) and see if you can add a Sound Card. See screenshots attached.
You may need to do this when the virtual machine is shutdown, not running.
Attachments:
You must be logged in to view attached files.For the main part of the assignment, you’ll be loading a configuration file called
config.scm
every time you start Festival. This loads a better-sounding voice.You can add those commands to the end of
config.scm
and they will be run as you start Festival.Until then, you could create a file called
startup.scm
, put those two commands in that file, then start Festival like this:$ festival startup.scm
Try changing the method that Festival uses to play audio:
festival> (Parameter.set 'Audio_Method 'Audio_Command) festival> (Parameter.set 'Audio_Command "play -t raw -r 16000 -b 16 -c 1 -e signed-integer $FILE") festival> (SayText "hello world")
which tells Festival to save the audio to a file, then use
play
(i.e.,sox
) to play that file. So, if playing audio on the command line works, this should work.I’ll start you off with this and you try to complete it – I’m going to use square brackets to index everything to emphasise that we are dealing with discrete (= digital) signals only, and to match the notation in the
sp-m1-4-discrete-fourier-transform
notebook.x[n] is the waveform. n is indexing time. To plot x[n], we place n on the horizontal axis and label it “time (samples)” then plot the value of x[n] at each value of n. We have drawn the waveform.
X[k] is the Discrete Fourier Transform of x[n]. k is indexing BLANK. To plot X[k], we place BLANK on the horizontal axis and label it “BLANK” then plot the value of X[k] at each value of k. We have drawn the BLANK.
Can you fill in some of the BLANKs?
You can use the terminal feature on Edina, then follow these instructions as if you were updating on your own machine, but using the terminal on Edina (in a browser).
There are instructions on using the terminal in Edina in the sp-m0-how-to-start notebook (look for the heading “Alternative: Using the Noteable terminal”).
There are more tips on using Edina Noteable in their user guide.
First, try rebooting the Virtual Machine.
Some other possible ways to diagnose the problem:
1. can you reach websites (e.g., http://www.ed.ac.uk or google.com) using Firefox in the VM?
2. are you in University accommodation (in which case you don’t need the VPN – you are already inside the University network)?
3. use a browser on your personal computer, and also in the VM, and type “what is my ip” into the Google search box
-
AuthorPosts