Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 9 of 9

Thread: Advanced Midi Sampling

  1. #1

    Advanced Midi Sampling

    Hi! I have a midi keyboard I built, I am currently working to fundraise and build a piano which would only cost $100 for a full size complete pedal one. My problem is that I do not know how to use teensy lc to make this sampler to play audio whenever a midi data is recieved. I want about 16 polyphony at max, velocity, and pedal control, would that be possible if i use teensy.Please remember, I want to spend $60 at most to keep this cheap.Any help will be appreciated.You can visit my youcaring fundraiser if you want to help. It would be a nice thing to recieved.Thanks a lot.

  2. #2
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,137
    A Teensy LC (and even T3.6) doesn't have enough ram to be able to hold the samples that would be required to produce a reasonable sounding piano. It also doesn't have the cpu power to be able to play 16 samples in a way that would make a vaguely realistic sounding piano. You can get 16 polyphony with synthesized sounds (see this thread) but handling 16 piano notes each with its own velocity while also handling the sustain and damper pedals is not a matter of just turning samples on and off.

    Pete

  3. #3
    Hi Pete! But if I use an sd card, the polyphony will dramatically go down. Would a Teensy 3.6 work?? Sorry I am not really good at this.Thank You !lso the link to my youcaring https://www.youcaring.com/owendavidm...nage/dashboard

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,137
    But if I use an sd card, the polyphony will dramatically go down
    Exactly. An SD card is just not fast enough and there isn't enough ram.

    Would a Teensy 3.6 work??
    No. Still not enough ram or CPU horsepower. It has 256kB of ram which is enough to sample less than 3 seconds of mono at 44.1kHz. To be able to retain all the samples required for the 88 keys of a piano will require many times the amount of ram in a T3.6.

    You have to realize that a program like Steinberg's The Grand 3 requires a minimum of an Intel or AMD dual core CPU with 4 GB RAM.

    Pete

  5. #5
    Maybe I should try samplerbox.Thank You!

  6. #6
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,137
    Samplerbox looks like a nice piece of kit.
    The RPi2 would certainly be a more suitable processor. 900MHz Quad core with 1GB of ram.

    Pete

  7. #7
    Haha.I hope to see future Teensy boards as powerful as that.Thanks

  8. #8
    Member
    Join Date
    Nov 2012
    Location
    Olympia, WA
    Posts
    52
    By my recollection the Teensy 3.2 could play 3-4 samples from an SD card simultaneously before getting crackly about three years ago (caveats include very dependent on type of card, not using the modified read only library). Has the 3.6, with improved library and parallel SD interface, had its simultaneous .WAV file playing limits benchmarked? It has escaped my notice if so.

  9. #9
    Hi!I am not now working on this sampler.Now, I'm trying to build a midi granular synth but I don't know how..Please help.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •