This week I watched a lot of videos and tried to follow the new material and make sure I understand them :) I feel like I need to practice it a bit more to feel fully in control with these things.
I'm excited about the new interaction we can create using the camera and using voice. I aim to succeed in creating a minigame that will be controlled by candlelight. I started with this sketch, but I hope to improve it in the future -
https://editor.p5js.org/mbs9316/full/tmdvGIODe
During my practice, I faced two problems while following the materials:
let modelURL = '[<https://teachablemachine.withgoogle.com/models/bXy2kDNi/>](<https://teachablemachine.withgoogle.com/models/bXy2kDNi/>)';
function preload() {
classifier = ml5.imageClassifier(imageModelURL + 'model.json');
}
I thought it was worth mentioning it :)
Also, when I tried machine learning using voice I’m I got this error: sample rate mismatch: expected: 44100; Actual: 48000
https://editor.p5js.org/mbs9316/full/O5kT4L7kK
Do you know it? I think maybe it's because my audio wasn't high quality enough?
More from this week:
https://editor.p5js.org/mbs9316/full/dLFUvG69T