It looks like you're new here. If you want to get involved, click one of these buttons!
I have an issue, I have exceeded the number of parameters (I added around 20 new parameters that exceed 256) ,
how can we add more parameters?
I have an issue, I can't have more than 2 sub pages. Checking the code, I suppose it is normal as you only check if you have two pages.
how can we add more pages?
How can I help on completing the following code to get LED ON/OFF?
frontParser_updateTrackLeds(const uint8_t trackNr, uint8_t patternNr)
{
....
for(i=start;i<(start+8);i++) //only send visible substeps
{
if(seq_isStepActive(trackNr,i,patternNr))
{
uart_sendFrontpanelByte(FRONT_STEP_LED_STATUS_BYTE);
uart_sendFrontpanelByte(FRONT_LED_SEQ_SUB_STEP);
uart_sendFrontpanelByte(i);
}
}
}
}
One of my funcioin is randomizing the values of the drum.. but values are not refreshed on the LCD. How could we change this?
Looking at the code I think we should send back to the front panel (throught frontpanelparser and uart...)
Can you help?
that's it!!!!
:-)
Comments
when x is your value between -32767 and 32767,why not simply do a
float y = x/32767.f;
y would be a float between -1 and 1.
this could be complicated. I will have to look into it when I resume programming tomorrow.
Can't say it without a look into the code and today is too late for something like that
In the lates firmware the global settings menu has 3 sub pages. maybe have a look there. The menu structure has to be changed quite a bit for that in menu.c on the AVR
FLOAT
I will make some test about transforming the UINT16 figures to floats using your techniques :-)
I hope to deliver new FXs to the machine thanks to your trick ! I want as well to use the DSP math (LSR, LSL, QADD, etc...). let's see!
For adding the CC2 parameters, I agree , it can be a difficult part ! so I will understand if you can't for the moment change the code. There are other priorities and I have a workaround!
For the Subpages, I will check at the Global Setttings code, Thanks once more!
Have a nice day :-)
I agree with you and I am also wondering where we are :-)
I will give you updates on a regular basis.
* I would be very interested by your other projects, are they on github?
Right now, my main issue is translating UINT16 to FLOAT (-1.0 to +1.0) correctly. Undersand the MusicDSP algortihms, etc. I did some function to boost the bass, 3band EQ .. but the resulting sound is distorted !
That's really what is stopping me for the moment. Well, meanwhile I play with the LXR of course!!!
If you want you can stop reading my post here :-)
Otherwise, I put below much more details about my plans:
My philosophy is for the moment to write functions that answers my needs (I am selfish ;-) ) and release it early/often to get good ideas from the community (it helped me for the RND function for instance).
I don't want to reinvent the wheel nor develop something that LXR community could have already done:-)
I have to polish my current working function (the current functions are working but I am not happy when talking about refreshing values on the LCD display nor about SAVE. Anyhow, these issues are not showstoppers, I will correct them little by little).
Next, I would like to add sound design facilities and live oriented FX but my knowledge about coding is not as good as you think. I am more taking codes from other projects (open source, giving back the credits, etc) and reintegrate them into the LXR.
I am telling you this as I would like to develop some new effects but I am not sure I will succeed :-(
here is the functions I would like to add in the PERF menu:
- A delay*: I have assembly code from the excellent opensource Sound art chameleon machine
- A general filter or 3 band EQ.
- Step sequence on the delay / general filter
- Improve the OTO FX (I would like to use LSL/LSR arm assembly code instead of >> operator)
* delay can be difficult due to the limit size of the buf[i] and the way it is created (each time a step is active). we may need to create a large buffer that handles long effects. you see I am not very good :-)
well, I hope my english is not too much confusing and too verbose !
Bye :-)
"how many cycles are being used for specific operations"
-> I see, my code is not optimzied at all, I wanted first to make it work. Now I am looking at this isue (N cycle).. and this is why I would like to change my OTO fx to use assembly code -> LSR , LSL Logical shift bits, etc. I have however an issue calling from the C langage the command LSR. I can call QADD but not LSR. Looking at the ST libs , I saw that QADD is defined but not LSR.. SO I created some assembly code using LSR command and this work. SO I will continue to develop my new OTO FX using assembly code and check the number of cycles :-)
For the UINT_16.. I made a mistake in my english, I use INT16_T :-)
SO I guess the formula float f = 1.f - 2.f *( (float)i / 65535.f ); is not anymore relevant in my case, no?
would you mind giving me the new "float conversion" formula? I know I am chikky !!!
Have a nice day!
talk to you soon.