Search results

  1. R

    stuck with polyphony (last note priority)

    If you get stuck expanding the referenced post, let me know and I'll provide some base code. It's a good mental exercise, however, and I recommend giving it a try.
  2. R

    stuck with polyphony (last note priority)

    no need to reinvent the wheel. https://forum.pjrc.com/threads/59092-Notes-and-Volts-Synth-tutorial-polyphonic-expansion The main midi synth example included with the examples can easily be expanded. I currently run 10 key polyphony with 16 voice unison no problem with a slightly modified...
  3. R

    Teensy 4.1 Wavetable Synth

    Just thought I'd post some of the progress I've been making with my teensy based wavetable synth: https://www.youtube.com/watch?v=eSo7ODM8uyI&t=1s&ab_channel=BlakeThompson
  4. R

    Simple Way to add Polyphony

    /* // Left connections for importation into Audio Design Tool for visual examination. Uncommenting will break code. AudioSynthNoisePink pink1; //xy=55,87 AudioSynthNoisePink pink2; //xy=55,212 AudioSynthNoisePink pink3; //xy=55,339 AudioSynthNoisePink...
  5. R

    Simple Way to add Polyphony

    I believe I posted a polyphonic version of the Notes and Volts Teensy synth a while back, which uses the polyphonic voicing system from the midi synth example included in the example sketches...
  6. R

    Problem with numbering of objects in Audio System Design Tool

    I was able to duplicate the behavior you were talking about in Chrome(Version 84.0.4147.135 (64-bit)). Seems to be a pretty minor issue, as you can just rename any particular object simply by double clicking on it. The audio tool is nice to quickly route complex ideas but it isn't perfect...
  7. R

    WaveTable audio Datas and structures on SD ?

    I haven't tried files smaller than 512k from EXTMEM, but that is interesting news. I ran some simple code to test larger wavetables (over 1MB) from EXTMEM and the results were not correct. Same tables placed in flash sounded perfect. It would be interesting to see if someone else had managed...
  8. R

    WaveTable audio Datas and structures on SD ?

    Transferring between the two shouldn't be an issue, out of curiosity have you tried playing a tone sweep of the wavetable from EXTMEM? The code will compile no problems, but from what I have experienced the wavetable will not be produced faithfully in a very noticeable way.
  9. R

    WaveTable audio Datas and structures on SD ?

    Playing large wavetable samples from PSRAM will not produce the desired results at default T4.1 clock of 600 MHz with the current audio library wavetable object. I believe this has to do with the speed of access to PSRAM (80MHz). The only way I have found to play large wavetables (~512k+) is...
  10. R

    Need more sound sample memory

    You can use PROGMEM to store variables in flash, EXTMEM if you have PSRAM installed. There is also another post on the forum regarding loading wavetables from an SD card to memory. EXTMEM uint32_t foo[20352]; PROGMEM uint32_t foo2[20352];
  11. R

    Soundfont decoder loop/sample index

    Hello, Recently upgraded to a t4.1 and have been converting various opensource soundfonts for use with wavetable object. I came across some very nice CC synth voices with very small memory footprints however when I run them through the decoder I am presented with . Any ideas on how I might...
  12. R

    A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library

    synth looks amazing though! very nice work
  13. R

    A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library

    regarding aliasing, it is quite a simple thing to sample a waveform at each c note 0 - 8 using a free commercial DAW and vst type synth, clip them in something like audacity, and re-import them using the wavetable tool. Takes up 12.1k of space per voice and is very efficient as well. With the...
  14. R

    Porting moog ladder filters to audio objects?

    ty for the reply! I will run some experiments using some of the piecewise tanh solutions i have come across and report back. I was quite curious to try using MATLAB to smooth the function into the tanh approx i referenced. it's interestingly related to activation functions I've been working...
  15. R

    Array handling in the audio tool.

    frankenlanguage. idk whats worse, garbage syntax or garbage collectors
  16. R

    Array handling in the audio tool.

    extern? my god c++ is so ugly XD
  17. R

    Array handling in the audio tool.

    if you still have difficulty pls post your code and I will help correct it
  18. R

    Array handling in the audio tool.

    https://forum.pjrc.com/threads/58158-Accessing-Audio-Objects-from-an-Array
  19. R

    Array handling in the audio tool.

    So like this: in audio tool you make mixer[1] mixer[2] mixer[3] mixer[4] comment out the auto gui declared mixer[1] mixer[2] mixer[3] mixer[4] do not comment out the patchchord connections, only the variable declarations then right below your */*/ block declare the pointer array like this...
  20. R

    Issue with wavetable sound

    Yes, essentially what you do is use the audio design tool you can just use the bracket notation in the naming scheme to indicate the setup you desire, then in your editor comment out those declarations and declare them as a pointer array ie wavetable[0] wavetable[1] would be commented out and...
  21. R

    Porting moog ladder filters to audio objects?

    You know I was going to suggest a piecewise function, out of curiosity how did you derive the lookup table? I was recently looking at this: https://arxiv.org/pdf/1809.09534.pdf researching activation functions for lstm networks.
  22. R

    Array handling in the audio tool.

    Yes, ty. I realized this the other day when I started working on my wavetable project again. It would be nice to add this info somewhere in the audio tool documentation because it seems a common issue. Given the processing power of the t4 4.1 platforms array support would be nice but the...
  23. R

    Issue with wavetable sound

    I did end up getting this working, stupidly forgot I had already encountered this error before a few months back. Here is the first example working for anyone who might care: #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> #include...
  24. R

    triangle & sawtooth oscillators : how to deal with aliasing ?

    Martin Fink has a good tutorial regarding PolyBLEP algo: http://www.martin-finke.de/blog/articles/audio-plugins-018-polyblep-oscillator/
  25. R

    triangle & sawtooth oscillators : how to deal with aliasing ?

    https://www3.nd.edu/~dthain/courses/cse20211/fall2013/wavfile/
  26. R

    triangle & sawtooth oscillators : how to deal with aliasing ?

    The simplest way would be to construct a soundfont using a free program called Polyphone: https://www.polyphone-soundfonts.com/ for each c note provide a sample of a triangle wave which is not aliased. This can be achieved by sampling any number of free software synthesizers available online...
  27. R

    Array handling in the audio tool.

    Is array declaration on the roadmap for audio tool development? It would be of some use for more complicated designs, as currently you can't declare arrays of wavetables and fill that array with declared wavetables and have it work... the only workaround I have found is to manually instantiate...
  28. R

    triangle & sawtooth oscillators : how to deal with aliasing ?

    You can use a bandwidth limited triangle wavetable.
  29. R

    Issue with wavetable sound

    So it turns out it was the array declaration of the wavetables, I forgot I had encountered this before. For some reason you can't declare wavetables and then place them into array and set them, you have to declare the array of wavetables in an array initially, which unfortunately you have to...
  30. R

    Issue with wavetable sound

    #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> #include "AKWF_0036_samples.h" // GUItool: begin automatically generated code AudioSynthWavetable wavetable1; //xy=65.5,23 AudioSynthWavetable wavetable5; //xy=69.5,184...
  31. R

    Issue with wavetable sound

    How I ended up resolving the clicking anomaly was simply to write the code as to avoid the fancy clean functions. C++ isn't my native language so I get quickly irritated by its... haha character. I imagine the issue lies somewhere in the instrument struct but it could easily be a simple...
  32. R

    Issue with wavetable sound

    Yes this is with wavetables only. I was trying to determine the max # of unisons and wavetable osc sources I could have per voice. 3 osc, with 8 unisons and 10 key polyphony seems quite tenable with plenty of overhead for FX chains. I have already written an FM modulator block which allows...
  33. R

    Issue with wavetable sound

    I ended up just rewriting the code in the most obtuse fashion and it ended up working. If anyone is interested in the results here they are: T4 @ 600 Mhz ~ approx 391 voices T4 @ 816 Mhz ~ approx 508 voices T4 @ 24 Mhz ~ approx 16 voices Impressive results!
  34. R

    Issue with wavetable sound

    Probably should include a link to the referenced wavetables: https://github.com/FFFFFF12ABB17/Polysynth_Wavetable_AKWF. The wavetables themselves I believe are not the issue. I've also tried running this code with the example wavetables provided in teensy lib with the same result.
  35. R

    Real-Time (Working) Vocoder

    very cool! thanks for sharing
  36. R

    Issue with wavetable sound

    Hey all, I was trying to put together a simple program to test max polyphony of various teensy platforms but I'm getting unexpected results, specifically just clicking noises I've included my code, can anybody spot what the issue might be? Thanks #include <Audio.h> #include <Wire.h> #include...
  37. R

    Teensy 4.0 vs PORTENTA H7

    I don't understand why anyone would pay Arduino prices for anything; Which is not to downplay the role the brand has had in advancing the interest in and accessibility to the world of microcontrollers. Arduino just isn't priced competitively with it's competition, imho.
  38. R

    Teensy 4.1 Beta Test

    I was just able to place my order no issues
  39. R

    Teensy 4.1 Beta Test

    Oh sweet Jesus I can finally order one! Sorry I haven't read through the thread in it's entirety but which audio shield is appropriate for the 4.1?
  40. R

    [posted] TeensyMIDIPolySynth

    Looks cool! Out of curiosity have you explored using a touchscreen display with little vgl? I've been using one push click rotary encoder and a touchscreen to great effect, minimal wiring just a bit more coding
  41. R

    Any interest in sf2 single cycle fonts?

    https://github.com/FFFFFF12ABB17/Polysynth_Wavetable_AKWF/tree/master Here is a working example using the first 127 AKWF wavetables. Simply download the repo, rename to Polysynth_Wavetable_AKWF and place in your Arduino dir.
  42. R

    Any interest in sf2 single cycle fonts?

    Manatee sorry for the absence! I'll upload my soundfont header files for the adventure kid waveforms sometime today. I've made significant progress regarding wavetable synthesis on the teensy in the past few months but I've also been significantly redesigning the audio library to suit a more...
  43. R

    Problem using Teensy 4.0 with 2.42" Oled and u8g2 or Adafruit Library

    I'm curious. Try underclocking the teensy @ 150 and 396. Does the issue persist? You might also check into using littlevgl lib. This link pertains to T3.6 but may be relevant to yr issue: https://github.com/olikraus/u8g2/issues/336
  44. R

    LittleVGL on Teensy

    Very cool. I was just looking at this on the ESP32, nice to see it working on the Teensy. Thanks for sharing!
  45. R

    Any interest in sf2 single cycle fonts?

    Right now I'm just using a program called polyphone(https://www.polyphone-soundfonts.com/en/) You can also use Viena(http://www.synthfont.com/Downloads.html) or any soundfont editor, really. There are quite a few programs you can use to do this. Although oddly enough I haven't come across a...
  46. R

    Any interest in sf2 single cycle fonts?

    Yes certainly! I will make the entire akwf package available as teensy wavetables sometime tonight. I have quite a few single cycles outside of this, but I need to organize them more coherently :)
  47. R

    Any interest in sf2 single cycle fonts?

    *see below
  48. R

    Dynamic audio patching

    Unless your objective is more a midi player using the midisynth examples polyphonic setup you can just create a bank of effects and use amps and dynamic patching for your individual voices. 8 - 10 fx banks seems reasonable as you only have 10 fingers. If you are after a midi player...
  49. R

    Any interest in sf2 single cycle fonts?

    www.adventurekid.se/akrt/waveforms/
  50. R

    Any interest in sf2 single cycle fonts?

    So I've spent the last few days processing the Adventure Kid Single Cycle collection into sf2 files. If anyone is interested I can upload them for everyone's use. Each waveform uses exactly 4.09kb so you can cram roughly 124 voices into the flash on a t4. I took time to bandlimit the original...
Back
Top