Giter Site home page Giter Site logo

Comments (9)

walterbender avatar walterbender commented on June 11, 2024

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.

pikurasa avatar pikurasa commented on June 11, 2024

Roger that!

from musicblocks.

walterbender avatar walterbender commented on June 11, 2024

Should be all set now.

from musicblocks.

pikurasa avatar pikurasa commented on June 11, 2024

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)
screenshot - 10142015 - 06-01-36 pm repeating blocks that have mix of osc-time does not seem to 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.

pikurasa avatar pikurasa commented on June 11, 2024

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.

walterbender avatar walterbender commented on June 11, 2024

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.

pikurasa avatar pikurasa commented on June 11, 2024

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.

walterbender avatar walterbender commented on June 11, 2024

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.

pikurasa avatar pikurasa commented on June 11, 2024

Works like a charm!

This is getting fun!

from musicblocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.