Goodday,
I followed a tutorial on using the Arduino for making sound.
the github link: GitHub - dzlonline/the_synth: A simple to use 4 polyphonic wavetable synthesizer library for Arduino.
Im noodling around and did some cool stuff with Arduino's before, tho i never had this error and googling it led me to C++ pages which are out of my league atm.
The error that occurs is as following:
In file included from C:\Users\user\Documents\Arduino\libraries\the_synth/synth.h:12:0,
from C:\Users\user\Documents\Arduino\libraries\the_synth\examples\modulation\modulation.ino:16:
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1094:1: warning: narrowing conversion of '128' from 'int' to 'const char' inside { } [-Wnarrowing]
};
^
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1745:1: warning: narrowing conversion of '255' from 'int' to 'const char' inside { } [-Wnarrowing]
};
^
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1745:1: warning: narrowing conversion of '254' from 'int' to 'const char' inside { } [-Wnarrowing]
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1745:1: warning: narrowing conversion of '254' from 'int' to 'const char' inside { } [-Wnarrowing]
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1745:1: warning: narrowing conversion of '254' from 'int' to 'const char' inside { } [-Wnarrowing]
C:\Users\user\Documents\Arduino\libraries\the_synth/tables.h:1745:1: warning: narrowing conversion of '253' from 'int' to 'const char' inside { } [-Wnarrowing]
And the errors keeps on going, counting down, with skipping values, to a 133.
It seems to count down till 133 and it seems to skip some numbers. Since i did not write any of this code i have no idea where to look. I checked on the included libraries but i couldnt make anything of it...
Many times this forum has helped without even having to ask because others had similar problems and solutions but this time i was not so lucky it seems.
Obviously it has some trouble with the library and narrowing conversion from "int" to "const char".
Is there someone that can see whats going on or what im doing wrong? The tutorial made it look easy