i am playing .wav files using "TeensyVariablePlayback" library
Files are stored on my SD card are like this
in this form i am unable to see what sound in in which fille
if i placed flies in this form
can Teensy play .wav file using read...
Solved ------Solved
Thank you kurtE
Thank you Mark Culross
My issue solved , I moved all code from CPP to my main sketch. I removed.h file also removed function from main sketch related to extern. Now it is being compiled and uploaded.
Again...
am sorry . i am puzzle in "extern" word . it is out of my mind . as you are seeing my (main sketch. , process_keypad.cpp ,process_keypad.h ) in mypost #9 please suggest . what line ,what code should be write where in my files to get detect...
Thank you kurtE ,
your .ino ,process_keypad.cpp, process_keypad.h file helped me to compile /upload my sketch.
but other thing,
when i write key 25 to get output in Serial monitor (in process_keypad.cpp),
if ((kpd.key[i].stateChanged) &&...
a) i did not contact to library owner, before contact , i am searching threads..
b) i have no line // using namespace std; in my sketch.
i also tried comment out last lines.
//namespace std {
// void __throw_bad_function_call() {}
// void...
Thank you for reply...
“I don't want write File name again and again. my SD card will contain so many files.” means
writing like below
playSdWav1.setLoopType(looptype_repeat);
Or
playSdWav1.setLoopType(looptype_none);
Is easy after calling...
Am sorry to raise issue again. I don't want disturb you all . But After many efforts I learnt that a problem in
TeensyVariablePlayback library in my
Post .
There is something wrong in library, which is reason of error with keypad code.
Could you...
i recenctly install Audio library from h4yn0nnym0u5e
library link
i try simple WavFilePlayer example
as this code is repeating file, I used for single file (15.wav)
!playWav1.isPlaying();
{ playWav1.play("15.WAV"); }
but I don't want...
Thank you jmarsh,,,
I need some function from this library ( Seamlessly Loop, quick play, playback Speed control etc, ) is there any substitute audio library with above functions, which is able to be mix code ( keypad+oled display+rotary...
As I saw Teensy Play audio with variable playback rate, .. I seemed it also possible from our great developers on this forum in future,,,,,,Thank you...
I was trying mixing codes ( Oled Display ssd_1306 + Keypad + Audio) into one sketch .
first i mixed (Oled Display SSD_1306 + Keypad) ....Display is connected SDA,SCL to Teensy 4.1 pins (18,19).
it is working , i checked. code is below...
I was searching library but not found...?? Is there someone working on audio library which allow variable playback Speed (without affecting pitch) & also allow variable pitch (without affecting playback Speed) . With Seamless loop mode/ low...
thank you h4yn0nnym0u5e
code
playSdWav1.playWav("14.WAV");
playSdWav1.setLoopType(looptype_repeat);
working for proper looping without cut.
now i will wait for variable playback rate library without affect pitch.
Do you mean if i want play 14.wav in loop mode, should i use.??
playSdWav1.playWav("14.WAV");
playWav1.setLoopType(repeat);
and call
playWav1.stop();
to stop.
also take care ,
i am writing in my code playSdWav1
and you given playWav1
please...
Thank you joepasquariello ,
Thank you h4yn0nnym0u5e
for response ,,,, i Am trying library you mention Teensy variable playback
i got much better than built-in Audio library
i modify example to code below
#include <Bounce.h>
#include...
Am sorry if this is asked before.
I saw
My query is very near to this
Theard by yeahtuna. As I read post #26 , it solved. But I am not advance level Teensy user. I failed to find what code he used, what changes, editing is done in .cpp ,.h files...
I am going to make an audio project inwhich I need to assess so many audio file(1-3 second long each) from SD card.
If it requires low latency to trigger for all audio files and some need to be playing seamlessly loop mode with playback speed...
Thanks To PJRC Staff for making Teensy audio Board. I am new one with this. i have placed order for (teensy 4.1 + Aduio board Rev D) .. here i want to ask About wiring connection. If Audio board is being on Teensy with headers , No problem. But i...