Comments (9)
I need to add a wait to the osc block.
On Oct 13, 2015 11:40 PM, "Devin Ulibarri" [email protected] wrote:
I tried what you see in the picture and the Hz sound overlapped the
repeated "sol" sound.[image: screenshot - 10132015 - 11-35-08 pm when osctime is inside an
action block it does not wait full duration before starting next]
https://cloud.githubusercontent.com/assets/13454579/10474326/69282f74-7203-11e5-8908-e26db5c7f20d.png.tb code is here:
[.tb start]
[[0,["action",{"collapsed":false}],114,90,[null,1,2,null]],[1,["text",{"value":"chunk0"}],208.5,99,[0]],[2,["note",{}],127.5,130.5,[0,3,4,7]],[3,["number",{"value":4}],199.5,130.5,[2]],[4,["pitch",{}],141,162,[2,5,6,null]],[5,["solfege",{"value":"sol"}],214.5,162,[4]],[6,["number",{"value":4}],214.5,193.5,[4]],[7,["note",{}],127.5,256.5,[2,8,9,12]],[8,["number",{"value":4}],199.5,256.5,[7]],[9,["pitch",{}],141,288,[7,10,11,null]],[10,["solfege",{"value":"mi"}],214.5,288,[9]],[11,["number",{"value":4}],214.5,319.5,[9]],[12,["note",{}],127.5,382.5,[7,13,14,20]],[13,["number",{"value":4}],199.5,382.5,[12]],[14,["pitch",{}],141,414,[12,15,16,null]],[15,["solfege",{"value":"re"}],214.5,414,[14]],[16,["number",{"value":4}],214.5,445.5,[14]],[17,["start",{"collapsed":false,"xcor":0,"ycor":0,"heading":0,"color":10,"shade":50,"pensize":5,"grey":100}],462,153,[null,18,null]],[18,["nameddo",{"value":"chunk0"}],475.5,193.5,[17,19]],[19,["nameddo",{"value":"chunk0"}],475.5,225,[18,null]],
[20,["os
ctime",{}],127.5,508.5,[12,21,22,null]],[21,["number",{"value":2}],205.5,508.5,[20]],[22,["sawtooth",{}],141,540,[20,23,null]],[23,["number",{"value":440}],226.5,540,[22]]]
[.tb end]—
Reply to this email directly or view it on GitHub
https://github.com/walterbender/musicblocks/issues/41.
from musicblocks.
Roger that!
from musicblocks.
Should be all set now.
from musicblocks.
I have cleared cache, deleted all blocks and tried...
However, I am getting a strange new bug.
The software does not seem to put play two chunks in a row that has a mix of osc-time and notes.
(What I tried in the following pic does not work)
[start .tb]
[[0,["start",{"collapsed":false,"xcor":0,"ycor":0,"heading":0,"color":10,"shade":50,"pensize":5,"grey":100}],704,340,[null,22,null]],[1,["action",{"collapsed":false}],100,100,[null,2,3,null]],[2,["text",{"value":"chunk"}],194.5,109,[1]],[3,["note",{}],113.5,140.5,[1,4,5,8]],[4,["number",{"value":4}],185.5,140.5,[3]],[5,["pitch",{}],127,172,[3,6,7,null]],[6,["solfege",{"value":"sol"}],200.5,172,[5]],[7,["number",{"value":4}],200.5,203.5,[5]],[8,["note",{}],113.5,266.5,[3,9,10,13]],[9,["number",{"value":4}],185.5,266.5,[8]],[10,["pitch",{}],127,298,[8,11,12,null]],[11,["solfege",{"value":"mi"}],200.5,298,[10]],[12,["number",{"value":4}],200.5,329.5,[10]],[13,["note",{}],113.5,392.5,[8,14,15,18]],[14,["number",{"value":4}],185.5,392.5,[13]],[15,["pitch",{}],127,424,[13,16,17,null]],[16,["solfege",{"value":"re"}],200.5,424,[15]],[17,["number",{"value":4}],200.5,455.5,[15]],[18,["osctime",{}],113.5,518.5,[13,19,20,null]],[19,["number",{"value":200}],191.5,518.5,[18]],[20,["sawtooth",{}],127,550,[18,21,null]],[21,["number",{"value":440}],212.5,550,[20]],[22,["nameddo",{"value":"chunk"}],717.5,380.5,[0,23]],[23,["nameddo",{"value":"chunk"}],717.5,412,[22,null]]]
[end .tb]
from musicblocks.
ACTUALLY...
It did play! Just about a minute or two later...
...and I could have swore it just played again on its own...
from musicblocks.
Are you on the experimental branch?
On Oct 14, 2015 6:08 PM, "Devin Ulibarri" [email protected] wrote:
ACTUALLY...
It did play! Just about a minute or two later...
...and I could have swore it just played again on its own...
—
Reply to this email directly or view it on GitHub
https://github.com/walterbender/musicblocks/issues/41#issuecomment-148217527
.
from musicblocks.
Yes, I am.
git checkout walter/experimental
Previous HEAD position was 483b0ed... osctime is a clamp now
HEAD is now at f4468c1... refactoring of osctime block: uses MS while note block uses 1, 2, 4, 8 etc.
from musicblocks.
Turns out that milleseconds are not the same as seconds. The doWait
function wants seconds, but I was passing it milleseconds with osctime
blocks. Pushed a fix.
On Wed, Oct 14, 2015 at 6:12 PM, Devin Ulibarri [email protected]
wrote:
Yes, I am.
git checkout walter/experimental
Previous HEAD position was 483b0ed
walterbender@483b0ed...
osctime is a clamp now
HEAD is now at f4468c1
walterbender@f4468c1...
refactoring of osctime block: uses MS while note block uses 1, 2, 4, 8 etc.—
Reply to this email directly or view it on GitHub
https://github.com/walterbender/musicblocks/issues/41#issuecomment-148218261
.
Walter Bender
Sugar Labs
http://www.sugarlabs.org
from musicblocks.
Works like a charm!
This is getting fun!
from musicblocks.
Related Issues (20)
- Widget Help Tour: Left Arrow Navigation Disabled Across Pages HOT 2
- Deprecation: The ScriptProcessorNode is deprecated. Should Use AudioWorkletNode instead. HOT 9
- Some images are not working in guide HOT 4
- There should be a 'How to Reproduce' section in the Issue Template
- Enhance Error Handling for localStorage in DOM Initialization HOT 3
- [CI] Extending CI Tests for macOS Platform HOT 3
- [Docs] Adding all documentation files in Docs/ HOT 7
- Help Button : Javascript editor HOT 2
- [CI] Extending Continuous Integration for Window
- Bug: Help Widget Centering Inconsistency on Left and Right Button Press HOT 2
- Incorrect Copyright Year in Comments HOT 1
- unescape() function has been deprecated HOT 3
- BUG : The Logo is not showing up on navbar HOT 1
- BUG : Logo is not there in navbar but popover text shows up HOT 1
- Unable to Find 'python' Command When Running 'npm run serve' HOT 4
- Block taking random input in tempo .
- On leaving menuitems palette menu does not gets removed. HOT 1
- Add new blocks: "≥", "≤"and "≠" HOT 1
- Undo actions HOT 7
- Optimize code in activity.js
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 musicblocks.