You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
REQUEST: audio chip support Yamaha YM3812 and Commodore 6581 #1410
@rwaldron
I am clueless reading the ds_touch_slave digitalinput/outputs in javascript .
What i wanna do is mimic Pizzo functionality such as Play() so can interchange piezo for OPL2 without code rewrite.
var objPiezo_1; //piezo object
objPiezo_1_playing = true;
objPiezo_1.play({
song: "E - D - C - D - - E E E D D D - E - G ",
beats: 4 / 4,
tempo: 250});
objPiezo_1_playing = false
You've referenced two different approaches to SID. There's the sid-arduino-lib which is an emulator that uses nothing but an Arduino and the SIDuino i2c SID-emulator shield which is an I2C device that works with an Arduino.
If you want to use the sid-arduino-lib you might consider creating an I2C Component Backpack for Johnny-Five.
The SIDuino shield might be the easiest JS solution to implement as you can completely craft the i2c messages in node and push them over via the existing i2c write methods in firmata. The only thing I'm worried about is how many i2c messages you might need to send in short order. They can get jammed up. The code you would need to port is in siduino_midi_i2c.pde which can be found in a zip file on this page.
As for how to make it fit in the Johnny-Five class schema, a plug-in is the way to test the idea out and I don't think it's something that could ever fit under piezo as these devices can do so much more.
Johnny-Five contributors and maintainers are loathe to close issues where someone has a need. We don't want anyone to ever feel that we don't care, but we just don't know when someone will have the time to add this (admittedly very cool) new functionality. Rather than leave it languishing as an open issue we have created a Requested Features page and added a new class request for "Sound Generator/Synthesizer" there.
Op 11 jan. 2018, om 15:31 heeft Donovan Buck ***@***.***> het volgende geschreven:
Hi @pappavis <https://github.com/pappavis>
Johnny-Five contributors and maintainers are loathe to close issues where someone has a need. We don't want anyone to ever feel that we don't care, but we just don't know when someone will have the time to add this (admittedly very cool) new functionality. Rather than leave it languishing as an open issue we have created a Requested Features <x-msg://11/wiki/Requested-Features> page and added a new class request for "Sound Generator/Synthesizer" there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1410 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AOV4vm-xOYgv5SQYAbiRSWmaj3yM-fKuks5tJhtUgaJpZM4QSWWT>.
Activity
rwaldron commentedon Nov 20, 2017
@pappavis The code in piezo.js is not capable of producing actual tones, due to timing sensitive constraints and limitations of JavaScript itself. For new, more specific functionality I recommend first creating a plugin to prove out the idea; for example: https://github.com/rwaldron/j5-button-gestures or https://github.com/rwaldron/j5-ds-touch
pappavis commentedon Nov 20, 2017
Thanks! I'd hope to get SIDuino working in Johnny-five.
https://playground.arduino.cc/Main/SIDuinoI2c
and the library to "port" --> https://github.com/cybernesto/sid-arduino-lib
pappavis commentedon Nov 22, 2017
@rwaldron
I am clueless reading the ds_touch_slave digitalinput/outputs in javascript .
What i wanna do is mimic Pizzo functionality such as Play() so can interchange piezo for OPL2 without code rewrite.
I wanna play for example this --> https://github.com/DhrBaksteen/ArduinoOPL2/blob/master/examples/SimpleTone/SimpleTone.ino
[which isnt as straihtforward as your Pizzo play function]
In above example 2x libraries are included.
Furthermore.
How I think tot do it;
TIPS needed here;
dtex commentedon Jan 1, 2018
@pappavis
For the OPL2 you will need SPI which has been proposed but is not yet supported by firmata. Contributing to that proposal would be the first step for that device.
You've referenced two different approaches to SID. There's the sid-arduino-lib which is an emulator that uses nothing but an Arduino and the SIDuino i2c SID-emulator shield which is an I2C device that works with an Arduino.
If you want to use the sid-arduino-lib you might consider creating an I2C Component Backpack for Johnny-Five.
The SIDuino shield might be the easiest JS solution to implement as you can completely craft the i2c messages in node and push them over via the existing i2c write methods in firmata. The only thing I'm worried about is how many i2c messages you might need to send in short order. They can get jammed up. The code you would need to port is in siduino_midi_i2c.pde which can be found in a zip file on this page.
As for how to make it fit in the Johnny-Five class schema, a plug-in is the way to test the idea out and I don't think it's something that could ever fit under piezo as these devices can do so much more.
dtex commentedon Jan 11, 2018
Hi @pappavis
Johnny-Five contributors and maintainers are loathe to close issues where someone has a need. We don't want anyone to ever feel that we don't care, but we just don't know when someone will have the time to add this (admittedly very cool) new functionality. Rather than leave it languishing as an open issue we have created a Requested Features page and added a new class request for "Sound Generator/Synthesizer" there.
pappavis commentedon Jan 21, 2018