Search results

  1. S

    Yet Another File Player (and recorder)

    The scenario I described would be for a simple, no effects mix. And realizing the mix is then "frozen". I was just toying with the idea of doing it in the simplest way using the least amount of resources. My ultimate goal is to implement a full featured multitrack recorder that would save each...
  2. S

    Yet Another File Player (and recorder)

    So...In trying to squeeze the most I can out of the Teensy 3.6, I had the idea to build up a layer of audio tracks by: 1. Record the first track to say, "track1.wav". 2. Record an overdub track to "track2.wav" while playing back track1.wav. Track1 would be mixed together with track2 during the...
  3. S

    Yet Another File Player (and recorder)

    I was afraid my previous post implied that I was relying on your help throughout the project. Of course not. I'm just very thankful that you've been responsive to my posts and have been willing to think about ways to modify the library to make my project possible. And in so doing making Teensy a...
  4. S

    Yet Another File Player (and recorder)

    Thanks very much for helping me with this project! I wouldn't have even attempted if if not for your new buffered read/write objects and library improvements. So there are a couple of synchronization issues: 1) Determining the start time for playback of files recorded at different times and 2)...
  5. S

    Yet Another File Player (and recorder)

    Yeah, I realize I've only so far tackled the *easy* problems. I was thinking along the lines of having a data file for each recording "project" that would list included files and their relative start times to provide playback offsets to be in sync, all played together. How I would determine how...
  6. S

    Yet Another File Player (and recorder)

    Thanks for sticking this out with me! I actually got things to work. That is, the code below is able to "overdub" a mono file over a stereo "backing track". On a Teensy 3.6! It's really just a slight modification of your "recorder" example in the Buffered folder. I just changed the record object...
  7. S

    Yet Another File Player (and recorder)

    Yeah, the "mono" problem is my issue. Something in my code. It's strange. If I record and then stop. The recorded file will be fine. (Testing file on Mac) But if after I stop recording I initiate play, both the recorded file and backing track immediately report EOF. If then I remove power and...
  8. S

    Yet Another File Player (and recorder)

    As a test, I recorded a file and before playing it back with my code, transferred it to my Mac so I could evaluate it. And although Mac doesn't list any wav file info--duration, sample rate, bits/sample, etc. like it does for other wav files, this file *does* play and sounds fine. I'm going to...
  9. S

    Yet Another File Player (and recorder)

    I switched to using AudioRecordWAVmono while simultaneously playing back a stereo WAV file and it works much better. The buffers seem to hold up while recording. However, the recorded mono file does not play back. (I'm playing it back via a separate AudioRecordWAVstereo object.) I noticed when...
  10. S

    Yet Another File Player (and recorder)

    Thanks again very much for the quick and informative reply! Since you say it's fundamentally doable then I'm excited! I will definitely order a Teensy 4.1 with both PSRAM chips just so at least the hardware won't be the issue... In the meantime I'll lower the buffer sizes as you suggest and...
  11. S

    Yet Another File Player (and recorder)

    Regarding my multitrack recorder project, (and if this should be a new topic, please let me know), as I've said with your new library I'm able to playback a sufficient number of tracks simultaneously without issue. Thanks!! Now I'm testing a basic overdubbing situation where I. need to record...
  12. S

    Yet Another File Player (and recorder)

    Thanks for those updates! I'm curious to see the file access stats. How's the best way to update your library? I think I can just copy the files on your github that have changed. Or is it better to download the latest zip and overwrite the existing libraries/Audio folder?
  13. S

    Yet Another File Player (and recorder)

    @BriComp - thanks for that suggestion! Much safer for sure.
  14. S

    Yet Another File Player (and recorder)

    Thanks again for the buffer clarification. If I run into issues I'll check how low the water gets...! Regarding exiting loop(), are you suggesting that it's good practice to put a "break" statement in loop()?
  15. S

    Yet Another File Player (and recorder)

    (I posted this before I saw thebigg's post.) Thanks! I fixed the printing issue. I added just after Serial.begin(9600): while (!Serial); delay(500); Now, indeed, I see that the 1st 2 buffers return 0 but the last 3 return 4. But as I say, everything works fine. How would I determine my...
  16. S

    Yet Another File Player (and recorder)

    Yeah, the buffers are a curiosity. I put in print statements to show the return values of createBuffer() but for some reason they are not printing! Serial.print is working everywhere else in the program even in setup() for the SD card error. My setup() function is show below: void setup() {...
  17. S

    Yet Another File Player (and recorder)

    Thanks again for the info! Yeah, everything's working fine with the playWAVstereo with mono wav files. I'm currently playing 5, 20-second (for now) audio files , starting simultaneously and have these on a loop. It's been running for a couple of hours and I haven't heard a glitch or anything...
  18. S

    Yet Another File Player (and recorder)

    A couple of (hopefully) quick questions: There is a recordWAVmono object but I don't see playWAVmono. I've been using the playWAVstereo which works fine but does that use more resources than necessary? For my multitrack recording project: Your (h4yn0nnym0u5e 's) recordWAV... and playWAV...
  19. S

    Yet Another File Player (and recorder)

    Thanks for putting me on the proper topic! Your instructions to install your library worked perfectly and I ran the "PlayWAVstereo" code you posted earlier in this topic and it compiled and ran perfectly. I'm "rolling my own" multitrack recorder for a blind friend of mine because *all* the...
  20. S

    WaveplayerEx

    Thanks for the replies! OK. I've found the repository, https://github.com/h4yn0nnym0u5e/Audio. I assume this is an updated version of the teensy audio library that comes pre-installed in the TeensyDuino IDE? Updated with the features of WavPlayerEx? I'm going to try to figure out how to...
  21. S

    WaveplayerEx

    Hello...over a year later... What's the status of this library/object? I don't see any AudioPlayWav or PlayWavEx objects in the Audio System Gui. How do I utilize this object? What I'm most interested in is "simply" the ability to play audio starting from a specified location so I can implement...
Back
Top