-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you! #1
Comments
@Wladimir25 |
Hello, Regards, |
I forgot to mention possible wiring issues, as I mostly use modded LOLIN S3 Pro with the on-board micro-sd slot. The wires should be as short as possible, and of equal lengths. Also they say that external 10kOhm pull-ups are needed, but my boards work quite well with internal ones. |
Very nice SD slot, I couldn't find such one when I started this project.
Reverb object is declared globally, so it's not a problem. I'll add support for reverb time and level via midi cc87 and cc88, as already stated in midi_config.h (or if you in a hurry, you're welcome to implement it yourself in any way you like). |
Hi, |
Hi and thanks or testing! [range] section should work, but for the time being there's no way to set the root note and to propagate the same sample with different speeds, using the [range].
Global [envelope] section is the only way to set envelope params yet
Feel free to ask further |
The uploaded version has a bit of midi CC's for ADSR and Reverb control |
Hi, |
Hi, there seems to be no mistake in what you've just described. Actually it's possible to change the parameters of a currently running adsr, but I suppose there's a chance that it would produce some clicks , which I'm tired of :-/ |
Hi, The data of my SD-CARD:
I get 'Active voices 5 of 17', is that ok? |
Active voices 5 of 17 means that momentary you have 5 sounding voices, and 17 voices were allocated (#define MAX_POLYPHONY 17 in sampler.h)
|
I understand, but I don't get more than 5 voices. |
Is it with the latest source code? |
Yes, I tested also the previous version, many more voices (>10) are possible here. |
Please, check the newly uploaded version |
Nice, working! |
Active voices 16 of 18, great! |
if you are not suffering of clicks, you can change
so find the best combination that suits your needs. Also I 'd like to ask what version of Arduino IDE do you use? I ask because sometimes I get different results in ver 2.x.x compared to 1.x.x |
Hi, |
Please make with the actual version following test: |
I'll check asap |
I don't have either IDE or s3 board by me, so "blindly" updated the logics. Please, check, if it compiles and if it fixes the issue. |
Very good, even when "blind" |
Interesting: |
Hmm that's strange. On the 'release time' CC event the new values are loaded into the sampler mapping table and into each voice's adsr generator. They are not updated on note start, or somewhere else. I don't get it yet |
Take your time |
may this be the case that some notes are marked in the ini file as not receiving the note-off event? |
My ini: [sampleset] [filename] Filename elements recognized:; - note name in sharp (#) or flat(b) notation, i.e. both Eb and D# are valid ; these elements are case insensitive, heading and trailing spaces are trimmed. ; we must provide these variants along with the template. The order is important: from the most quiet to the most loud, comma separated [range] [note] sections; instr=instrument_name(as in filename) [envelope] ; sustain level 0.0 - 1.0 |
No idea yet, will check it later |
The wavs in the folder: |
btw, why do you want to change the release time that often? |
Please, check the new version, it introduces exclusive note groups (mostly for percussive grouping, like only one can sound at a time: open hat or closed hat). Also, there's another attempt to make the code universal about using Serial/USBSerial. |
Please, try #define ADSR_LIVE_UPDATE in config.h (if you set this param, the notes being played will get the updates along with CC changes (may produce some hisses) otherwise only the new notes' ADSR will be changed) |
Hi, |
That is strange cause in misc.h SerialPort becomes either Serial or USBSerial. Can you debug which branch is active for you?
So either it says |
Also, what board do you select? |
If I use SerialPort: |
Do I get it right that you mean tools menu settings in IDE? And in both cases it will compile with no error? |
Yes, tools menu in Arduino IDE. |
With yous support I got some samples running with different parameters in the sampler.ini, sound good, thanks. |
I made syntax loose, so both styles (attack_time, attackTime) are valid. Even more, it's case insensitive. |
Got a lot of samples working fine. |
Yes, there's such possibility, but looping requires additional caching, and as we can't predict whether or not the player person keep it looping or release the key, we don't know in advance which part of the wave data we should pre-cache. For the current polyphony and caching settings I've already reached the limit. |
That sounds absolutely logical and understandable, thank you for your detailed explanation. |
I haven't had these boards in my hands, though I have seen a video demonstrating a DIY sampler based on one of these boards. |
Hello,
Thanks for sharing the great code.
I installed it and it works fine. I couldn't reach the number of voices, I think it's because of my old and slow SD card. I have 2 directories with samples, how do I switch between them? The samples are currently being played in the second directory.
Thanks for further developing the code
Andreas
The text was updated successfully, but these errors were encountered: