jmcc's picture
Jean Marie commented on video piglet's Composition, “FreakCity

The Calculate Amplitude for Frequencies node needs a continuous series of audio buffers to analyze; if you skip buffers there will be discontinuities in the audio signal; if it were audible there would be clicks/pops. In FreakCity, swapping the order (Receive Live Audio -> Calculate Amplitude for Frequencies -> Hold List) should give better analysis results.

jmcc's picture
Jean Marie commented on jersmi's Bug Report, “Crash Publishing Subcomp Ports

Thanks for letting us know. Right now we don't have enough information to figure out the problem. If you can give us a precise set of steps that always (or almost always) cause it to crash, including the composition and all its subcompositions, that would be of great help.

jstrecker's picture
Jaymie commented on 2bitpunk's Feature Request, “Receive Mouse Clicks on Layer

Here's Magneson's solution as a Receive Mouse Moves on Layer subcomposition for easy reuse. You could make a similar subcomposition for Receive Mouse Clicks on Layer.

Since that seems to solve the problem, I'll mark this feature request "Withdrawn".

jmcc's picture
Jean Marie commented on Paul's Bug Report, “USB camera ... no image

Paul,

Could you please send us the debug-mode-enabled console output when running a composition with that camera selected?

Enable:
defaults write org.vuo.Editor debug -boolean true

Disable:
defaults delete org.vuo.Editor debug

MartinusMagneson's picture
Magneson commented on kdm's Discussion, “Web Ticker/Counter to MIDI

Second issue first, you just feed the value from the Midi Event out to a Hold node, and retrigger its output at the rate you want on the event in on the hold node.

As for the first issue, the way these counters work is that they take whatever last updated count of what something was, and apply a calculation adding or subtracting a fragment of the daily change every tick. They are more of an art piece than an actual counter of sorts. So to be as efficient as possible, you can do the same and not bother about reading the details from the website! :D

To set up a tick per baby born per day for instance, you just use a divide node, and divide 86 400 (seconds in a day) by 385 000 (babies per day according to Google according to UN) and feed the result to a Fire Periodically node. It should be a tick every 224ms or around there somewhere. Remember to use a Fire on Start to trigger the calculation in the divide node going to the Fire Periodically, if not it will be set at its default rate.

To also keep it in sync with the page you can possibly use a Fetch Tree node from the webpage, making sure it pulls the starting number from the page every time you restart the composition (provided you have an internet connection). In Chrome, you can see what to look for in the tree by marking the text you want to find, right-click and inspect. From the code in the webpage, you should search for rts-counter, births today, and rts-nr-int; rts-nr-10e3 and rts-nr-10e0.

jersmi's picture
jersmi posted a new Bug Report, “Crash Publishing Subcomp Ports

Crash Publishing Subcomp Ports

jersmi's picture

Status: 

How severely does this bug affect you?: 

●●○○ — It's annoying but I can work around it.

Steps causing the bug to occur: 

  1. Package up some nodes into a subcomposition
  2. Publish some ports

Have you found a workaround?: 

No.

Other notes: 

Lots of crashing with sub comps, this is just the latest, reporting after the third attempt.

Crash report:

