-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreqScope doesn't work #1527
Comments
Hmm - so, one problem is, this is referencing Scope instead of SCScope, which is what that class is named currently. The SCScope name is probably wrong, and.... possible needs to be named Scope instead? And, beyond that, it's picking to use Scope versus ScopeView based on shmScopeAvailable, which in turn is checking: I believe the proper fix for this is:
@ceremona - Want to give the above changes (1 & 2) a go, and see if it fixes scope for both local and internal servers - if it does, make a pull request! |
Sorry. My SC foo is not strong enough to understand what you are saying for step 1. |
ok, submitted a PR for this. test:
|
Fixed by fa6c53b |
Running 10.8 OSX
s=Server.internal;
s.boot;
FreqScope(server:s)
Leads to:
-> internal
booting internal
Found 0 LADSPA plugins
Number of Devices: 13
0 : "Built-in Microph"
1 : "Built-in Output"
2 : "Soundflower (2ch)"
3 : "Soundflower (64ch)"
4 : "Premiere Pro 7.0"
5 : "Instant On Sound Effects"
6 : "Default IN/OUT"
7 : "iMic In / System Out"
8 : "Scarlett In / System Out"
9 : "RC-505 In/System Out"
10 : "Scarlet In/Bluetooth Out"
11 : "System In / Scarlett Out"
12 : "Steinberg In/Out"
"Built-in Microph" Input Device
Streams: 1
0 channels 2
"Built-in Output" Output Device
Streams: 1
0 channels 2
SC_AudioDriver: sample rate = 96000.000000, driver's block size = 512
-> internal
Receiving notification messages from server internal
Shared memory server interface initialized
Execution warning: Class 'Scope' not found
ERROR: Message 'new' not understood.
RECEIVER:
nil
ARGS:
Instance of Window { (0x115ac38a8, gc=58, fmt=00, flg=00, set=03)
instance variables [5]
resizable : false
drawFunc : nil
view : instance of TopView (0x11a2bbef8, size=35, set=6)
acceptsClickThrough : false
currentSheet : nil
}
Instance of Rect { (0x11a1b3be8, gc=54, fmt=00, flg=00, set=02)
instance variables [4]
left : Integer 30
top : Integer 14
width : Integer 522
height : Integer 300
}
CALL STACK:
DoesNotUnderstandError:reportError 0x115979d38
arg this =
Nil:handleError 0x1159a8ae8
arg this = nil
arg error =
Thread:handleError 0x11597d958
arg this =
arg error =
Object:throw 0x11597cd98
arg this =
Object:doesNotUnderstand 0x11597baf8
arg this = nil
arg selector = 'new'
arg args = [_2]
FreqScopeView:initFreqScope 0x115268ef8
arg this =
arg parent =
arg bounds =
arg argServer =
Meta_FreqScope:new 0x11a0773d8
arg this =
arg width = 522
arg height = 300
arg busNum = 0
arg scopeColor =
arg bgColor = nil
arg server =
var rect =
var scope = nil
var window =
var pad = [_4]
var font =
var freqLabel = [_12]
var freqLabelDist = 47.454545454545
var dbLabel = [_17]
var dbLabelDist = 18.75
var setFreqLabelVals =
var setDBLabelVals =
var nyquistKHz = 48
Interpreter:interpretPrintCmdLine 0x11552b6b8
arg this =
var res = nil
var func =
var code = "FreqScope(server:s)"
var doc = nil
var ideClass =
Process:interpretPrintCmdLine 0x115ab16e8
arg this =
^^ The preceding error dump is for ERROR: Message 'new' not understood.
RECEIVER: nil
The text was updated successfully, but these errors were encountered: