Comments (6)
In fact it could be that it will not work. To be honest I did not validate the Jukebox mode any more, since due to the storage limitation on Stardust probably no one is going to use it... on Prime you can, if you want to use it I need a bit of time to debug it. Is it urgent? I have a lot of other, more saber-critical improvements on my list to work on first.
Solution to the problem is probably simple though. But as far as I remember I could make it work for LED string sabers, not for neopixels though, and this mode is anyway somehow a nobrainer for Star LED setups.
from fx-saberos.
There is no rush, but I am using star led..
And yes on a stardust, you are very limited. I removed 2 fonts and add Duel Fates song. And that all fits. I mainly want it for a prime, when I order a new one or two that is. Might be next week I order that.
from fx-saberos.
I also tried to activate the Jukebox a while back and received the same error.
I'm not really interested in this to play the full song, but the first 30 seconds or so in order to set the scene. It would be perfect if you could double press whilst the saber's off to start the song, followed by a single click to ignite the blade. Song choice could possibly be chosen in the menu?
from fx-saberos.
Precisely my thought. I'm fine with 1 soundfont and 1 full song. Or 2 fonts and half a song. Specifically Duel Fates! All about scene setting for sure. We all have an mp3 player ;-)
from fx-saberos.
Wait and hope that this feature will work
from fx-saberos.
I hope this helps until there is an official fix.
I got it to work with the Stardust 3. I'm using a STAR_LED, so I commented out JukeBox_Stroboscope(); in FX-Saberos.ino
#ifdef STAR_LED
// JukeBox_Stroboscope();
#endif
I then had to modify Light.cpp as follows. (Changes in bold.)
#ifdef JUKEBOX
void JukeBox_Stroboscope(cRGB color) {
uint16_t variation = 0;
uint16_t temp_variation=0;
cRGB tempcolor;
for (uint8_t i=0; i<=SAMPLESIZEAVERAGE-1;i++) {
temp_variation=temp_variation + constrain(abs(analogRead(SPK1) - analogRead(SPK2)),0,512);
//Serial.println(abs(analogRead(SPK1) - analogRead(SPK2)));
}
variation=temp_variation/SAMPLESIZEAVERAGE;
// assumption -> variation max 280
//Serial.print("\t");Serial.println(variation);
#ifdef PIXELBLADE
for (uint16_t i = 1; i <= variation; i++) {
pixels.set_crgb_at(i, color);
}
tempcolor.r = 0;
tempcolor.g = 0;
tempcolor.b = 0; // RGB Value -> Off
for (uint16_t i = (variation)+1; i <= NUMPIXELS; i++) {
pixels.set_crgb_at(i, tempcolor);
}
pixels.sync();
#endif
}
#endif
from fx-saberos.
Related Issues (20)
- Flame effects HOT 2
- button HOT 3
- NPXL pcb wiring
- No sound - Speaker without amplifier or additional power? HOT 3
- hum loop cut HOT 1
- problem with the two buttons config
- Sound problem with the Config Mode HOT 2
- problem with arduino nano and mpu HOT 2
- Problem with the MP3-TF-16P sound HOT 4
- sound problems HOT 2
- Exceeds available space on Nano with DIYINO_PRIME and PIXELBLADE HOT 2
- Df player freezes and resets HOT 9
- Button HOT 4
- Boot sound not playing HOT 8
- Possible to change mainColor to being set by RGB sensor module? HOT 4
- Issue compiling HOT 1
- Crossguard Saber HOT 2
- Lockup on clash HOT 2
- No audio, button doesn't work, LED strip lights up red HOT 3
- Hum and development HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx-saberos.