Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Teenfor3

Page 1 of 7 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    169

    Differences in Timers

    I am trying to play audio waveform at various frequencies by playing the wave array at different speeds using timers. I get it to work with interval timer and frequency timer both give good waveform...
  2. Yes, it is probably pitch shifting. playing wave...

    Yes, it is probably pitch shifting. playing wave array at various freqs and mixing and filtering.



    const int16_t tone1[256] = {
    0,
    628,
    1256,

    256 element array
  3. Looked at your sketch for recording and playing...

    Looked at your sketch for recording and playing queues. I think I understand what it does recording mic or linein in a queue for each channel and allowing it to be switched and played etc.
    As I see...
  4. Thanks for your fast response, I am replying to...

    Thanks for your fast response, I am replying to your post #4....That is magic it works perfectly...thats the basics, will need to play with it to get different rates of playing sorted etc and...
  5. Thanks for reply, I had looked at this, but...

    Thanks for reply, I had looked at this, but basically I don't know how or cannot get the "getBuffer()" to look at the data, It compiles outputs just random noise.???
    attached is my basic code after...
  6. Direct audio samples into Audio Library objects

    I can use the audio library to play sounds, waveforms etc and all works very well, but is there a way to directly input the samples from a sound array or waveform and play continuous at various...
  7. Replies
    42
    Views
    3,174

    When you open Arduino IDE, click File menu, look...

    When you open Arduino IDE, click File menu, look down for Preferences, click it and a page of settings opens , near the top is the entry for path to sketchbook folder.....make sure it corresponds to...
  8. Replies
    42
    Views
    3,174

    I put it in my sketch folder as entered in "File,...

    I put it in my sketch folder as entered in "File, Preferences". can you compile other sketches
  9. Replies
    42
    Views
    3,174

    Looks like your installation paths are not...

    Looks like your installation paths are not correct or you have changed the names or location of something...??

    I copied the Simplewavetable sketch from the examples folder to my normal sketch...
  10. Replies
    20
    Views
    3,503

    Connecting DAC to low OHM speakers directly will...

    Connecting DAC to low OHM speakers directly will not work.
    The link below shows a simple means to connect headphone or earphones directly....make sure they are 32 ohm or more.
    It gives plenty of...
  11. Replies
    8
    Views
    1,271

    Yes, FastTouch works on Teensy 4 and very fast,...

    Yes, FastTouch works on Teensy 4 and very fast, can read all pins within 1 ms ........ and no resistors just pads single wired to the pins
  12. Replies
    8
    Views
    1,271

    Probably means a simple solution to give 4 touch...

    Probably means a simple solution to give 4 touch pads.
    With the capacitive sensor sketch only 4 resistors are required, it should be easy to test if they are fast enough.
    some of the other external...
  13. Replies
    8
    Views
    1,271

    Why not try the Capacitive Sensor sketch in the...

    Why not try the Capacitive Sensor sketch in the Library.
    Copy pasted below.......an it works in Teensy 4 as it is gives 3 touch pads.
    If more pads needed just add more resistors........and it is...
  14. Replies
    16
    Views
    1,257

    Maybe or maybe not, I misunderstood the earlier...

    Maybe or maybe not, I misunderstood the earlier posts. I thought the problem was the switching or starting and stopping the actual waveforms and how clicks or large gaps appear in the sound output....
  15. Replies
    16
    Views
    1,257

    If you are playing a midi keyboard....it is...

    If you are playing a midi keyboard....it is sending out the note on and note off to teensy I assume...I assume teensy is the synthesiser. your code will need to be setup to receive these and will...
  16. Replies
    16
    Views
    1,257

    Try to isolate the problem as to what part is...

    Try to isolate the problem as to what part is causing it. Your wave diagrams show very large gaps...there could be delays elsewhere and not in teensy.
    This sketch will let you see how fast teensy on...
  17. Replies
    6
    Views
    379

    when I try the Delay sketch with or without the...

    when I try the Delay sketch with or without the re-config lines for pin3 and pin4 teensy continues to send audio out over i2s pin22 and 23 to the shield.
    audio ony stops if I put a .... int val =...
  18. Replies
    6
    Views
    379

    I have Teensy 3.2 plugged into the Audio Shield...

    I have Teensy 3.2 plugged into the Audio Shield using I2S pins 22 and 23. When I run the Delay example sketch audio goes to the shield via I2S on pins 22,23,9,and 11 and I hear the audio from the...
  19. Replies
    6
    Views
    379

    Yes, that works, so dont need to edit library...

    Yes, that works, so dont need to edit library file.....Thanks
    I added the lines in the Setup, ....That setting will be used for that sketch and wont be changed as it runs....???
    So what...
  20. Replies
    6
    Views
    379

    Editing lines of code in a Library file

    When I use Teensy 3.2 with the Audio board I use the standard config so Teensy just plugs into the board using the standard pins as in the datasheet.
    Pins 22 and 23 are I2S pins for the audio...
  21. Hi Minch.....Just noticed you have...

    Hi Minch.....Just noticed you have AudioMemory(850); .....Probably far too big a number......try AudioMemory(50); instead.
    I dont have a i2s source setup as input so cannot try it out now without...
  22. Replies
    5
    Views
    487

    I have reset some of the settings relating active...

    I have reset some of the settings relating active content in Internet explorer 11 and it works OK now in explorer.
    I have reset Google chrome browser back to defaults and it works OK now in Google....
  23. Replies
    5
    Views
    487

    Yes, thats it, Thanks. I can run it with Internet...

    Yes, thats it, Thanks. I can run it with Internet Explorer but it warns me it has blocked running scripts and ActiveX, but gives me a button on the screen to allow it.... so it works. Haven't figured...
  24. Replies
    5
    Views
    487

    Problem with GUI Audio Design Tool

    Something has happened with my Audio Design Tool installed in Arduino 1.8.8 and Teensyduino 1.45
    All was working OK for weeks or months until recently, then it started to behave as shown in the jpg...
  25. Replies
    8
    Views
    1,564

    Robin_B you say in your 1st post......"Perhaps an...

    Robin_B you say in your 1st post......"Perhaps an I2S amplifier board? FWIW, I'm driving a 3W (mono) speaker."
    Then why not use the....."Adafruit I2S 3W Class D Amplifier Breakout using MAX98357A"...
  26. Colorado.... "My instrument has both MIDI and...

    Colorado....
    "My instrument has both MIDI and audio out functionality." ..... If your instrument has both MIDI out and audio out then your instrument MIDI out if plugged to MIDI IN on your PC should...
  27. Replies
    81
    Views
    5,892

    Tried on Windows XP and clicking is still there....

    Tried on Windows XP and clicking is still there. Plays about 6 seconds clear and then clicking starts.
    I am replacing my windows XP so for me not worth pursuing this XP problem any further. ...
  28. Replies
    81
    Views
    5,892

    Yes, works on Linux Lubuntu 18.04 and windows 10...

    Yes, works on Linux Lubuntu 18.04 and windows 10 on Pentium. Both behave similar.
    Tested with setI2S_freq at ..... 44000, 44100, 44112 and all worked no clicks. Tested at 44116 for both and...
  29. Replies
    81
    Views
    5,892

    This works perfectly now that the #ifdefs are...

    This works perfectly now that the #ifdefs are added...........
  30. Replies
    81
    Views
    5,892

    Yes tried this....return len*4 .......still get...

    Yes tried this....return len*4 .......still get clicks
    on win 10 pentium and on Linux Lubuntu
  31. Replies
    81
    Views
    5,892

    Tried the workaround in my Lubuntu 18.04 linux. ...

    Tried the workaround in my Lubuntu 18.04 linux. Get clicks, different from thee original louder and more consistant that in the WinXP. Clicks start from the beginning of record.
    I recorded over 1...
  32. Replies
    81
    Views
    5,892

    Thanks for still trying......I tried your...

    Thanks for still trying......I tried your workaround on teensy3.2 and teensy3.6. on old WinXP. Tried both "click to Monitor" in Audacity and recording and playback in Audacity.
    Not getting the...
  33. Replies
    81
    Views
    5,892

    I dont understand........are all the posts not...

    I dont understand........are all the posts not available to everybody on this forum....?????

    Post .... #56 ..... has 3 recordings

    Post .... #54 ..... has 1 recording

    There are 2 other...
  34. Replies
    81
    Views
    5,892

    Yes, I have tried again on Lubuntu laptop and on...

    Yes, I have tried again on Lubuntu laptop and on XP desktop and win 10 laptop and clicking is still there. If I compile on one and play on another, still clicks.

    I listened to the 1000 Hz and...
  35. Replies
    81
    Views
    5,892

    Paul, thanks for the info......well thats that...

    Paul, thanks for the info......well thats that then......I suppose I should have read the small print somewhere and known this myself. I just thought as teensy was generating the audio and needed...
  36. Replies
    81
    Views
    5,892

    Paul...... I tried again following you test...

    Paul...... I tried again following you test procedure on Lubuntu 18.04 and still get the faint clicks. I have attached screen dumps and an audio wav recording.
    I am not sure that your test with the...
  37. Replies
    81
    Views
    5,892

    Paul....... I assume in your quick listening test...

    Paul....... I assume in your quick listening test you Powered Teensy separately by 5V line and plugged USN audio adaptor in to the USB port on Teensy board and listened to audio from the speakers via...
  38. Replies
    81
    Views
    5,892

    Thanks Paul for the tests. Your #45 test is...

    Thanks Paul for the tests.
    Your #45 test is exactly they type of test I have been doing....as per in my #14.....Its long past bed time here so I will try again tomorrow and post again
    Your #46 test...
  39. Replies
    81
    Views
    5,892

    Thanks for all the replies, I started this thread...

    Thanks for all the replies, I started this thread probably a week ago, I was away for a few days and now I am back and see we seem to be going around in circles with more complicated sketches. which...
  40. Replies
    81
    Views
    5,892

    More investigations on the Linux Lubuntu 18.04...

    More investigations on the Linux Lubuntu 18.04 laptop.

    Put Audacity 2.2.1 on it and it recorded and played really bad breakup of audio. Discovered in EDIT, PREFERENCES, RECORDING ther are 2 tick...
  41. Replies
    81
    Views
    5,892

    Thanks Theremingenieur. I dont think I am doing...

    Thanks Theremingenieur. I dont think I am doing parallel listening and recording, but maybe with audacity it depends on how it is setup. I simply record from the USB as input and then Play it back...
  42. Replies
    81
    Views
    5,892

    Yes that is the type of test I am doing, the most...

    Yes that is the type of test I am doing, the most basic, Record from USB in Audacity and play it back. Do this on both old XP and the Win10 with same results.
    The win 10 sound gives me extra options...
  43. Replies
    81
    Views
    5,892

    No I haven't tried a "true" USB Audio device...

    No I haven't tried a "true" USB Audio device because I haven't got onr and have been Googling and searching the shops and cannot find any, or at least any where the spec. say it takes USB Audio. Most...
  44. Replies
    81
    Views
    5,892

    Thanks Theremingenier, I actually see that...

    Thanks Theremingenier, I actually see that mentioned in the GUI documentation, but I didn't know what it meant. Yes, that gets USB working consistently, but what about the clicks, I still get the...
  45. Replies
    81
    Views
    5,892

    I tried compiling and uploading from a windows 10...

    I tried compiling and uploading from a windows 10 PC..... just same problem....... compilesuploads OK, but still clicks in Audio although otherwise sounds good and looks good in Audacity.

    I...
  46. Replies
    81
    Views
    5,892

    I compiled and uploaded the sketch on a windows...

    I compiled and uploaded the sketch on a windows XP (I know it is old and needs replaced) but it compiles OK, tried latest Arduino 1.8.7 and teensy 1.44 and also 1.8.5

    I don't have any standalone...
  47. Replies
    81
    Views
    5,892

    USB Audio Clicking Noise

    I am using USB Audio out from teensy 3.2 to PC USB port for playing or recording on the PC.

    The Audio all plays with good sound except a low level click about 4 or 5 times per second ..... This is...
  48. Replies
    19
    Views
    1,856

    Too much like an engineering solution, Go to the...

    Too much like an engineering solution, Go to the cobblers that mends shoes and fixes leather goods, get some metal eyelets like used for laced shoes, put a row around the rim, there is a tool for...
  49. Replies
    19
    Views
    1,856

    Why do you want it working through the felt on...

    Why do you want it working through the felt on the hat..??...what is wrong with a few metal buttons or studs.....it will work with that for the most basic of sketches using the existing...
  50. Replies
    11
    Views
    1,309

    My original idea of the simple basic sketch was...

    My original idea of the simple basic sketch was to simplify it, and output audio to DAC and USB at same time. DAC is the most simple and direct from teensy.
    In order to hear DAC all that is needed...
Results 1 to 50 of 329
Page 1 of 7 1 2 3 4