Process:               Vuo [83119]
Path:                  /Applications/Vuo.app/Contents/MacOS/Vuo
Identifier:            org.vuo.editor
Version:               2.3.0.11546 (2.3.0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Vuo [83119]
User ID:               501

Date/Time:             2021-04-16 00:05:33.299 -0700
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Anonymous UUID:        43A67528-DE08-7AEF-96F9-5AB2819C6E2A

Sleep/Wake UUID:       954EFC63-845B-408C-9CF0-CDFEE431DF64

Time Awake Since Boot: 530000 seconds
Time Since Wake:       48000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00001906f9774b60
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [83119]

VM Regions Near 0x1906f9774b60:
    GPU Carveout (reserved)    1000000000-7000000000   [384.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
--> 
    MALLOC_NANO              600000000000-600008000000 [128.0M] rw-/rwx SM=PRV  

Application Specific Information:
t=166.8629s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete cable ShareValue5:sameValue -> 
t=166.9040s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=166.9929s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=166.9991s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [93d15650] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=174.0220s    VuoCommandPublishPort.cc:122                                      redo()  jersmi.drumHiHat.vuo:      Publish input port 'NAttack'
t=174.0768s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=174.1679s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=174.1743s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [e18b219c] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=178.8665s    VuoCommandPublishPort.cc:122                                      redo()  jersmi.drumHiHat.vuo:      Publish input port 'NAttack'
t=178.9348s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=179.0223s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=179.0286s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [6d948df2] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=181.4303s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete node ShareValue5
t=181.4693s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=181.5690s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=181.5752s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [dbcecd56] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo
t=185.7630s         VuoCommandRemove.cc:310                                      redo()  jersmi.drumHiHat.vuo:      Delete node LogRange8, cable MakeDictionary28:dictionary -> LogRange8:values, cable MakeList122:list -> MakeDictionary28:keys, cable MakeList60:list -> MakeDictionary28:values
t=185.8029s              VuoCompiler.cc:1666  compileModulesFromSourceCode_block_invoke  Compiling jersmi.drumHiHat
t=185.8982s              VuoCompiler.cc:3330                    loadModulesAndSources()  Removed from composition-local environment: jersmi.drumHiHat
t=185.9043s              VuoCompiler.cc:3419                    loadModulesAndSources()  Loaded into composition-local environment:  [3ed56e48] /Users/jersmi/Desktop/VUO/Modules/jersmi.drumHiHat.vuo

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.vuo.framework               0x0000000104742ffc VuoCompilerPort::getDataVuoType() + 44
1   org.vuo.framework               0x00000001046f7948 VuoCompilerComposition::checkForMissingTypes(VuoCompilerIssues*) + 204
2   org.vuo.framework               0x00000001046f7130 VuoCompilerComposition::check(VuoCompilerIssues*) + 36
3   org.vuo.editor                  0x0000000104188920 VuoEditorWindow::updateUI() + 1060
4   org.qt-project.QtCore           0x0000000106042010 QMetaObject::activate(QObject*, int, int, void**) + 1892
5   org.qt-project.QtCore           0x0000000106042010 QMetaObject::activate(QObject*, int, int, void**) + 1892
6   org.vuo.editor                  0x00000001041eac0c VuoPanelDocumentation::event(QEvent*) + 92
7   org.qt-project.QtWidgets        0x0000000104e77478 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292
8   org.qt-project.QtWidgets        0x0000000104e78764 QApplication::notify(QObject*, QEvent*) + 640
9   org.qt-project.QtCore           0x000000010601cddc QCoreApplication::notifyInternal2(QObject*, QEvent*) + 204
10  org.qt-project.QtCore           0x000000010601db38 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 528
11  libqcocoa.dylib                 0x000000010fc26ef4 0x10fc00000 + 159476
12  libqcocoa.dylib                 0x000000010fc27678 0x10fc00000 + 161400
13  com.apple.CoreFoundation        0x00000001a1584c14 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
14  com.apple.CoreFoundation        0x00000001a1584b60 __CFRunLoopDoSource0 + 208
15  com.apple.CoreFoundation        0x00000001a158484c __CFRunLoopDoSources0 + 268
16  com.apple.CoreFoundation        0x00000001a15831e4 __CFRunLoopRun + 824
17  com.apple.CoreFoundation        0x00000001a1582740 CFRunLoopRunSpecific + 600
18  com.apple.HIToolbox             0x00000001a90a75c4 RunCurrentEventLoopInMode + 292
19  com.apple.HIToolbox             0x00000001a90a73f4 ReceiveNextEventCommon + 688
20  com.apple.HIToolbox             0x00000001a90a7124 _BlockUntilNextEventMatchingListInModeWithFilter + 76
21  com.apple.AppKit                0x00000001a3d5c82c _DPSNextEvent + 868
22  com.apple.AppKit                0x00000001a3d5b1ac -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1312
23  com.apple.AppKit                0x00000001a3d4d060 -[NSApplication run] + 600
24  libqcocoa.dylib                 0x000000010fc26650 0x10fc00000 + 157264
25  org.qt-project.QtCore           0x0000000106019508 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 396
26  org.qt-project.QtCore           0x000000010601d2f8 QCoreApplication::exec() + 112
27  org.vuo.editor                  0x00000001040b6774 main + 1836
28  libdyld.dylib                   0x00000001a14a5f34 start + 4
kdm's picture
kdm posted a new Discussion, “Web Ticker/Counter to MIDI

Web Ticker/Counter to MIDI

kdm's picture

Hi

Thanks to all the community here - am a new(ish) user leaning heavily on the work of others, all of which is appreciated!

So I'm trying to do something that seemed like an easy task, but failing.

I'm trying to send a MIDI note on every change of one of the ticker/counters from https://www.worldometers.info/. Composition attached. I've taken the approach of Motion Detection and tried to butcher it to my needs.

Two issues:

jersmi's picture
jersmi posted a new Feature Request, “Audio Tools (and Resource Management)

Audio Tools (and Resource Management)

jersmi's picture

Having spent a bit more time with Vuo's audio tools, I see some real potential. This is a two-part feature request in the spirit of "more better audio".

First request: take a second look at how Vuo manages computer resources regarding audio. For example, dropping frames in video can go unnoticed, whereas when audio hits the limit with distortion, drop-outs, etc., it is immediately disruptive. Right now Vuo feels a little fragile/volatile when pushing these limits. (There is also no current way to monitor when Vuo is getting close to resource limits).

Is there a way to optimize resource management to stabilize audio? Could Vuo, for example, take better advantage of multicore processing for audio (and perhaps even get better performance with audio + visuals)? (To be fair, my experiments have been with Vuo's audio synthesis tools -- these by nature are more resource heavy for real-time processing. Audio-file or sample-based approaches would perform better.)

Audio Units? I don't know if this would even be possible -- what about internal access to Apple's built-in audio units? That would cover a lot of ground with the basics. Do these translate at all to Vuo? Audio units of course would open the door to MIDI instruments, but that really takes it another direction, and the issues with resource management become even more important. But it would be cool.

If not, I'd vote for a couple built-in basic audio effects:

Spatial tools -- Reverb and delay. First choice. Besides making musical sounds more pleasing, consider interactivity -- for example, in game engines like Unreal Engine or Unity one can assign reverb to some sound element to make it seem far or close.

Second on the list of priorities, more EQ (filtering) and tools for dynamics (compressor/limiter).

More -- saturation/distortion, chorus/flanger/phaser.

Component: 

pbourke's picture
Paul posted a new Bug Report, “USB camera ... no image

USB camera ... no image

Status: 

Vuo version: 

OS version: 

  • macOS 10.15

How severely does this bug affect you?: 

●●●○ — It prevents me from completing a specific task with Vuo.

Steps causing the bug to occur: 

  1. No image from USB camera.

Have you found a workaround?: 

No

Other notes: 

I have UC80MPA USB video camera from Spinel. https://www.spinelelectronics.com/pdf/UC80MPA%20Specification.pdf It registers itself correctly "8M USB Camera". Works in Skpye, for example. But I don't get an image in Vuo. Tested in version 2.3 and 2.2.1 Ideas?

Pages

Welcome!

Vuo is more than nodes and cables, it's a community! Feel free to browse or add your voice.

Browse Discussions

Start a Discussion


Browse Feature Requests

Suggest a Feature


Browse the Composition Gallery

Share a Composition


How can I get notifications?

Learn more about the community

Learn more about Vuo

Vuo Announcements

Sign up for the Vuo announcements mailing list to get news and join the community. We post about once per month.