Go Down

Topic: HAVING HUGE AUDIO PROBLEM AND NOT ABLE TO SOLVE IT FOR 3 .TMR pcm lib problem!!! (Read 1 time) previous topic - next topic

ankurnaidu

this code is written by grat scott(Youtube,Instructables)for making your own voice recorder based on TMRpcm library(github).the code islinked below.and the error i am getting is that
USING (ARDUINO nano)










SpyBug.cpp.o: In function `button()':
C:\Users\AnkurNupu\Desktop\arduino-1.5/SpyBug.ino:46: undefined reference to `TMRpcm::startRecording(char*, unsigned int, unsigned char)'
C:\Users\AnkurNupu\Desktop\arduino-1.5/SpyBug.ino:60: undefined reference to `TMRpcm::stopRecording(char*)'
C:\Users\AnkurNupu\Desktop\arduino-1.5/SpyBug.ino:61: undefined reference to `TMRpcm::stopRecording(char*)'




i tried the latest and the older versions if arduino and many other gimmicks like disabling firewalls and many other like editting and including custom made libaries.so pls help in need of all the help i can get.

i hope i get all the help and corrections i need for this problem or else i have to go searching in different blogs and posts .
for more info on who made this project and how it was check out Great Scott in Youtube And Instuctables

PLS PLS PLS PLS PLS PLS PLS help needed iam in very my in need of help

knut_ny

Ny

pert

Post a link to where you got the code from. Please use the chain links icon on the toolbar to make it clickable.

Post a link to where you got the library from. Or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.

ankurnaidu

link of library is https://github.com/TMRh20/TMRpcm

link of project and code ishttp://www.instructables.com/id/Make-Your-Own-Spy-Bug-Arduino-Voice-Recorder/

pls help as soon as possible!!!!!!!!!

PLS PLS PLS PLS PLS PLS 1!!!!!!!!!!!!!!

if you want anything more just ask immediately i will be checking it continuously :)

ankurnaidu

to everyone

it is just a part of the code where you enter as it is the part of the library.


there was something sating in downloaded code to edit the TMRpcmconfig.h library with a few things(there in the first part of the code)

i did not not modify the library as it told me(i didn't know how to do it) [when i did it many errors were comming too]

So i directly added it in the code and i was getting really lesss errors!!!

pls tell me which arduino version you are using because i thick i was getting different errors with different arduino IDE versions(i even tried the web editor)

PLS PLS PLS HELP!!!!!!!!!!!!!!

pert

Which board do you have selected in the Tools > Board menu?

PLS PLS PLS PLS PLS PLS PLS help needed iam in very my in need of help
pls help as soon as possible!!!!!!!!!

PLS PLS PLS PLS PLS PLS 1!!!!!!!!!!!!!!
PLS PLS PLS HELP!!!!!!!!!!!!!!
All this "PLS" crap is not cute and it's not going to help your cause. In fact it could even make some of the forum members not bother to try to help you. It doesn't seem very sincere to use the word "please' if you won't even bother to spell it correctly.




pert

i did not not modify the library as it told me(i didn't know how to do it) [when i did it many errors were comming too]

So i directly added it in the code and i was getting really lesss errors!!!
OK, it sounds like you've been mucking around with things so let's start from scratch.

Do this:
  • File > Examples > TMRpcm > basic
  • Sketch > Show Sketch Folder - this will open the basic example sketch folder
  • Navigate up two folder levels to the TMRpcm-master (or similar) folder.
  • Delete that folder. Please be very careful when deleting things from your computer. When in doubt back up!
  • Close all Arduino IDE windows
  • Delete all copies of SpyBug that you have on your computer
  • Download https://github.com/TMRh20/TMRpcm/archive/v1.0.zip
  • Start the Arduino IDE
  • Sketch > Include Library > Add .ZIP Library > select the downloaded file TMRpcm-1.0.zip > Open
  • File > Examples > TMRpcm > basic
  • Sketch > Show Sketch Folder - this will open the basic example sketch folder
  • Navigate up two folder levels to the TMRpcm-1.0 folder.
  • Open the file pcmConfig.h in a text editor.
  • Change line 29 from

Code: [Select]
//#define buffSize 128  //must be an even number
to:
Code: [Select]
#define buffSize 128  //must be an even number
Change line 75 from:
Code: [Select]
//#define ENABLE_RECORDING
to:
Code: [Select]
#define ENABLE_RECORDING
Change line 77 from:
Code: [Select]
// #define BLOCK_COUNT 10000UL  // 10000 = 500MB   2000 = 100MB
to:
Code: [Select]
#define BLOCK_COUNT 10000UL  // 10000 = 500MB   2000 = 100MB


After following the above steps, the sketch should compile without errors. If you do encounter and error then do this:

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).



ankurnaidu

 please wait i will install the latest version of arduino
then post you the errer

ankurnaidu

which version of arduino are you using because i used to get different'Error Compiling' messages in differnt versions of arduino even in the web editor

I saw somewhere that using older version of arduino is used to fix the error compiling message.


the first error message i posted was in arduino software 1.5 beta


So can you tell which version you used???

pert

I used Arduino IDE 1.8.5. After following the above instructions it compiles for me without error.

You still haven't posted the error.


ankurnaidu


Go Up