
Steve Thurston
Australia
Asked

How do I load an audio file in blocky?
All I get is a small white line when I try to load an audio file.
I am using ARC-Beta-2020-03-19-00-19052
Thanks
Steve
Related Hardware LattePanda
Related Control
Soundboard (PC)
the Blockly will see it.
I tried loading Sound Board (PC) and adding 2 mp3s prior to asking blocky question, but that just loads individual sound files, it doesnt ask for a sound file directory.
Steve
then you see
there you put all audio in.
Thanks Nomad
It needs the soundboard ezb, not soundboard pc
Blocky/Audio now lists the audio files loaded in ezb but not pc soundboard.
User error as usual lol
:D:D
soundboard ezb comming out ezbv4 /sayezb(" hello steve ")
and thanks for making my day:D
I'm running
LattePanda with Arduino Leonardo - (EZ-Genuino_Leonardo-636967356658216814.zip)
Arduino mega on 2nd com port - (EZ-Mega-v1-636848729355769322.zip)
ARC - (2020-03-19)
Hence why I loaded Soundboard PC
Oh well
I'll try playing a sound in ezscript tomorrow
Thanks again for your help mate.
I'm finding more and more reasons to use my EZB or IoTiny over Arduino
someone chall chime in and help you.you can post pics and link,
off the led strips you want to use . that will help others .
Arduino’s are not powerful enough to play streaming audio like the ezb can.
if you go the route of an ezb, connect it to the latte panda so you don’t require the WiFi and therefore get faster response.
Yer with the searching Ive done I figured Id have you use arduino for 2812b leds.
I see there is a neoblaster control for ARC, does that work ok?
Shame I cant find flexible neoblasters.
Hi DJ
Ive been playing a little bit with Soundboard PC, I take it I can point to the sounds I load in soundboard pc from ezscript (or use a path/filename) line of code.
Ill have a tinker tonight after work
Simply right click in the editor and all of the control commands will be presented. You can click here on the word ControlCommand to read what that means.
It's nice that way
I would have deleted ezscript in ARC if there weren't so many projects depending on it. PTP had mentioned a translator from ezscript to javascript, but i did consider it... however, it'd be more work than its worth and may not actually work fully lol
I played a lil with EZ-Script tonight (to playing PC sounds)
Seems pretty cool to me, I tried pointing to filename, and using ControlCommand pointing to sounds loaded in the Soundboard PC. I'll stick with the Soundboard way for ease of testing/changing sounds. Got me pretty excited actually lol :-)
I can hear you laughing now - Noob! lol
I guess I should look into learning java (recommended by a pro) :-)
but us old farts dont learn as quick as we use too :-(
Thanks again for your help and advice
DJ, I can only imagine the work that would go into a EZ Script to Java Script conversion tool. I don't blame you for not wanting to undertake such a chore and especially if you don't know if it would even work 100%. God (and you) only knows what is going on behind the curtain of EZ Script. If there were such a tool it would help make learning JavaScript (for us stuck in EZ Script) a lot quicker and easier. I do want to learn and need to find a good place for the computer language functional illiterate like me to get started.
You can play the soundboard with JavaScript and audio files as well. It’s the same functionality, just with more features and much much faster. Over 10x faster
but, as I said, ezscript isn’t going away anytime soon so you can continue using it - don’t be surprised if you come across weird legacy bugs... I mean features haha
I like bacon, I'm even more confused now.
Slightly off topic, bug hay, why not.
SCRIPT it is.
For now I guess I'll take the EZ- way.
Bugs, hmmm, everyone needs protein
Sorry JD, couldn't resist :-)
What is a programming language
A programming language provides you the ability to create a list instructions and operations. The computer executes the instructions in a linear list from top to bottom. If there's an instruction that loops, it continues to run those instructions within the loop until a condition is met. It's that simple. If the instruction is a condition (i.e. IF X = 1), then the instructions within that condition are executed.
How Do They Differ
The difference in the name has to do with the syntax. Just like the syntax between german, english and polish. All of those languages have words for different things, but those words are different. That's the same as programming languages. Talking about C++ and C, even though they both have C in their name, use different words for things. The same applies to JavaScript and Java. The language itself uses different words for instructions, and different formats. The only reason Java and JavaScript have similar names is from a legacy coincidental scenario that happened a long time ago and is irrelevant to how they work.
It's That Easy
It's seriously simple as just a different language of words. Just like a real spoken language. That's why they're called PROGRAMMING LANGUAGES. Because it's a language, with words :). The words are different per language.