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

Search:

Type: Posts; User: laughingrice

Search: Search took 0.00 seconds.

  1. Trying to dig into options, I guess the solution...

    Trying to dig into options, I guess the solution might be if there is a sensible way to get the instrument to play from SPI memory
  2. It would be easy to implement, and that was the...

    It would be easy to implement, and that was the direction I was going, problem is that the instrument is currently stored in flash which is read only, so I cannot over right. I can get it to load...
  3. Memory usage on teensy 3.6 [replacing AudioSynthWavetable::instrument_data in memory]

    I'm in the process of building an electric piano controller using the synth_wavetable library and a teensy 3.6
    The problem right now is to figure out how to be able to replace instruments in memory,...
  4. I modified the library to do exponential...

    I modified the library to do exponential attenuation on Delay and Release per the Soundfont spec.

    Modified code can be found in my fork of the Audio library in case there is interest in pulling it...
  5. It really depends on the microphone you are...

    It really depends on the microphone you are using, but most microphones have a pretty high output impedance which makes the line to the receiver a great antenna for noise.

    The best options are...
  6. I dug deeper 1. had a look at mac's garage...

    I dug deeper

    1. had a look at mac's garage band, different instrument, but also shows similar behavior to fluidsynth
    2. BTW, fluidsynth and garage band show an exponential decay behavior (linear...
  7. Everything runs and plays now, the problem is...

    Everything runs and plays now, the problem is that it does not play correctly. The amplitude decays incorrectly. I attached the output from the WavetableSynth (left) and Fluidsynth (right), both for...
  8. That is what I resorted to at the moment, the...

    That is what I resorted to at the moment, the only thing is that it does not allow me to control any settings not the dac (number of bits, conversion speed and averaging).

    Thanks
  9. Thanks, seem to work, will test farther tomorrow...

    Thanks, seem to work, will test farther tomorrow (had a busy weekend).

    The one comment, is that I think that my comment regarding using 100 instead of 1000 in get_timecents_value still holds....
  10. Not trying to do analogRead with...

    Not trying to do analogRead with AudioInputAnalog. Trying to do analogRead with the ADC and output to the dac with Audio lib

    Very simple, this works:



    #include <Audio.h>
    ...
  11. I also think that under the get_timecents_value...

    I also think that under the get_timecents_value function in the same file it should read

    val = gen.cents * 100.0 if gen else default

    instead of

    val = gen.cents * 1000.0 if gen else default
    ...
  12. Ok, I hope that this link will have a shelf life...

    Ok, I hope that this link will have a shelf life of more than two days (some changes at work that may invalidate it),
    these updates to decoder.py will make the output work with the new changes
    ...
  13. I just went through your post again and it does...

    I just went through your post again and it does seem like the same problem. There were a bunch of naming changes at some point it seems.
    I tested this with teensyduino 1.44

    After a lot of work I...
  14. Compatibility between Wavetable-Synthesis and teensy audio library

    I have been using Wavetable-Synthesis for a project and it seems to have broke with the recent update.

    It looks like large parts of it have been incorporated into the teensy audio library (in...
  15. ADC library conflicts with Audio library dac output

    I am trying to use a teensy 3.6 to read an analog input and put signals to the dac pins using the soundwave synthesis library and AudioOutputAnalogStereo dacs

    Running each one of these alone...
  16. Good way to make a teensy based electric piano

    I've been working on a project fixing up a Yamaha Clavinova clp-123 piano I got hold off with a burnt out motherboard (3 of the ICs are overheating and no sound, so that is at least my assumption).
    ...
  17. Replies
    12
    Views
    7,393

    I don't think that it's the wrap around issue as...

    I don't think that it's the wrap around issue as looking with a scope, 40ms seems to be fine (looks like wrap around is around 43ms when running at a 96MHz clock), and the other samples that work and...
  18. Apologies It was referenced from the...

    Apologies

    It was referenced from the intervalTimer library (which does come with teensy) and the source for it is found here

    https://github.com/luni64/TeensyDelay/tree/master/src
  19. Weird digital write behavior in TeensyDelay library and digitalWrite in interupts

    I have this weird behavior when working with TeensyDelay to trigger a digitalWriteFast on a teensy 3.1 board (digitalWriteFast is a small library to use the FTM clock as a single shot timer)

    With...
  20. Replies
    12
    Views
    7,393

    I've been trying to use this library to get a...

    I've been trying to use this library to get a 20Hz output trigger running but was running into a couple of weird issues I was wondering about

    1. My main problem is that the trigger won't go higher...
  21. I've been looking into this as I was suffering...

    I've been looking into this as I was suffering from this as well. It did seem to come and go, but I did find a few weird things in the library code:
    1. Line 161 of RingBufferDMA.cpp
    return (p +...
Results 1 to 21 of 21